/* ========== VARIÁVEIS & RESET ========== */
:root {
  --azul-primario: #2A4365;
  --azul-secundario: #3182CE;
  --cinza-suave: #EDF2F7;
  --branco: #FFFFFF;
  --destaque-ativo: #4299E1;
  --sombra-suave: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --borda-arredondada: 12px;
  --transicao-padrao: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --bs-primary: #26ABA3;
  --bs-dark: #293039;
  --bs-body-color: #51565D;
  --primary-color: #4a76a8;
  --secondary-color: #f5f7fa;
  --danger-color: #e74c3c;
  --success-color: #2ecc71;
  --warning-color: #f39c12;
  --text-color: #333;
  --light-gray: #e0e0e0;
  
}

/* ========== LAYOUT GERAL ========== */


.container-psicologos {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 0;
}

section {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ========== BANNERS ========== */
.banner, .banner-psicologos {
  background: linear-gradient(45deg, rgba(42, 67, 101, 0.9) 30%, rgba(49, 130, 206, 0.7) 100%),
              url('../assets/imagens/banner.png') center bottom/cover;
  height: 60vh;
  min-height: 400px;
  margin-top: 76px;
  display: flex;
  position: relative;
  overflow: hidden;
  background-position: center 30%;
}

.banner-psicologos {
  background-image: linear-gradient(45deg, rgba(42, 67, 101, 0.95), rgba(49, 130, 206, 0.85)),
                    url('../assets/imagens/banner-psicologos.jpg');
  padding: 8rem 0 6rem;
}

.banner .container, .banner-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--branco);
}

.titulo-principal, .banner h1 {
  position: relative;
  top: -25px;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  line-height: 1.2;
}

.subtitulo-banner, .banner p {
  position: relative;
  top: -25px;
  font-size: 1.4rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-weight: 300;
  opacity: 0.95;
}

.destaque-banner {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 4rem;
}

.destaque-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255,255,255,0.1);
  padding: 1rem 2rem;
  border-radius: 50px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.2);
}

.icone-destaque {
  width: 28px;
  height: 28px;
  color: var(--branco);
}

