/* === ESTILOS PARA PÁGINA DE CADASTRO === */

body {
  background-image: url('../imagens/BG_INDEX.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: var(--fonte-corpo-padrao);
}

.cadastro-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-wrapper {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  width: 100%;
  max-width: 700px;
}

.logo-titulo {
  font-family: var(--fonte-titulo-padrao);
  color: var(--azul-escuro);
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.5rem;
  font-weight: 400;
}

/* === Timeline de Progresso === */
.timeline-progresso {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin: 30px 0 40px 0;
  padding: 0 10px;
}

.timeline-progresso::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 10%;
  right: 10%;
  height: 2px;
  background-color: #e5e5e5;
  z-index: 1;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 80px;
}

.timeline-numero {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #e5e5e5;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.timeline-texto {
  font-size: 12px;
  text-align: center;
  color: #666;
  font-weight: 500;
  line-height: 1.2;
}

.timeline-item.ativo .timeline-numero {
  background-color: var(--azul-escuro);
  color: white;
}

.timeline-item.ativo .timeline-texto {
  color: var(--azul-escuro);
  font-weight: 600;
}

.timeline-item.concluido .timeline-numero {
  background-color: var(--laranja-queimado);
  color: white;
}

.timeline-item.concluido .timeline-texto {
  color: var(--laranja-queimado);
}

/* === Formulário === */
.form-cadastro {
  width: 100%;
}

.form-etapa {
  animation: fadeIn 0.3s ease-in-out;
}

.form-etapa h3 {
  color: var(--azul-escuro);
  font-family: var(--fonte-titulo-padrao);
  font-size: 1.5rem;
  margin-bottom: 25px;
  text-align: center;
  border-bottom: 2px solid var(--laranja-queimado);
  padding-bottom: 10px;
}

.campo-grupo {
  margin-bottom: 20px;
}

/* Container para telefone com código do país */
.telefone-container {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.telefone-container .codigo-pais {
  width: 80px;
  flex-shrink: 0;
}

.telefone-container .campo-input {
  flex: 1;
  min-width: 200px;
}

.telefone-container .mensagem-validacao {
  width: 100%;
  margin-top: 5px;
}

/* === ESTILOS PARA ENDEREÇO === */

/* Container para CEP com botão de busca */
.cep-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cep-container .campo-input {
  flex: 1;
}

.btn-buscar-cep {
  background: var(--azul-escuro);
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-buscar-cep:hover {
  background: var(--azul-claro);
  transform: translateY(-1px);
}

.btn-buscar-cep:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* Loading do CEP */
.cep-loading {
  margin-top: 8px;
  padding: 8px 12px;
  background: #e3f2fd;
  color: #1976d2;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #bbdefb;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Campo preenchido automaticamente */
.campo-preenchido-automaticamente {
  background-color: #f0f8ff !important;
  border-color: #4caf50 !important;
  animation: fadeInGreen 0.5s ease;
}

@keyframes fadeInGreen {
  from {
    background-color: #fff;
    border-color: #e5e5e5;
  }
  to {
    background-color: #f0f8ff;
    border-color: #4caf50;
  }
}

.campo-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--azul-escuro);
  font-size: 14px;
}

.campo-input,
.campo-select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--fonte-corpo-padrao);
  transition: all 0.3s ease;
  background-color: white;
  box-sizing: border-box;
}

.campo-input:focus,
.campo-select:focus {
  outline: none;
  border-color: var(--azul-escuro);
  box-shadow: 0 0 0 3px rgba(0, 0, 205, 0.1);
}

