body {
    background-color: #F4F3EE;
    margin: 0;
    font-family: 'Public Sans', sans-serif;
}

.auth-cover-bg img {
    visibility: hidden;
}


/* Custom layout wrapper replicating the exact side-by-side split matching reference layout */
.custom-login-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
    justify-content: space-between;
    padding: 60px;
    box-sizing: border-box;
}

.side-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    overflow: hidden;
}

.side-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.0875em;
    vertical-align: top;
}

/* 1920px */
@media (min-width: 1600px) {
    .side-image {
        width: 100%;
    }

    .side-image img {
        width: 100%;
        height: auto;
    }
}


/* 1440px */
@media (min-width: 1200px) and (max-width: 1599px) {
    .side-image {
        width: 100%;
    }

    .side-image img {
        width: 100%;
        height: auto;
    }
}


/* 1140px */
@media (min-width: 992px) and (max-width: 1199px) {
    .side-image {
        width: 100%;
    }

    .side-image img {
        width: 100%;
        height: auto;
    }
}


/* 992px */
@media (min-width: 768px) and (max-width: 991px) {
    .side-image {
        width: 100%;
    }

    .side-image img {
        width: 100%;
        height: auto;
    }
}


/* 768px */
@media (min-width: 481px) and (max-width: 767px) {
    .side-image {
        width: 100%;
    }

    .side-image img {
        width: 100%;
        height: auto;
    }
}


/* 480px */
@media (max-width: 480px) {
    .side-image {
        width: 100%;
        height: auto;
        overflow: hidden;
    }

    .side-image img {
        width: 100%;
        height: auto;
        max-width: 100%;
        display: block;
        object-fit: contain;
    }
}

.custom-left-hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-right: 3rem;

}

.custom-left-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1167B0;
    margin-bottom: 1rem;
    line-height: 1.2;
    margin-top: 0;
}

.custom-left-hero p {
    font-size: 1.15rem;
    color: #475569;
    max-width: 500px;
    margin-bottom: 2rem;
    line-height: 1.5;
    margin-top: 0;
}

.custom-right-form {
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.from-card-css {
    background: #D6E1E6;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}

.custom-right-form .site-logo img {
    width: 100%;
    max-width: 180px;
    margin: auto;
    display: block;
    margin-bottom: 20px;
}

.custom-left-hero .logo-div-formpage img {
    width: 100%;
    max-width: 200px;
    margin-bottom: 20px;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 400;
    color: #000;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 1.75rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1f36;
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    color: #1a1f36;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: #1167B0;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-control::placeholder {
    color: #94a3b8;
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.1rem;
    color: #64748b;
    background: none;
    border: none;
}

.forgot-password-wrapper {
    text-align: left;
    margin-bottom: 1.25rem;
}

.forgot-link {
    font-size: 0.9rem;
    color: #1167B0;
    text-decoration: none;
    font-weight: 600;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 0.9rem;
    font-size: 1rem;
    font-weight: 400;
    color: #ffffff;
    background-color: #1167B0;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: 'Public Sans', sans-serif;
}

.btn-submit:hover {
    background-color: #0369a1;
}

.signup-text {
    text-align: center;
    font-size: 0.95rem;
    color: #000;
    margin-top: 1.5rem;
}

.signup-link {
    color: #1167B0;
    text-decoration: none;
    font-weight: 600;
    margin-left: 0.25rem;
}

.signup-link:hover {
    text-decoration: underline;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: #000000;
    font-size: 0.85rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #000000;
}

.divider span {
    padding: 0 0.75rem;
}

.social-login-wrapper {
    display: flex;
    justify-content: center;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: auto;
    padding: 10px 20px;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 31px;
    text-decoration: none;
    color: #1a1f36;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.2s;
}

.google-btn:hover {
    background-color: #f8fafc;
}

.social-icon {
    width: 20px;
    height: 20px;
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
}

.alert-danger {
    background-color: #f8d7da;
    color: #842029;
}


.form-control::placeholder {
    color: #1167B0;
    font-family: 'Public Sans', sans-serif;
    font-size: 16px;
    opacity: 0.5;
    font-weight: 400;
}

.form-check-label {
    color: #000;
}

.form-check-label a {
    color: #1167B0;
    text-decoration: none !important;
}

.back-login-wrapper {
    width: 100%;
    margin-top: 24px;
    text-align: center;
}

.back-login-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #0066b3;
    font-family: 'Public Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.back-login-link:hover {
    color: #005a9c;
    text-decoration: none;
}

.back-arrow {
    font-size: 24px;
    line-height: 1;
    font-weight: 400;
    color: #000000;
}

/* Responsive adjustments for Tablets, Mobile, and TV screens */
@media (max-width: 992px) {
    .custom-login-layout {
        flex-direction: column;
        padding: 2rem 1rem;
        justify-content: center;
    }

    .custom-left-hero {
        display: none;
    }

    .custom-right-form {
        max-width: 100%;
        margin-top: 0;
    }

    .logo-div-formpage {
        top: 1.5rem;
        left: 1.5rem;
    }

    .from-card-css {
        padding: 1.5rem
    }

    .custom-right-form .site-logo img {
        max-width: 150px;
    }
}

@media (min-width: 1600px) {
    .custom-login-layout {
        padding: 70px 120px;
    }
}

.text-danger {
    color: red;
    margin-top: 5px;
}