.botao {
  background: var(--bs-primary);
  color: var(--branco);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.botao:hover {
  background: var(--azul-secundario);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== SEÇÕES DE CONTEÚDO ========== */
.sobre, .sac {
  padding: 80px 0;
  background: var(--branco);
}

.sobre h2, .sac h2 {
  font-size: 2.5rem;
  color: var(--azul-primario);
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.sobre h2::after {
  content: '';
  width: 60px;
  height: 3px;
  background: var(--azul-secundario);
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.sobre p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4A5568;
  max-width: 800px;
  margin: 2rem auto;
  text-align: center;
}

.beneficios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.beneficio-item {
  background: var(--cinza-suave);
  padding: 2rem;
  border-radius: var(--borda-arredondada);
  text-align: center;
  transition: var(--transicao-padrao);
  border: 1px solid #E2E8F0;
}

.beneficio-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra-suave);
}

.icone {
  display: inline-block;
  width: 60px;
  height: 60px;
  background: var(--azul-primario);
  border-radius: 50%;
  color: var(--branco);
  font-size: 1.5rem;
  line-height: 60px;
  margin-bottom: 1.5rem;
}

/* ========== TERAPIA ONLINE ========== */
.terapia-online {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 80px 0;
  background: var(--cinza-suave);
}

.conteudo-terapia {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
}

.conteudo-terapia h2 {
  font-size: 2.2rem;
  color: var(--azul-primario);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.imagem-terapia {
  height: 100%;
  border-radius: var(--borda-arredondada);
  overflow: hidden;
  box-shadow: var(--sombra-suave);
}

.imagem-terapia img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.imagem-terapia:hover img {
  transform: scale(1.05);
}

/* ========== FAQ ========== */
.faq-item {
  margin-bottom: 1rem;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.faq-item.ativo {
  border-color: var(--azul-secundario);
  box-shadow: var(--sombra-suave);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: var(--cinza-suave);
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--azul-primario);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #e2e8f0;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.ativo .faq-question::after {
  content: '-';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.5rem;
}

.faq-item.ativo .faq-answer {
  max-height: 500px;
  padding: 1.5rem;
}

/* ========== CARDS DE PSICÓLOGOS - VERSÃO REFINADA ========== */
#psicologos-container,
.psychologists-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* ========== CARDS DA PÁGINA INICIAL ========== */
#psicologos-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
  justify-items: center;
}

.card-psicologo {
  position: relative;
  background: var(--branco);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(42, 67, 101, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-clickable {
  cursor: pointer;
  padding: 1.5rem;
  flex-grow: 1;
}

.card-psicologo:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.foto-psicologo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 2px solid var(--azul-secundario);
}

.card-psicologo .card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.8rem;
}

.nome-psicologo {
  color: var(--azul-primario);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.card-psicologo .detalhes-psicologo {
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.5;
}

.card-psicologo .detalhes-psicologo p {
  margin-bottom: 0.5rem;
}

.especialidades {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0 1rem;
}

.especialidade-item {
  background: rgba(49, 130, 206, 0.08);
  color: var(--azul-secundario);
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.botao-contato {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #25D366;
  color: white !important;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  margin: 0 auto;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.2);
}

.botao-contato:hover {
  background: #128C7E;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(18, 140, 126, 0.3);
}

.whatsapp-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  margin-right: 4px;
  vertical-align: middle;
  transform: translateY(-1px);
}

/* ========== CARDS DA LISTA DE PSICÓLOGOS ========== */
.psychologists-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.psychologist-card {
  background: var(--branco);
  border-radius: var(--borda-arredondada);
  box-shadow: var(--sombra-suave);
  display: flex;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(42, 67, 101, 0.08);
  overflow: hidden;
}

.psychologist-card h4{
	font-size:18px;
}
.audience-tags{
	font-size:14px;
}

.psychologist-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.psychologist-card .card-header {
  flex: 0 0 280px;
  position: relative;
}

.psychologist-card .profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-right: 3px solid var(--azul-secundario);
}

.psychologist-card .card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}


.psychologist-header {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.psychologist-name {
  color: var(--azul-primario);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.psychologist-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0.3rem 0;
}


.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #4a5568;
}

.meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--azul-secundario);
}

.specialty-tags-container {
  margin: 0.5rem 0;
}

.specialty-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.3rem 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.specialty-tag {
  background: rgba(49, 130, 206, 0.08);
  color: var(--azul-secundario);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid rgba(49, 130, 206, 0.3);
  white-space: nowrap;
  line-height: 1.2;
}

.specialty-tag:hover {
  background: var(--azul-secundario);
  color: var(--branco);
}

.presentation-container {
  margin: 0.5rem 0;
  position: relative;
}

.presentation {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #4a5568;
  margin-bottom: 0.8rem;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.btn-agendar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--azul-primario);
  color: white !important;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  margin-top: 0.5rem;
  width: fit-content;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(42, 67, 101, 0.2);
}

.btn-agendar:hover {
  background: var(--azul-secundario);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(49, 130, 206, 0.3);
}

.btn-agendar svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: white;
}

/* ========== BOTÕES VER MAIS ========== */
.ver-mais-btn {
  display: none;
  position: relative;
  color: var(--azul-secundario);
  font-size: 0.85rem;
  font-weight: 600;
  background: none;
  border: none;
  padding: 0.3rem 0;
  margin-top: 0.3rem;
  cursor: pointer;
  z-index: 2;
}

.ver-mais-btn.especialidades {
  display: inline-block;
  width: auto;
  margin-left: auto;
}

.ver-mais-btn:not(.especialidades) {
  position: absolute;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, var(--branco) 30%);
  padding-left: 30px;
}

