html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: 'Inter', sans-serif;
    background: #0f172a;
}


.message-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

    .modal-overlay.active {
        display: flex;
    }

.modal-content {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    border: none;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
}

.btn-primary {
    margin: 10px 0;
}

.btn-entrar {
    width: 100%;    
}

.img-logo-login {
    width: 300px;
}

.auth-body {
    min-height: 100vh;
    overflow: hidden;
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
}

.auth-left {
    width: 50%;
    background: linear-gradient( 135deg, rgba(15,23,42,0.92), rgba(30,41,59,0.96) );
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 60px;    
    flex-direction: column;
    justify-content: center;
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 50px;
}

.auth-logo {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.auth-brand h1 {
    margin: 0;
    font-size: 34px;
    font-weight: 700;
}

.auth-brand p {
    margin: 4px 0 0;
    opacity: 0.8;
}

.auth-hero h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.auth-hero p {
    font-size: 17px;
    line-height: 1.7;
    opacity: 0.9;
    max-width: 600px;
}

.auth-features {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

    .auth-features li {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 16px;
    }

    .auth-features i {
        color: #22c55e;
    }

.auth-right {
    width: 50%;
    background: #f8fafc;    
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.auth-card {
    width: 100%;
    margin: 0 auto;
    max-width: 800px;
    background: #fff;
    border-radius: 24px;
    padding: 0px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.75);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    color: #fff;
}

.d-none {
    display: none !important;
}


.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

    .loading-overlay.active {
        display: flex;
    }

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid var(--branco);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

footer {
    max-width: 800px;    
    display: block;
    padding: 10px;
    color: #FFF;
    position: fixed;
    bottom: 0px;
    left: 50px;
}

    footer p {
        margin-bottom: 0rem;
        font-size: 0.8rem;
    }
    footer .footer-company {
        font-size: 0.6rem;
        opacity: 0.7;
        margin-top: 4px;
    }

    /*MEDIAS*/
    @media screen and (max-width: 992px) {
        .auth-left {
        display: none;
    }

    .auth-right {
        width: 100%;
        padding: 0;
    }

    .auth-card {
        max-width: 100%;
    }
}
@media screen and (max-width: 768px) {
    footer {
        max-width: 800px;
        display: block;
        position: fixed;
        padding: 0px 20px 0px 0px;
        color: var(--azul-escuro);
        bottom: 115px;
        left: 20px;
    }

/*        footer p {
            margin-bottom: 0rem;
            font-size: 0.8rem;
        }

        footer .footer-company {
            font-size: 0.6rem;
            opacity: 0.7;
            margin-top: 4px;
        }*/
    .img-logo-login {
        width: 180px;
    }
    .login-page {
        align-items: inherit;
    }
}