body {
    background-color: var(--black);
    font-family: var(--Regular);
}

.login-container {
    height: 628px;
    width: 595px;
    background-color: var(--white);
}


/*Border Color*/
.border-blue {
    border-style: solid;
    border-width: 0.5px;
    border-color: var(--black);
    background-color: var(--dirtyWhite);
}

/*Font Color*/
.text-blue {
    color: var(--primaryColor);
}

.btn-code {
    background-color: var(--primaryColor);
    color: var(--white);
    font-size: 20px;
    font-family: var(--SemiBold);
    width: 73% !important;
}

.btn-code:hover {
    background-color: var(--primaryColor) !important;
    color: var(--black) !important;
    border: 1px solid var(--black) !important;
}

.login-form {
    max-width: 75% !important;
}

.highlight:hover {
    transition: ease-in 0.2s;
    color: var(--highlight) !important;
}


/*Responsiveness*/
@media screen and (max-height: 900px) {
    .login-container {
        height: 590px;
    }
}

@media screen and (max-width: 767px) {
    .login-container {
        height: 544px;
        width: 506px;
    }
}

@media screen and (max-width: 575px) {
    .login-container {
        height: 474px;
        width: 430px;
    }

    .btn-code {
        font-size: 18px;
    }
}

@media screen and (max-width: 496px) {
    .login-container {
        height: 435px;
        width: 400px;
    }

    .logo {
        width: 235px;
    }

    .text-small {
        font-size: 14px;
    }
}

@media screen and (max-width: 430px) {
    .login-container {
        width: 360px;
    }

    .login-form {
        max-width: 100% !important;
    }
}

@media screen and (max-width: 380px) {
    .login-container {
        width: 300px;
    }

    .logo {
        width: 220px;
    }
}

.input-style {
    padding-left: 20px !important;
}

/* Error Alert Styles */
.custom-alert {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: var(--Regular);
    font-size: 13px;
    width: 71%;
    margin: 20px auto;   
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
    margin-bottom: 3px;
}

.alert-message {
    flex: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===== Mobile UI Override (≤768px) ===== */
@media (max-width: 768px) {
    body {
        background-color: #fff5eb;
        font-family: var(--Regular);
    }

    .login-container {
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    .login-container img.logo {
        width: 180px;
        margin-bottom: 20px;
    }

    .form-control {
        border-radius: 12px !important;
        height: 50px;
        font-size: 15px;
        padding-left: 15px;
    }

    .btn-code {
        background-color: #f5cf86 !important;
        border-radius: 13px !important;
        font-weight: 600;
    }



    .text-small {
        font-size: 14px;
    }

    .custom-alert {
        width: 93%;
        max-width: none !important;
        border-radius: 13px;
    }
}

/* Hide by default (desktop) */
.mobile-only {
    display: none;
}

/* Show only on mobile (≤768px) */
@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
}

/* Forgot Password Heading Styles */
.forgot-password-heading {
    font-family: 'Bold', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 30px;
    line-height: 100%;
    letter-spacing: -3%;
    text-align: center;
    color: var(--black);
    margin: 0;
}

/* Forgot Password Description Styles */
.forgot-password-description {
    font-family: 'Regular', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -3%;
    text-align: center;
    vertical-align: middle;
    color: var(--black);
    margin: 0;
}

/* Back to Login Styles */
.back-to-login {
    font-family: 'Regular', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -3%;
    text-align: center;
    vertical-align: middle;
    color: var(--black);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Arrow Back Icon Styles */
.arrow-back-icon {
    font-variation-settings:
        'FILL' 1,
        'wght' 300,
        'GRAD' 200,
        'opsz' 24;
    font-size: 20px;
}