/* ========== RESPONSIVIDADE (CELULAR) - LISTA DE PSICÓLOGOS ========== */
@media (max-width: 768px) {

  .psychologist-card {
    flex-direction: column;
    width: 100%;
    flex-wrap: wrap; /* permite quebra de linha */
  }

  .psychologist-card .card-header {
    flex: none;
    width: 100%;
    height: 220px; /* controla o tamanho da imagem */
  }

  .psychologist-card .profile-photo {
    height: 100%;
    border-right: none;
    border-bottom: 3px solid var(--azul-secundario);
  }

  /* Conteúdo interno */
  .psychologist-card .card-content {
    padding: 1.2rem;
  }

  .psychologist-name {
    font-size: 1.15rem;
    text-align: left;
  }

  .psychologist-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .meta-item {
    font-size: 0.9rem;
  }
  div.specialty-tags.expanded{
    height: inherit !important; /* evita bloco gigante */
    max-height: inherit !important; /* evita bloco gigante */
  }
  .presentation p{
    height: 120px; /* evita bloco gigante */
    min-height: 120px; /* evita bloco gigante */
    max-height: 120px; /* evita bloco gigante */
  }
  .presentation.expanded p{
    height: inherit !important; /* evita bloco gigante */
    min-height: inherit !important; /* evita bloco gigante */
    max-height: inherit !important; /* evita bloco gigante */
  }

  /* Tags */
  .specialty-tags {
    max-height: 78px; /* evita bloco gigante */
  }

  .specialty-tag {
    font-size: 0.75rem;
    padding: 0.35rem 0.7rem;
  }

  /* Botões "ver mais" aparecem */
  .ver-mais-btn {
    display: inline-block;
  }

  .ver-mais-btn.especialidades {
    margin-top: 0.5rem;
  }

  /* Texto "Sobre o profissional" */
  .presentation {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  /* Botão de agendamento */
  .psychologist-actions {
    margin-top: 1.2rem;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .botao-contato {
    width: 100%;
    text-align: center;
    padding: 0.9rem;
    font-size: 1rem;
    border-radius: 10px;
  }

}


/* ========== FILTROS ========== */
.search-container {
  background: var(--branco);
  padding: 1.5rem;
  border-radius: var(--borda-arredondada);
  box-shadow: var(--sombra-suave);
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.search-container::before {
  content: '🔍 Filtre os Resultados';
  position: absolute;
  top: -20px;
  left: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bs-dark);
}

#search, .search-container select {
  padding: 0.8rem;
  border: 2px solid var(--cinza-suave);
  border-radius: 8px;
  font-size: 0.95rem;
  transition: var(--transicao-padrao);
}

#search {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%232A4365" width="24" height="24"><path d="M10 18a7.952 7.952 0 0 0 4.897-1.688l4.396 4.396 1.414-1.414-4.396-4.396A7.952 7.952 0 0 0 18 10c0-4.411-3.589-8-8-8s-8 3.589-8 8 3.589 8 8 8zm0-14c3.309 0 6 2.691 6 6s-2.691 6-6 6-6-2.691-6-6 2.691-6 6-6z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 18px;
}

.search-container select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 14px;
}

#btn-filtrar, #clear-filters {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transicao-padrao);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  font-size: 0.95rem;
  
  
}

#btn-filtrar {
  background: var(--bs-primary);
  color: var(--branco);
}

#btn-filtrar:hover {
  background: var(--bs-primary);
  transform: translateY(-2px);
}

#clear-filters {
  background: var(--);
  color: var( --bs-dark);
  border: 2px solid var(--cinza-suave);
}

#clear-filters:hover {
  background: var(--branco);
  border-color: var(--bs-primary);
  color: var(--bs-dark);
}

