/**
 * Estilos específicos para a página de cadastro
 */

/* Header simplificado para página de cadastro */
body.index-page {
  --cadastro-header-offset: calc(5.875rem + env(safe-area-inset-top, 0px));
  scroll-behavior: auto; /* Remover scroll suave */
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #f8f9fa !important; /* Background sólido ao invés da imagem */
  background-image: none !important;
  position: relative;
}

@media (max-width: 1024px) {
  body.index-page {
    --cadastro-header-offset: calc(4.625rem + env(safe-area-inset-top, 0px));
  }
}

/* Remover overlay do background */
body.index-page::before {
  display: none;
}

body.index-page .header.cadastro-form-header {
  background-color: #D0C1AD !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 12px 0; /* Reduzido mais 10% (era 13.5px, agora 12px) */
  min-height: auto;
}

body.index-page .header .navmenu {
  display: none;
}

/* Reduzir tamanho da logo proporcionalmente */
body.index-page .header .logo-top-index {
  max-width: 69px; /* Reduzido mais 10% (era 76.5px, agora 69px) */
  max-height: 69px; /* Reduzido mais 10% (era 76.5px, agora 69px) */
  margin-top: 0;
}

@media (max-width: 1024px) {
  body.index-page .header .logo-top-index {
    max-width: 49px; /* Reduzido mais 10% (era 54px, agora 49px) */
    max-height: 49px; /* Reduzido mais 10% (era 54px, agora 49px) */
  }
}

/* Área do formulário: reserva espaço do header fixo + notch; não corta o conteúdo */
body.index-page .main {
  min-height: calc(100vh - env(safe-area-inset-top, 0px));
  min-height: calc(100dvh - env(safe-area-inset-top, 0px));
  padding-top: var(--cadastro-header-offset);
  padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  overflow: visible;
  display: block;
  position: relative;
  background: #f8f9fa;
}

body.index-page .section {
  min-height: 0;
  height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem 0 1.5rem;
  margin: 0;
  background: #f8f9fa;
  overflow: visible;
}

body.index-page .section .container {
  height: auto;
  min-height: 0;
  display: block;
  padding-left: 1rem;
  padding-right: 1rem;
}

body.index-page .card {
  width: 100%;
  max-height: none;
  overflow: visible;
  margin: 0;
}

.cadastro-step {
  display: none;
  animation: fadeIn 0.3s ease-in;
}

.cadastro-step.active {
  display: block;
}

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

.tipo-profissional-card {
  transition: all 0.3s ease;
}

.tipo-profissional-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(199, 111, 71, 0.15) !important;
}

.tipo-profissional-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tipo-profissional-card:has(input[type="checkbox"]:checked) {
  border-color: #C76F47 !important;
  background-color: #F5E6DF !important;
}

.tipo-profissional-card:has(input[type="checkbox"]:checked) .card-title {
  color: #C76F47;
  font-weight: 600;
}

.form-label.required::after {
  content: " *";
  color: #dc3545;
}

#cadastroProgress {
  transition: width 0.3s ease;
}

/* Responsividade */
@media (max-width: 768px) {
  .tipo-profissional-card {
    margin-bottom: 1rem;
  }
}

