/**
 * Melhorias na tipografia e textos da página de login minimalista
 * Foco em legibilidade, contraste e hierarquia visual
 */

:root {
  --primary-color: #2c578a;
  --text-color: #ffffff;
}

/* Título principal com destaque */
.brand-title {
  font-size: clamp(2.2rem, 5vw, 2.8rem);
  font-weight: 800;
  background: linear-gradient(135deg, #2c578a, #3a6fa8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

/* Subtítulo com melhor legibilidade */
.brand-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.6;
  color: #333;
  font-weight: 400;
  max-width: 90%;
  margin-bottom: 1.5rem;
}

/* Títulos do formulário */
.form-title {
  font-size: clamp(1.6rem, 4vw, 1.8rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

/* Estilo específico para o cabeçalho do formulário de cadastro */
.register-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-top: 0.5rem;
}

.form-subtitle {
  font-size: clamp(0.85rem, 2vw, 0.9rem);
  color: #666;
  margin-bottom: 1.5rem;
}

/* Labels dos campos */
.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  display: block;
}

/* Texto dos botões */
.btn {
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Links com melhor destaque */
.form-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

.form-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.form-link:hover:after {
  width: 100%;
}

/* Métricas com destaque */
.metric-value {
  font-size: clamp(1.6rem, 4vw, 1.8rem);
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.2;
}

.metric-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #666;
}

/* Textos de feedback */
.error-message, 
.success-message {
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  padding: 12px 15px;
}

.error-message {
  background-color: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
  border-left: 3px solid #e74c3c;
}

.success-message {
  background-color: rgba(46, 204, 113, 0.1);
  color: #2ecc71;
  border-left: 3px solid #2ecc71;
}

/* Texto do separador */
.divider-text {
  font-size: 0.85rem;
  color: #888;
  padding: 0 15px;
}

/* Texto do rodapé */
.form-footer {
  font-size: 0.9rem;
  color: #666;
  margin-top: 2rem;
}

/* Texto das abas */
.tab {
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.tab.active {
  color: var(--primary-color);
}

/* Texto do checkbox */
.form-check-label {
  font-size: 0.85rem;
  color: #666;
}

/* Dica de senha */
.password-hint {
  font-size: 0.8rem;
  color: #888;
  line-height: 1.4;
  margin-top: 0.5rem;
}

/* Força da senha */
.password-strength-text {
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

/* Responsividade para textos */
@media (max-width: 768px) {
  .brand-title {
    text-align: center;
  }
  
  .brand-subtitle {
    text-align: center;
    max-width: 100%;
  }
  
  .form-title,
  .form-subtitle {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .metric-value {
    font-size: 1.5rem;
  }
  
  .metric-label {
    font-size: 0.75rem;
  }
  
  .form-group label {
    font-size: 0.85rem;
  }
  
  .btn {
    font-size: 0.9rem;
  }
}
