/* Codexa Login Button Override */
.login-res-btn {
    background: linear-gradient(135deg, #185a9d 0%, #43cea2 100%) !important;
    color: #ffffff !important;
    border: 0 !important;
    width: 100%;
    border-radius: 30px !important;
    /* Ensure rounded corners */
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 12px 0 !important;
    transition: all 0.3s ease;
}

.login-res-btn:hover {
    box-shadow: 0 10px 20px rgba(24, 90, 157, 0.3) !important;
    transform: translateY(-2px);
}

.buttonCSS {
    float: left;
    margin-right: 5px;
    width: 45%;
}

.buttonCSS button.login-res-btn {
    margin: 5px !important;
    padding: 5px;
    width: 100%;
}

.super_admin_btn {
    background: #2a53a2 !important;
}

.email_input {
    position: relative;
    top: -20px;
}

/* Codexa Gradient Light Theme */

/* Main Form Card */
.main-content {
    background: transparent !important;
    padding: 40px;
    border-radius: 0;
    box-shadow: none !important;
    color: #828bb2 !important;
    max-width: 500px;
    /* Limit width */
    margin: 0 auto;
    /* Center */
}

/* Ensure body doesn't override */
body.login-registration-area,
.main-login-area {
    background: transparent !important;
}

/* Headings and Text (Reset to Dark) */
.main-content h1,
.main-content h2,
.main-content h3,
.main-content h4,
.main-content h5,
.main-content h6,
.main-content p,
.main-content span,
.main-content label {
    color: #415094 !important;
    /* Standard Heading Color */
}

.main-content a {
    color: #828bb2 !important;
}

.main-content a:hover {
    color: #185a9d !important;
    text-decoration: underline !important;
}

/* Input Fields (Reset to Light) */
.main-content input,
.main-content .form-control {
    background: #ffffff !important;
    border: 1px solid #ced4da !important;
    color: #495057 !important;
    border-radius: 5px !important;
    padding: 12px 20px !important;
    height: auto !important;
}

.main-content input:focus,
.main-content .form-control:focus {
    background: #ffffff !important;
    border-color: #185a9d !important;
    box-shadow: 0 0 0 3px rgba(24, 90, 157, 0.1) !important;
}

.main-content input::placeholder {
    color: #828bb2 !important;
    font-weight: 300;
}

/* Checkboxes */
.main-content .primary_checkbox .checkmark {
    background: #ffffff !important;
    border: 1px solid #ced4da !important;
}

/* Disable Side Image Globally */
/* Restore Left Side Image for XL Screens */
@media (min-width: 1200px) {
    .login-res-v2 {
        position: relative;
        min-height: 100vh;
        overflow-x: hidden;
    }

    .login-res-v2::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 41.666667%;
        /* 5 Columns */
        height: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: 1;
    }

    .login-res-v2 .container {
        position: relative;
        z-index: 2;
    }
}