/* FUNDO GLOBAL */
html,
body {
    width: 100%;
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    /* Fundo com o padrão JuninoPro ocupando a tela toda como na imagem da esquerda */
    background: url("../images/backgrounds/FundoJuninoProH.png") center center / cover no-repeat fixed;
}

/* CARD LOGIN */
.login-card {
    background: rgba(223, 14, 14, 0.03);
    /* Vidro bem suave */
    padding: 2.5rem 2rem;
    border-radius: 20px;
    /* Cantos mais arredondados */
    width: 100%;
    max-width: 420px;
    color: #e1e4ed;
    backdrop-filter: blur(20px);
    /* Desfoque maior */
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* LOGO */
.logo-topo {
    height: 50px;
    /* Sombras removidas conforme solicitado */
    filter: none;
}

/* MODAL */
.modal-dark {
    background-color: #0d1b3e;
    color: #fff;
    border-radius: 15px;
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* INPUTS */
.form-control,
.form-select {
    border-radius: 8px;
    padding: 0.6rem 0.75rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
    border-color: #ffc107;
}

.input-group-text {
    border-radius: 8px 0 0 8px;
}

.input-group .form-control {
    border-radius: 0 8px 8px 0;
}

/* BOTOES */
.btn-warning {
    background-color: #ffc107;
    border: none;
    color: #000;
    transition: all 0.3s ease;
}

.btn-warning:hover:not(:disabled) {
    background-color: #ffca2c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.btn-warning:disabled {
    background-color: #6c757d;
    opacity: 0.6;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* REGRAS DE SENHA */
.password-rules i {
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.text-success i {
    color: #198754 !important;
}

.text-danger i {
    color: #dc3545 !important;
}

/* FEEDBACK */
#registerMessage,
#forgotMessage,
#message {
    min-height: 20px;
    font-weight: 500;
}

/* SPINNER */
.spinner-border {
    display: none;
}

/* DIVIDER */
.divider hr {
    opacity: 0.2;
}

.divider span {
    color: #ffffff !important;
    /* Cor branca para o 'OU' ficar visível */
    font-weight: 500;
}

.modal-footer {
    display: flex;
    align-items: center;
}

.modal-footer .footer-logo {
    margin-right: auto;
    /* empurra os botões para a direita */
    height: 42px;
    /* ajuste fino opcional */
}