/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* FUNDO GLOBAL */
html {
    width: 100%;
    height: 100%;
    background: url("../images/backgrounds/FundoJuninoProH.png") center center / cover no-repeat fixed;
}


body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    font-family: Arial, sans-serif;
}

/* CARD LOGIN */
.login-card {
    background: #092247;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    width: 100%;
    max-width: 400px;
    color: #b6bdda;
}

/* LOGO */
.logo-topo {
    max-width: 260px;
    display: block;
    margin: 0 auto 20px;
}

/* BOTÃO GOOGLE */
.btn-google {
    background: #fff;
    border: 1px solid #dadce0;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
}

.btn-google img {
    width: 18px;
}

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

/* MODAL */
.modal-dark {
    background-color: #011545;
    color: #fff;
}


/* ================= RESPONSIVIDADE ================= */

/* Notebooks com altura reduzida */
@media (max-height: 700px) {
    .login-card {
        padding: 1.25rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    .logo-topo {
        max-width: 180px;
        margin-bottom: 10px;
    }
}

/* Celulares */
@media (max-width: 576px) {
    .login-card {
        width: 90%;
        padding: 1.5rem;
        border-radius: 12px;
    }

    .logo-topo {
        max-width: 200px;
    }

    body {
        padding: 1rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .login-card {
        width: 85%;
    }
}

/* ================= MODAL RESPONSIVO (SMARTPHONES) ================= */

@media (max-width: 576px) {

    .modal-dialog {
        margin: 0;
        max-width: 100%;
        height: 100%;
    }

    .modal-content {
        height: 100%;
        border-radius: 0;
    }

    .modal-body {
        overflow-y: auto;
        padding-bottom: 2rem;
    }

    .modal-header img.logo-topo {
        max-width: 180px;
        margin-bottom: 10px;
    }

    .modal-footer {
        flex-direction: column;
        gap: 10px;
    }

    .modal-footer button {
        width: 100%;
    }
}

/* ===== HEADER DO MODAL CENTRALIZADO ===== */

.modal-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding-top: 1.2rem;
    padding-bottom: 1rem;
}

.modal-header .logo-topo {
    margin: 0;
}

.modal-header .modal-title {
    width: 100%;
    text-align: center;
}

/* Botão fechar no canto superior direito */
.modal-header .btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
}