/* ========== PAGINAÇÃO ========== */
.pagination-container {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.page-btn {
  padding: 0.5rem 0.8rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #f8f9fa;
  color: #2c3e50;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.9rem;
}

.page-btn:hover:not(.active) {
  background: #e9ecef;
  transform: translateY(-1px);
}

.page-btn.active {
  background: var(--azul-secundario);
  color: white;
  border-color: var(--azul-secundario);
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ========== MENSAGENS DE STATUS ========== */
.error-message, .no-results, .info-message, .loading-message {
  text-align: center;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.error-message, .no-results {
  background: #f8f9fa;
  color: #dc3545;
}

.info-message {
  background: #e7f3fe;
  color: #31708f;
  border: 1px solid #bce8f1;
}

.loading-message {
  color: #666;
  font-style: italic;
}

.retry-button, .clear-filters-button {
  padding: 0.6rem 1.2rem;
  background: #4a76a8;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.retry-button:hover, .clear-filters-button:hover {
  background: #3a5f8a;
  transform: translateY(-1px);
}

/* ========== FOOTER ========== */
footer {
  background: var(--azul-primario);
  color: var(--branco);
  padding: 2rem 0;
  text-align: center;
}

footer p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
}

/* ========== RESPONSIVIDADE ========== */
@media (max-width: 1024px) {
  .beneficios, .terapia-online {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 1.5rem auto;
  }
  
  .imagem-terapia {
    height: 350px;
    order: -1;
  }
  
  .banner h1, .titulo-principal {
    font-size: 2.5rem;
  }
  
  .banner p, .subtitulo-banner {
    font-size: 1.2rem;
  }
  
  .psychologist-card {
    flex-direction: row;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .card-header {
    flex: 0 0 250px;
  }
  
  .profile-photo {
    max-height: 250px;
  }
}


@media (max-width: 480px) {
  .banner, .banner-psicologos {
    height: 45vh;
    min-height: 250px;
  }
  
  .banner h1, .titulo-principal {
    font-size: 1.8rem;
  }
  
  .banner p, .subtitulo-banner {
    font-size: 1rem;
  }
  
  .destaque-item {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
  
  .psychologist-card .card-content {
    padding: 1rem;
  }
  
  .psychologist-name {
    font-size: 1.2rem;
  }
  
  .meta-item {
    font-size: 0.8rem;
  }
  
  .specialty-tag {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }
  
  .presentation {
    font-size: 0.85rem;
  }
  
  .btn-agendar {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
}

/* ========== ANIMAÇÕES ========== */
@keyframes slideIn {
  from { 
    transform: translateY(-20px); 
    opacity: 0; 
  }
  to { 
    transform: translateY(0); 
    opacity: 1; 
  }
}

/* ========== ESTILOS ESPECÍFICOS PARA DESKTOP ========== */
@media (min-width: 769px) {
  .ver-mais-btn {
    display: none !important;
  }
  
  .specialty-tags,
  .presentation {
    max-height: none !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
  }
}

/* ========== ESTILOS DO CADASTRO ========== */
.cadastro-main {
  padding: 2rem 0;

  background-color: var(--branco);
}

.cadastro-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--branco);
  border-radius: var(--borda-arredondada);
  box-shadow: var(--sombra-suave);
}

.cadastro-header {
  text-align: center;
  margin-bottom: 2rem;
}

.cadastro-header h1 {
  color: var(--bs-dark);
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.cadastro-header p {
  color: var(--bs-body-color);
  font-size: 1rem;
}

.form-vertical {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input-group label {
  font-weight: 600;
  color: var(--bs-body-color);
  font-size: 0.95rem;
}

.input-group input,
.input-group select,
.input-group textarea {
  padding: 0.8rem;
  border: 2px solid var(--cinza-suave);
  border-radius: 8px;
  font-size: 0.95rem;
  transition: var(--transicao-padrao);
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  border-color: var(--azul-secundario);
  outline: none;
  box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.2);
}

.input-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.checkbox-item input {
  width: 18px;
  height: 18px;
  accent-color: var(--azul-secundario);
}

.checkbox-text {
  font-size: 0.9rem;
  color: #4a5568;
}

.availability-horizontal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.availability-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.availability-text {
  font-size: 0.9rem;
  color: #4a5568;
}

.file-upload input[type="file"] {
  padding: 0.5rem;
  border: 2px dashed var(--cinza-suave);
  border-radius: 8px;
  width: 100%;
}

.botao-minimalista {
  background: var(--bs-primary);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transicao-padrao);
  margin-top: 1rem;
  width: 100%;
}

.botao-minimalista:hover {
  background: var(--bs-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(49, 130, 206, 0.3);
}

.invalid {
  border-color: #ff4444 !important;
}

.error-message {
  color: #ff4444;
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

.success-message {
  color: #00C851;
  padding: 1rem;
  background: #e8f5e9;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 500;
}

/* ========== RESPONSIVIDADE ========== */
@media (max-width: 768px) {
  .cadastro-container {
    padding: 1.5rem;
    margin: 1rem;
  }

  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .availability-horizontal {
    flex-direction: column;
    gap: 0.5rem;
  }
}


/* ================== ESTILOS DA TELA DE LOGIN ================================ */
 .login-container {
            max-width: 400px;
            margin: 200px auto;
            padding: 30px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 0 20px rgba(0,0,0,0.1);
        }
        
        .login-container h2 {
            text-align: center;
            margin-bottom: 25px;
            color: var(--bs-dark)
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--bs-body-color);
        }
        
        .form-group input {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 16px;
        }
        
        .login-btn {
            width: 100%;
            padding: 12px;
            background-color:  var(--bs-primary);
            color: white;
            border: none;
            border-radius: 4px;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .login-btn:hover {
            background-color: var(--bs-primary);
        }
        
        .error-message {
            color: #e74c3c;
            margin-top: 15px;
            text-align: center;
            display: none;
        }

        @media (max-width: 768px) {
        .login-container {
            max-width: 350px;
            margin: 200px auto;
            padding: 30px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 0 20px rgba(0,0,0,0.1);
        }
      } 

/*============= ESTILOS DA TELA DE ADMIN ================  */

        .logo {
            font-size: 1.5rem;
            font-weight: bold;
        }
        
        .logout-btn {
            background-color:transparent;
            color: var(--bs-primary);
            border: none;
            
            border-radius: 4px;
            cursor: pointer;
        }
        
        .gerenciamento-de-cadastros {
            padding: 2rem;
            max-width: 1200px;
            margin: 200px auto;
        }
        
        h1 {
            margin-bottom: 1.5rem;
            color: var(--bs-dark);
        }
        
        .admin-panel {
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            padding: 1.5rem;
        }
        
        .tabs {
            display: flex;
            border-bottom: 1px solid var(--light-gray);
            margin-bottom: 1.5rem;
        }
        
        .tab {
            padding: 0.75rem 1.5rem;
            cursor: pointer;
            border-bottom: 3px solid transparent;
        }
        
        .tab.active {
            border-bottom-color: var(--bs-primary);
            font-weight: bold;
        }
        
        .tab-content {
            display: none;
        }
        
        .tab-content.active {
            display: block;
        }
        
        .psychologist-card {
            border: 1px solid var(--light-gray);
            border-radius: 6px;
            padding: 1.5rem;
            margin-bottom: 1rem;
            display: flex;
            gap: 1.5rem;
        }
        
        .psychologist-image {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid var(--light-gray);
        }
        
        .psychologist-info {
            flex: 1;
        }
        
        .psychologist-name {
            font-size: 1.25rem;
            margin-bottom: 0.5rem;
            color: var(--primary-color);
        }
        
        .psychologist-detail {
            margin-bottom: 0.25rem;
        }
        
        .psychologist-bio {
            margin-top: 0.5rem;
            color: #666;
            line-height: 1.5;
        }
        
        .action-buttons {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }
        
        .btn {
            padding: 0.5rem 1rem;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.2s;
        }
        
        .btn-approve {
            background-color: var(--success-color);
            color: white;
        }
        
        .btn-reject {
            background-color: var(--danger-color);
            color: white;
        }
        
        .btn:hover {
            opacity: 0.9;
            transform: translateY(-2px);
        }
        
        .empty-state {
            text-align: center;
            padding: 2rem;
            color: #666;
        }
        
        .loading {
            text-align: center;
            padding: 2rem;
        }
        
        .spinner {
            border: 4px solid rgba(0, 0, 0, 0.1);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border-left-color: var(--bs-primary);
            animation: spin 1s linear infinite;
            margin: 0 auto;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        @media (max-width: 768px) {
        .tab {
            padding: 0.25rem 0.5rem;
            cursor: pointer;
            border-bottom: 3px solid transparent;
        }

        
      } 

    