:root {
    --overlay-color: rgba(0, 0, 0, 0.80);
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--bs-body-font-family);
}


.login-background {
    position: fixed;
    inset: 0;
    z-index: -1;

    background:
        linear-gradient(
            var(--overlay-color),
            var(--overlay-color)
        ),
        var(--login-background-image) center / cover no-repeat;
}

.login-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}


.login-left {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.login-left img {
    display: block;
    width: 70%;
    max-width: 450px;
    height: auto;
    object-fit: contain;
}


.login-right {
    min-width: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 3rem;
}

.login-content {
    width: 100%;
    max-width: 440px;
    margin: auto;
    color: #fff;
}


.login-form {
    width: 100%;
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}


.login-logo {
    display: inline-block;
    width: 100px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(1px 1px 2px #fff);
}

.login-divider {
    width: 64px;
    height: 3px;
    margin: 1rem auto;
    background-color: var(--gold);
    border-radius: 2px;
}


.login-content .form-control {
    min-height: 46px;
}

.login-content .input-group-text {
    min-width: 46px;
    justify-content: center;
}

.login-content .form-control:focus {
    position: relative;
    z-index: 3;
}

.login-content .form-control,
.login-content .input-group-text {
    border-color: #dee2e6;
}

.login-content .form-check-label,
.login-content a {
    color: #fff;
}

.login-content a {
    text-decoration: none;
}

.login-content a:hover {
    color: var(--gold);
    text-decoration: underline;
}

.btn-login {
    min-height: 46px;
    color: #fff;
    background-color: #003300;
    border: 0;
    border-left: 3px solid yellow;
}

.btn-login:hover,
.btn-login:focus,
.btn-login:active {
    color: yellow;
    background-color: #006600;
    border-left-color: var(--gold);
}

.marquee {
    position: relative;
    overflow: hidden;
    background: #003300;
    border-top: 3px solid #006600;
    box-shadow: 0 -2px 0 #00aa00;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
    font-weight: bold;
}

.marquee-track span {
    display: block;
    flex: 0 0 auto;
    white-space: nowrap;
    padding-right: 1rem;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }
}


.login-footer {
    color: rgba(255, 255, 255, 0.85);
}


@media (max-height: 650px) and (min-width: 992px) {
    .login-right {
        align-items: flex-start;
    }
}


@media (max-width: 991.98px) {
    .login-wrapper {
        grid-template-columns: 1fr;
    }

    .login-left {
        display: none;
    }

    .login-right {
        min-height: 100vh;
        padding: 2rem 1.5rem;
    }

    .login-content {
        max-width: 440px;
    }
}

@media (max-width: 575.98px) {
    .login-right {
        padding: 1.5rem 1.25rem;
    }

    .login-logo {
        width: 90px;
    }
}

.swal2-html-container {
    white-space: pre-line;
}

.swal2-timer-progress-bar {
    background: #07583b !important;
}