/* Configurações Específicas - Login */

.login-container { 
  max-width: 350px; 
  margin-top: 5px; 
}

.captcha-box { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  margin: 15px 0; 
  background: white; 
  border-radius: 5px; 
  padding: 5px;
}

.captcha-img { 
  cursor: pointer; 
  height: 50px;
}

#captchaInput {
  color: rgb(115, 113, 113);
}

#msg-advertencia {
  color: #8b949e; 
  display: block; 
  margin-bottom: 15px;
}

#msg-erro {
  color: #ff4444; 
  margin-top: 15px; 
  font-size: 0.8rem;
}


/* Torna o contêiner a referência para o posicionamento do botão */
.password-container {
    position: relative;
    width: 100%;
}

/* Espaço interno à direita do input para o texto não sobrepor o ícone */
.password-container input {
    padding-right: 45px; 
}

/* Estilização básica do botão do olho */
.password-container button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tamanho e cor do SVG baseados nas suas variáveis do style.css */
.password-container svg {
    width: 20px;
    height: 20px;
    color: var(--cor-label-form); /* Cor cinza padrão #8b949e */
    transition: color 0.2s ease;
}

/* Efeito de destaque ao passar o mouse */
.password-container button:hover svg {
    color: var(--cor-body-text); /* Muda para branco #ffffff */
}

/* Classe utilitária para alternar a exibição dos estados do olho */
.password-container .hide {
    display: none;
}

/* Botão da Biometria */
.btn-biometria {
  margin-top: 10px; 
  width: 100%; 
  margin-top: 10px;
  padding: 15px;
  background-color: transparent;
  color: var(--cor-btn-secondary-text);
  border: 1px solid var(--cor-btn-secondary-border);
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 25px;
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 8px;
}

.btn-biometria:hover {
    background-color: var(--cor-btn-secondary-hover);
}

/* =========================================================================
   ✨ ESTILIZAÇÃO DO MODAL DE ATIVAÇÃO BIOMÉTRICA
   ========================================================================= */

/* Fundo escurecido e borrado */
.modal-biometria-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.modal-biometria-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* Caixa do Modal */
.modal-biometria-content {
    background: #161b22; /* Tom escuro alinhado ao padrão GitHub/Stilbens */
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal-biometria-overlay.show .modal-biometria-content {
    transform: scale(1);
}

/* Ícone Animado de Digital */
.biometria-icon-wrapper {
    background: rgba(56, 139, 253, 0.15);
    color: #58a6ff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.biometria-icon-wrapper svg {
    width: 35px;
    height: 35px;
}

.modal-biometria-content h3 {
    color: #f0f6fc;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.modal-biometria-content p {
    color: #8b949e;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* Botões do Modal */
.modal-biometria-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-modal-ativar {
    background-color: #238636;
    color: #ffffff;
    border: 1px solid rgba(240, 246, 252, 0.1);
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s ease;
}

.btn-modal-ativar:hover {
    background-color: #2ea043;
}

.btn-modal-pular {
    background: transparent;
    color: #58a6ff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
}

.btn-modal-pular:hover {
    text-decoration: underline;
}
