/*
Theme Name: Hedron
Theme URI: 
Author: Vishit Shah
Author URI: https://profiles.wordpress.org/vishitshah/
Description: A lightweight WordPress full-site-editing theme for blog.
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Version: 1.0.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hedron
Tags: blog, portfolio, education, one-column, custom-logo, full-site-editing, block-patterns, featured-images, style-variations, threaded-comments, translation-ready, block-styles
*/

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}
.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.wp-block-comment-content a {
    text-decoration: underline !important;
}

.wp-block-comment-content a:hover {
    text-decoration: underline !important;
}



/* Tabela */
.table-contemplados {
  width: 100%;
  border-collapse: collapse;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
}

/* Cabeçalho azul */
.table-contemplados thead th {
  background: #0057d8;
  color: #fff;
  padding: 12px 10px;
  text-align: left;
  font-weight: 600;
  border-right: 1px solid rgba(255,255,255,0.2);
}

.table-contemplados thead th:last-child {
  border-right: none;
}

/* Linhas do corpo – listras alternadas azuis */
.table-contemplados tbody tr:nth-child(odd) {
  background: #ffffff;
}

.table-contemplados tbody tr:nth-child(even) {
  background: #e8f0ff;
}

/* Hover da linha */
.table-contemplados tbody tr:hover {
  background: #d0e0ff;
}

/* Células */
.table-contemplados td {
  padding: 10px;
  border-bottom: 1px solid #dde5ff;
  vertical-align: middle;
  color: #1f2a44;
}

/* 1ª coluna (logo da admin) centralizada */
.table-contemplados td:first-child,
.table-contemplados th:first-child {
  text-align: center;
}

/* Valores em negrito (Crédito/Entrada/Parcela) */
.table-contemplados td:nth-child(4),
.table-contemplados td:nth-child(5),
.table-contemplados td:nth-child(7) {
  font-weight: 600;
}

/* Coluna "Disponibilidade" (última) */
.table-contemplados td:last-child {
  text-align: center;
}

/* Botão de status */
.table-contemplados .btn-status {
  display: inline-block;
  min-width: 110px;
  padding: 8px 14px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  color: #fff;
  text-decoration: none;
}

/* Reservar (verde) */
.table-contemplados .btn-reservar {
  background: #00a65a;
}

/* Logo admin 30x30 */
.table-contemplados .admin-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: inline-block;
}

/* Célula de ações (olho + Reservar) */
.fb-acao-cell {
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
}

/* Botão olho */
.btn-olho {
  background: #ffffff;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 16px;
  cursor: pointer;
  color: #1f2a44;
}

/* Header topo e filtros com mesma margem de 200px */
.fb-header-top,
.fb-filtros {
  width: calc(100% - 400px);
  margin: 0 auto;
  box-sizing: border-box;
}

/* Header topo */
.fb-header-top {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fb-header-top img.fb-logo-ia {
  max-height: 80px;
  width: auto;
}

.fb-header-top .btn-voltar {
  display: inline-block;
  padding: 10px 20px;
  background: #0057d8;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
}

.fb-header-top .btn-voltar:hover {
  background: #003f9e;
}

/* Filtros */
.fb-filtros {
  padding: 0 0 10px 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fb-filtros-form {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.fb-filtro-esq,
.fb-filtro-dir {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fb-filtros label {
  font-size: 13px;
  font-weight: 600;
  color: #1f2a44;
}

.fb-filtros select {
  padding: 8px 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  min-width: 220px;
  font-size: 14px;
}

/* Modal */
.fb-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

.fb-modal-content {
  background-color: #ffffff;
  margin: 6% auto;
  padding: 20px 24px;
  border-radius: 6px;
  max-width: 480px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2a44;
}

.fb-modal-content h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: #0057d8;
}

.fb-modal-content p {
  margin: 6px 0;
  font-size: 14px;
  border-bottom: 1px solid #e8f0ff;
  padding-bottom: 6px;
}

.fb-modal-content p:last-of-type {
  border-bottom: none;
}

.fb-modal-close {
  float: right;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  color: #0057d8;
}

.fb-modal-actions {
  margin-top: 16px;
  text-align: right;
}