.campo-input.erro {
  border-color: var(--vermelho-escuro);
  box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

.campo-input.valido {
  border-color: #27ae60;
  box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.campo-input.invalido {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

/* === MENSAGENS DE VALIDAÇÁO === */
.mensagem-validacao {
  margin-top: 6px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.mensagem-validacao.valido {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.mensagem-validacao.invalido {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.mensagem-validacao.loading {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
  position: relative;
  padding-left: 35px;
}

.mensagem-validacao.loading::before {
  content: "⏳";
  position: absolute;
  left: 10px;
  animation: rotate 1s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* === BOTÁO SEGUIR DESABILITADO === */
.btn-seguir {
  background: linear-gradient(135deg, var(--azul-escuro), #3a6bb3);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  margin-top: 20px;
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-seguir:hover:not(.desabilitado) {
  background: linear-gradient(135deg, #1e4a87, var(--azul-escuro));
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.btn-seguir:not(.desabilitado) {
  animation: botaoAtivo 0.5s ease-out;
}

@keyframes botaoAtivo {
  0% {
    opacity: 0.4;
    transform: scale(0.95);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.btn-seguir.desabilitado {
  background: rgba(149, 165, 166, 0.2) !important;
  color: rgba(108, 117, 125, 0.6) !important;
  cursor: not-allowed !important;
  opacity: 0.5 !important;
  transform: none !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  border: 2px dashed rgba(149, 165, 166, 0.4) !important;
  backdrop-filter: blur(1px);
}

/* === ÁREA DE AÇÕES DO FORMULÁRIO === */
.form-actions {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(149, 165, 166, 0.2);
  text-align: center;
}

.btn-reset {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  opacity: 0.8;
}

.btn-reset:hover {
  background: linear-gradient(135deg, #c0392b, #a93226);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
  opacity: 1;
}

.btn-reset:active {
  transform: translateY(0);
  box-shadow: 0 1px 5px rgba(231, 76, 60, 0.2);
}

.btn-reset::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
}

.btn-reset:hover::before {
  width: 100%;
  height: 100%;
}

.btn-seguir.desabilitado::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.05) 10px,
    rgba(255, 255, 255, 0.05) 20px
  );
  pointer-events: none;
}

.btn-seguir.desabilitado::after {
  content: '🔒';
  position: absolute;
  right: 15px;
  font-size: 16px;
  opacity: 0.3;
}

.btn-seguir.desabilitado:hover {
  background: rgba(149, 165, 166, 0.2) !important;
  transform: none !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* === Checkboxes === */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  font-size: 14px;
}

.checkbox-item:hover {
  background-color: #f8f9fa;
}

.checkbox-item input[type="checkbox"] {
  margin-right: 8px;
  width: 16px;
  height: 16px;
  accent-color: var(--azul-escuro);
}

/* === Campos Obrigatórios === */
.obrigatorio {
  color: var(--vermelho-escuro);
  font-weight: bold;
  margin-left: 3px;
  cursor: help;
}

/* === Aviso Dados Bancários === */
.aviso-dados-bancarios {
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 20px;
  color: #856404;
}

.aviso-dados-bancarios p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

/* === Botões === */
.btn-seguir,
.btn-finalizar {
  width: 100%;
  padding: 14px 20px;
  background-color: var(--azul-escuro);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  font-family: var(--fonte-corpo-padrao);
}

.btn-seguir:hover,
.btn-finalizar:hover {
  background-color: var(--azul-medio);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 205, 0.3);
}

.btn-seguir:active,
.btn-finalizar:active {
  transform: translateY(0);
}

/* === Seletor de Idiomas === */
.seletor-idioma-teste {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.seletor-idioma-teste label {
  font-size: 16px;
  margin-right: 5px;
}

.seletor-idioma-teste select {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 12px;
}

/* === Animações === */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Responsividade === */
@media (max-width: 768px) {
  .cadastro-container {
    padding: 15px;
  }

  .form-wrapper {
    padding: 25px;
  }

  .logo-titulo {
    font-size: 2rem;
    margin-bottom: 25px;
  }

  .timeline-progresso {
    margin: 20px 0 30px 0;
  }

  .timeline-numero {
    width: 35px;
    height: 35px;
    font-size: 12px;
  }

  .timeline-texto {
    font-size: 11px;
  }

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

@media (max-width: 480px) {
  .form-wrapper {
    padding: 20px;
  }

  .logo-titulo {
    font-size: 1.8rem;
  }

  .timeline-numero {
    width: 30px;
    height: 30px;
    font-size: 11px;
  }

  .timeline-texto {
    font-size: 10px;
  }

  .timeline-item {
    max-width: 60px;
  }

  .campo-input,
  .campo-select {
    padding: 10px 12px;
    font-size: 13px;
  }

  .btn-seguir,
  .btn-finalizar {
    padding: 12px 16px;
    font-size: 14px;
  }
}

@media (max-width: 320px) {
  .timeline-progresso {
    margin: 15px 0 25px 0;
  }

  .timeline-numero {
    width: 25px;
    height: 25px;
    font-size: 10px;
  }

  .timeline-texto {
    font-size: 9px;
  }

  .timeline-item {
    max-width: 50px;
  }
}

/* === ESTILOS PARA FUNCIONALIDADES OTIMIZADAS === */

/* Campo de senha com toggle */
.campo-senha-container {
  position: relative;
  display: flex;
  align-items: center;
}

.btn-toggle-senha {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 5px;
  z-index: 2;
}

.btn-toggle-senha:hover {
  opacity: 0.7;
}

/* Medidor de força da senha */
.medidor-forca {
  margin-top: 8px;
}

.forca-barra {
  width: 100%;
  height: 6px;
  background-color: #e0e0e0;
  border-radius: 3px;
  overflow: hidden;
}

.forca-nivel {
  height: 100%;
  border-radius: 3px;
  transition: all 0.3s ease;
  width: 0%;
}

.forca-nivel.fraca { 
  background-color: #ff4444; 
  width: 25%; 
}

.forca-nivel.media { 
  background-color: #ffaa00; 
  width: 50%; 
}

.forca-nivel.boa { 
  background-color: #44aa44; 
  width: 75%; 
}

.forca-nivel.excelente { 
  background-color: #00aa00; 
  width: 100%; 
}

.forca-texto {
  font-size: 12px;
  margin-top: 4px;
  display: block;
  color: #666;
}

.validacao-senha {
  margin-top: 5px;
  font-size: 12px;
}

.validacao-senha.sucesso {
  color: #00aa00;
}

.validacao-senha.erro {
  color: #ff4444;
}

/* Avatar upload */
.avatar-container {
  text-align: center;
  margin-bottom: 30px;
}

.avatar-upload {
  position: relative;
  display: inline-block;
}

.avatar-preview {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 4px solid var(--azul-escuro);
  cursor: pointer;
  transition: all 0.3s ease;
}

.avatar-preview:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: white;
  font-size: 12px;
  text-align: center;
}

.avatar-preview:hover .avatar-overlay {
  opacity: 1;
}

/* Dados do responsável */
.dados-responsavel {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid var(--laranja-queimado);
  margin: 20px 0;
}

.dados-responsavel h4 {
  color: var(--azul-escuro);
  margin-bottom: 10px;
}

.aviso-menor-idade {
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 15px;
  font-size: 14px;
  color: #856404;
}

/* CEP container */
.cep-container {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cep-container .campo-input {
  flex: 1;
}

.btn-buscar-cep {
  background-color: var(--azul-escuro);
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.btn-buscar-cep:hover {
  background-color: var(--azul-medio);
}

.cep-loading {
  font-size: 12px;
  color: #666;
  margin-top: 5px;
  font-style: italic;
}

/* Aviso timeline sugestões */
.aviso-timeline-sugestoes {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  border: 2px solid #2196f3;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.1);
}

.aviso-timeline-sugestoes .aviso-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.aviso-timeline-sugestoes .aviso-texto h4 {
  color: var(--azul-escuro);
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
}

.aviso-timeline-sugestoes .aviso-texto p {
  color: #1565c0;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.aviso-timeline-sugestoes .aviso-texto p:last-child {
  margin-bottom: 0;
  font-style: italic;
  color: #1976d2;
}

/* Gêneros literários com cards */
.generos-container {
  /*max-height: 600px;*/
  overflow-y: auto;
  padding-right: 10px;
}

.genero-categoria {
  margin-bottom: 40px;
  border: 2px solid #e0e0e0;
  border-radius: 15px;
  padding: 25px;
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.genero-categoria h4 {
  color: var(--azul-escuro);
  margin-bottom: 20px;
  font-size: 20px;
  border-bottom: 3px solid var(--laranja-queimado);
  padding-bottom: 8px;
  text-align: center;
}

/* Subgêneros hierárquicos */
.subgenero-grupo {
  margin-bottom: 25px;
  padding: 20px;
  background: rgba(240, 245, 255, 0.5);
  border-radius: 12px;
  border-left: 4px solid var(--azul-escuro);
}

.subgenero-grupo h5 {
  font-size: 16px;
  color: var(--azul-escuro);
  margin-bottom: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.generos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

.genero-card {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 18px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.genero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.genero-card:hover::before {
  left: 100%;
}

.genero-card:hover {
  border-color: var(--azul-escuro);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transform: translateY(-3px);
}

.genero-card.ativo {
  border-color: var(--laranja-queimado);
  background-color: #fff8f0;
  box-shadow: 0 4px 15px rgba(238, 153, 52, 0.3);
}

.genero-nome {
  font-weight: 600;
  color: var(--azul-escuro);
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.3;
}

.rating-stars {
  display: flex;
  justify-content: center;
  gap: 3px;
}

.star {
  cursor: pointer;
  font-size: 18px;
  transition: all 0.2s ease;
  opacity: 0.3;
  filter: grayscale(100%);
}

.star:hover,
.star.ativo,
.star.active {
  opacity: 1;
  transform: scale(1.1);
  filter: grayscale(0%);
}

.star.ativo,
.star.active {
  color: #ffd700;
}

/* Configurações do usuário */
.secao-configuracao {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.secao-configuracao h4 {
  color: var(--azul-escuro);
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.descricao-secao {
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* Opções de pretensões */
.opcoes-pretensoes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
}

.opcao-pretensao {
  position: relative;
}

.opcao-pretensao input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.opcao-card {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.opcao-card:hover {
  border-color: var(--azul-escuro);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.opcao-pretensao input[type="checkbox"]:checked + label .opcao-card {
  border-color: var(--laranja-queimado);
  background: #fff8f0;
  box-shadow: 0 4px 20px rgba(238, 153, 52, 0.2);
}

.opcao-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.opcao-content h5 {
  color: var(--azul-escuro);
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 600;
}

.opcao-content p {
  color: #666;
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
}

/* Configurações de visibilidade */
.configuracao-grupo {
  margin-bottom: 20px;
}

.config-label {
  display: block;
  color: var(--azul-escuro);
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 15px;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-option {
  position: relative;
}

.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-option label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.radio-option label:hover {
  border-color: var(--azul-escuro);
}

.radio-option input[type="radio"]:checked + label {
  border-color: var(--laranja-queimado);
  background: #fff8f0;
}

.radio-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.radio-option label > div strong {
  display: block;
  color: var(--azul-escuro);
  font-size: 14px;
  margin-bottom: 2px;
}

.radio-option label > div small {
  color: #666;
  font-size: 12px;
  line-height: 1.3;
}

/* Privacidade de dados */
.privacidade-opcoes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.privacidade-item {
  position: relative;
}

.privacidade-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.privacidade-item label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.privacidade-item label:hover {
  border-color: var(--azul-escuro);
}

.privacidade-item input[type="checkbox"]:checked + label {
  border-color: var(--laranja-queimado);
  background: #fff8f0;
}

.privacidade-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.privacidade-item label > div strong {
  display: block;
  color: var(--azul-escuro);
  font-size: 13px;
  margin-bottom: 2px;
}

.privacidade-item label > div small {
  color: #666;
  font-size: 11px;
  line-height: 1.3;
}

/* Grupo de seleção (select) */
.select-group {
  margin-top: 8px;
}

.select-group select {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: white;
  color: var(--azul-escuro);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'><path fill='%23666' d='M2 0L0 2h4zm0 5L0 3h4z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
}

.select-group select:hover {
  border-color: var(--azul-escuro);
}

.select-group select:focus {
  outline: none;
  border-color: var(--laranja-queimado);
  box-shadow: 0 0 0 3px rgba(238, 153, 52, 0.1);
}

.select-group small {
  display: block;
  color: #666;
  font-size: 12px;
  margin-top: 5px;
  line-height: 1.3;
}

/* === ESTILOS DA ETAPA DE VERIFICAÇÁO === */
.email-preview,
.telefone-preview {
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(44, 90, 160, 0.05);
  border-radius: 6px;
  border-left: 3px solid var(--azul-escuro);
}

.email-text,
.telefone-text {
  font-size: 12px;
  color: var(--azul-escuro);
  font-weight: 500;
}

.info-verificacao {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.info-item:hover {
  background: rgba(255, 255, 255, 1);
  border-color: var(--azul-escuro);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.info-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.info-item strong {
  display: block;
  color: var(--azul-escuro);
  font-size: 14px;
  margin-bottom: 2px;
}

.info-item small {
  color: #666;
  font-size: 12px;
  line-height: 1.3;
}

/* Botão finalizar */
.btn-finalizar {
  width: 100%;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-finalizar:hover {
  background: linear-gradient(135deg, #229954, #27ae60);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.btn-finalizar:active {
  transform: translateY(0);
}

/* Aviso de privacidade */
.aviso-privacidade {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.aviso-privacidade .aviso-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.aviso-privacidade .aviso-texto p {
  color: #495057;
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
}

/* Dados bancários */
.aviso-dados-bancarios-principal {
  background: linear-gradient(135deg, #fff3cd, #ffeaa7);
  border: 2px solid var(--laranja-queimado);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 25px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.aviso-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.aviso-texto h4 {
  margin: 0 0 10px 0;
  color: var(--azul-escuro);
}

.aviso-texto p {
  margin: 8px 0;
  color: #856404;
  line-height: 1.5;
}

.secao-pagamentos,
.secao-transferencias {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 4px solid var(--azul-escuro);
}

.secao-pix {
  background-color: #e8f5e8;
  padding: 15px;
  border-radius: 6px;
  margin-top: 15px;
  border-left: 3px solid #4caf50;
}

.secao-pagamentos h4,
.secao-transferencias h4 {
  color: var(--azul-escuro);
  margin-bottom: 8px;
  font-size: 16px;
}

.secao-pix h5 {
  color: #2e7d32;
  margin-bottom: 10px;
  font-size: 14px;
}

.descricao-secao {
  color: #666;
  font-size: 13px;
  margin-bottom: 15px;
  font-style: italic;
}

.campos-linha {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.aviso-menor-bancario {
  background-color: #e3f2fd;
  border: 2px solid #2196f3;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.aviso-menor-bancario h4 {
  color: var(--azul-escuro);
  margin-bottom: 10px;
}

.aviso-menor-bancario p {
  color: #1565c0;
  margin: 0;
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
  .aviso-timeline-sugestoes {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 18px;
    gap: 12px;
  }
  
  .aviso-timeline-sugestoes .aviso-icon {
    font-size: 20px;
    margin-top: 0;
  }
  
  .aviso-timeline-sugestoes .aviso-texto h4 {
    font-size: 15px;
  }
  
  .aviso-timeline-sugestoes .aviso-texto p {
    font-size: 13px;
  }

  .generos-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
  }
  
  .genero-categoria {
    padding: 20px;
    margin-bottom: 30px;
  }
  
  .genero-categoria h4 {
    font-size: 18px;
  }
  
  .subgenero-grupo {
    padding: 15px;
    margin-bottom: 20px;
  }
  
  .subgenero-grupo h5 {
    font-size: 15px;
  }
  
  .genero-card {
    padding: 15px;
  }
  
  .genero-nome {
    font-size: 13px;
  }
  
  .star {
    font-size: 16px;
  }
  
  /* Configurações responsivas */
  .opcoes-pretensoes {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .opcao-card {
    padding: 15px;
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .opcao-icon {
    font-size: 20px;
  }
  
  .opcao-content h5 {
    font-size: 15px;
  }
  
  .opcao-content p {
    font-size: 12px;
  }
  
  .radio-group {
    gap: 8px;
  }
  
  .radio-option label {
    padding: 12px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  
  .privacidade-opcoes {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .privacidade-item label {
    padding: 10px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  
  .secao-configuracao {
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .secao-configuracao h4 {
    font-size: 16px;
  }
  
  .campos-linha {
    grid-template-columns: 1fr;
  }
  
  .cep-container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .avatar-preview {
    width: 100px;
    height: 100px;
  }
}

/* === ESTILOS DOS GÊNEROS LITERÁRIOS (Copiados do perfil_lazy.html) === */

/* === ACCORDION DOS SUBGÊNEROS === */
.subgenero-accordion {
  margin-bottom: 0;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  border-bottom: none;
  background: white;
  box-shadow: none;
}

.subgenero-accordion:last-child {
  border-bottom: 1px solid #e0e0e0;
  border-radius: 0 0 12px 12px;
}

.subgenero-accordion:first-child {
  border-radius: 12px 12px 0 0;
}

.subgenero-accordion:only-child {
  border-radius: 12px;
  border-bottom: 1px solid #e0e0e0;
}

.subgenero-header {
  background: linear-gradient(135deg, #f8f9ff, #e8eeff);
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  border-bottom: 1px solid #e0e0e0;
}

.subgenero-header:hover {
  background: linear-gradient(135deg, #e8eeff, #d8ddff);
  transform: translateY(-1px);
}

.subgenero-header.active {
  background: linear-gradient(135deg, var(--azul-escuro, #2c5aa0), #3a6bb3);
  color: white;
  box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
}

.subgenero-header h5 {
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.accordion-arrow {
  font-size: 14px;
  transition: transform 0.3s ease;
  font-weight: bold;
}

.subgenero-header.active .accordion-arrow {
  transform: rotate(180deg);
}

.subgenero-content {
  display: none;
  padding: 25px;
  background: linear-gradient(135deg, rgba(248, 249, 255, 0.8), rgba(240, 245, 255, 0.5));
  animation: slideDown 0.3s ease-out;
}

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

.generos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.genero-card {
  background: white;
  border: 2px solid #e8eeff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.genero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transition: left 0.6s ease;
}

.genero-card:hover::before {
  left: 100%;
}

.genero-card:hover {
  border-color: var(--azul-escuro, #2c5aa0);
  box-shadow: 0 8px 25px rgba(44, 90, 160, 0.15);
  transform: translateY(-5px);
}

.genero-card.avaliado {
  border-color: var(--laranja-queimado, #ee9934);
  background: linear-gradient(135deg, #fff8f0, #fff2e6);
  box-shadow: 0 6px 20px rgba(238, 153, 52, 0.2);
}

.genero-nome {
  font-weight: 600;
  color: var(--azul-escuro, #2c5aa0);
  margin-bottom: 15px;
  font-size: 15px;
  line-height: 1.4;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rating-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 10px;
}

.genero-card .star {
  cursor: pointer;
  font-size: 20px;
  transition: all 0.2s ease;
  color: #ddd;
  position: relative;
  user-select: none;
  opacity: 0.3;
  filter: grayscale(100%);
}

.genero-card .star:before {
  content: '★';
}

.genero-card .star:hover {
  transform: scale(1.2);
  color: #ffd700;
  opacity: 1;
  filter: grayscale(0%);
}

.genero-card .star.active {
  color: #ffd700;
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

.genero-card .star.hover-effect,
.genero-card .star.hover-highlight {
  color: #ffd700;
  transform: scale(1.1);
  opacity: 1;
  filter: grayscale(0%);
}

.genero-card .rating-feedback {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
  min-height: 16px;
}

.genero-card.avaliado .rating-feedback {
  opacity: 1;
}

.rating-1 .rating-feedback { color: #e74c3c; }
.rating-2 .rating-feedback { color: #f39c12; }
.rating-3 .rating-feedback { color: #f1c40f; }
.rating-4 .rating-feedback { color: #2ecc71; }
.rating-5 .rating-feedback { color: #27ae60; }

/* Estilos adicionais para feedback baseado em sentimento */
.rating-feedback.negative { 
  color: #e74c3c; 
  font-weight: 500;
}
.rating-feedback.neutral { 
  color: #f1c40f; 
  font-weight: 500;
}
.rating-feedback.positive { 
  color: #27ae60; 
  font-weight: 500;
}

/* === ESTILOS DAS SUBTABS === */
.subtabs-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 25px;
  border-bottom: 2px solid #e0e0e0;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.subtab-button {
  background: linear-gradient(135deg, #f8f9ff, #e8eeff);
  border: 1px solid #d0d0d0;
  padding: 12px 20px;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
  min-width: 120px;
  text-align: center;
}

.subtab-button:hover {
  background: linear-gradient(135deg, #e8eeff, #d8ddff);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.subtab-button.active {
  background: linear-gradient(135deg, var(--azul-escuro, #2c5aa0), #3a6bb3);
  color: white;
  border-color: var(--azul-escuro, #2c5aa0);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
}

.subtab-content {
  display: none;
}

.subtab-content.active {
  display: block;
}

/* Responsividade para gêneros */
@media (max-width: 768px) {
  .generos-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .genero-card {
    min-width: auto;
    padding: 16px;
  }
  
  .subgenero-header {
    padding: 12px 16px;
  }
  
  .subgenero-content {
    padding: 20px 15px;
  }

  .star {
    font-size: 18px;
  }
  
  .subtabs-nav {
    flex-wrap: wrap;
    gap: 5px;
  }
  
  .subtab-button {
    min-width: 100px;
    padding: 10px 15px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .subgenero-header h5 {
    font-size: 14px;
  }

  .genero-nome {
    font-size: 14px;
    min-height: 35px;
  }

  .star {
    font-size: 16px;
  }
  
  .subtab-button {
    min-width: 80px;
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* === ESTILOS PARA CONFIGURAÇÕES (ETAPA 4) === */

/* Mensagens de erro para configurações */
.erro-configuracao {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 5px;
  padding: 8px 12px;
  background: rgba(231, 76, 60, 0.1);
  border-radius: 6px;
  border-left: 4px solid #e74c3c;
  animation: slideInDown 0.3s ease;
}

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

/* Estilos para seções de configuração */
.secao-configuracao {
  margin: 30px 0;
  padding: 25px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  border: 1px solid rgba(74, 144, 226, 0.1);
}

.secao-configuracao h4 {
  color: var(--azul-escuro);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.descricao-secao {
  color: #666;
  font-size: 14px;
  margin: 0 0 20px 0;
  line-height: 1.4;
}

/* Responsividade para configurações */
@media (max-width: 768px) {
  .secao-configuracao {
    padding: 20px;
    margin: 20px 0;
  }
  
  .secao-configuracao h4 {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .secao-configuracao {
    padding: 15px;
  }
}