/* ======================================== */
/* Design Tokens */
/* ======================================== */
:root {
    --color-bg: #FAFBFC;
}

/* ======================================== */
/* Layout */
/* ======================================== */
.outer-auth-div {
    display: flex;
    min-height: 100vh;
    background-color: var(--color-bg);
    opacity: 1;
}

.left-auth-div {
    display: flex;
    flex-direction: column;
    background-image: url(/images/auth/background.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #F8F9FA;
    width: 50%;
    flex: 0 0 50%;
    position: relative;
    min-height: 100vh;
}

.left-auth-div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 82, 87, 0.3) 0%, rgba(8, 121, 144, 0.2) 100%);
    z-index: 1;
}

.left-auth-div > * {
    position: relative;
    z-index: 2;
}

.right-auth-div {
    width: 50%;
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    overflow-y: auto;
}

.right-auth-inner-div {
    max-width: 32rem;
    width: 100%;
    margin: 0 auto;
}

/* ======================================== */
/* Typography */
/* ======================================== */
.auth-full-screen-header-div {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

.h1-auth {
    text-align: center;
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.auth-image-center {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
}

.auth-panel-logo {
    height: 4rem;
    width: auto;
    max-width: 100%;
    margin-top: 0;
}

.p-auth {
    text-align: center;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.auth-full-screen-footer {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 1.75rem;
    font-size: 1rem;
    font-weight: 400;
}

.auth-full-screen-footer a {
    color: #F8F9FA;
    text-decoration: none;
}

.auth-full-screen-footer p {
    color: #F8F9FA;
    margin: 0;
}

.mobile-footer {
    display: none;
    position: relative;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: transparent;
    color: #6C757D;
    font-size: 0.875rem;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.mobile-footer p {
    margin: 0;
    color: #6C757D;
}

.mobile-footer a {
    color: #6C757D;
    text-decoration: none;
}

/* ======================================== */
/* Responsive Design */
/* ======================================== */
@media only screen and (max-width: 1024px) {
    .outer-auth-div {
        flex-direction: column;
        min-height: 100vh;
        background: #FFFFFF;
    }

    .left-auth-div {
        display: none;
    }

    .right-auth-div {
        flex: 1;
        width: 100%;
        padding: 1rem 1.5rem;
        justify-content: center;
        align-items: center;
        overflow-y: auto;
    }

    .right-auth-inner-div {
        max-width: unset;
        margin: 0 auto;
        width: 90%;
    }

    .auth-full-screen-footer {
        display: none;
    }

    .mobile-footer {
        display: flex;
        margin-top: 1rem;
        padding: 0.75rem 2rem;
    }
}

@media only screen and (max-width: 768px) {
    .right-auth-div {
        width: 100%;
        padding: 0.5rem;
        justify-content: center;
        align-items: center;
        overflow-y: auto;
    }

    .right-auth-inner-div {
        max-width: 100%;
        width: 95%;
        margin: 0 auto;
    }

    .auth-full-screen-footer {
        display: none;
    }

    .mobile-footer {
        display: flex;
        margin-top: 0.5rem;
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}
