/* 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;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url("../images/backgrounds/bg-principal.png") center center / cover no-repeat fixed;
}

/* CARD LOGIN */
.login-card {
    background: rgba(9, 34, 71, 0.95);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    width: 100%;
    max-width: 420px;
    color: #e1e4ed;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* LOGO */
.logo-topo {
    height: 50px;
    filter: drop-shadow(0 0 5px rgba(255, 193, 7, 0.3));
}

/* 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;
}

.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 */
}
