:root {
    --auth-bg: #ffffff;
    --auth-primary: #4f46e5;
    --auth-primary-dark: #4338ca;
    --auth-input-border: #dde5f2;
    --auth-input-bg: #f5f7fc;
    --auth-text: #1f2a44;
    --auth-muted: #8b96ae;
    --auth-focus: 0 0 0 3px rgba(79, 70, 229, 0.16);
}

body {
    margin: 0;
    overflow-x: hidden;
    min-height: 100vh;
    font-family: "Poppins", "Segoe UI", sans-serif;
    font-size: 14px !important;
    color: var(--auth-text);
    background: var(--auth-bg);
}

a {
    text-decoration: none;
}

.container-fluid.auth-layout {
    min-height: 100vh;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login_row {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    margin: 0;
}

.login_row > [class*="col-md-"] {
    padding: 0;
}

.login_right,
.login_left {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.login_right {
    justify-content: center;
    background: #ffffff;
}

.left-panel-inner {
    width: 100%;
    max-width: 640px;
    padding: 28px 28px;
    text-align: center;
}

.brand-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.brand-inline-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.brand-inline-text {
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #24345e;
}

.login_right .logo {
    display: none;
}

.login_bg_pic {
    width: min(560px, 100%);
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.login_right .text-style1 {
    margin-top: 24px;
    color: #6e7f9f;
    font-size: 0.9rem;
    line-height: 1.45;
    letter-spacing: 0.03em;
    text-transform: none;
}

.custom_tag {
    color: #8d99b4;
    font-size: 0.86rem;
}

.login_left {
    justify-content: center;
    background: #ffffff;
    padding: 24px 24px;
    border-left: 1px solid #e8edf8;
}

.login_left .row {
    width: 100%;
}

.Loginform-box {
    width: 100%;
    max-width: 390px;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.login_left .logo {
    display: none;
}

.heading {
    text-align: center;
}

.heading h6 {
    margin: 0;
    font-size: 2.15rem;
    line-height: 1.2;
    font-weight: 700;
    color: #25355d;
}

.heading-subtitle {
    margin: 4px 0 0;
    color: var(--auth-muted);
    font-size: 1rem;
}

.loginForm {
    width: 100%;
    margin-top: 26px;
}

.input-icon-wrap {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.84rem;
    color: #a1aec8;
    pointer-events: none;
}

.input-icon-wrap .form-control {
    padding-left: 34px;
}

.Loginform-box input.form-control,
.Loginform-box select.form-select,
.chosen-container-single .chosen-single {
    width: 100%;
    height: 44px !important;
    border-radius: 9px !important;
    border: 1px solid var(--auth-input-border);
    background: var(--auth-input-bg);
    font-size: 0.92rem;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.Loginform-box input.form-control:focus,
.Loginform-box select.form-select:focus {
    background: #fff;
    border-color: var(--auth-primary);
    box-shadow: var(--auth-focus);
}

.Loginform-box input.form-control::placeholder {
    color: #a8b4cb;
}

.chosen-container {
    width: 100% !important;
    max-width: 100% !important;
}

.chosen-container .chosen-drop {
    width: 100% !important;
    border-radius: 0 0 9px 9px;
}

.chosen-container-single .chosen-single {
    padding-left: 10px;
    display: flex;
    align-items: center;
}

.chosen-container-single .chosen-single span {
    line-height: 29px;
    color: #33476f;
}

.chosen-container-active.chosen-with-drop .chosen-single,
.chosen-container-active .chosen-single {
    border-color: var(--auth-primary) !important;
    box-shadow: var(--auth-focus) !important;
}

label {
    color: #5b6f95;
    font-size: 0.84rem;
    font-weight: 500;
}

.login-actions {
    margin-top: -2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.remember-option {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #7f8cab;
    font-size: 0.84rem;
}

.remember-option input {
    width: 14px;
    height: 14px;
    accent-color: var(--auth-primary);
}

.forgot-link {
    color: #7f8cab;
    font-size: 0.84rem;
    font-weight: 500;
}

.forgot-link:hover {
    color: #5f6f95;
}

.btn {
    border-radius: 8px;
    font-weight: 600;
}

.btn-primary {
    height: 44px;
    border: none;
    background: var(--auth-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--auth-primary-dark);
}

.btn-outline-primary {
    border-color: #d8e1f2;
    color: #2e3f69;
    background: #fff;
}

.btn-outline-primary:hover {
    border-color: #c7d4ed;
    background: #f7faff;
    color: #2e3f69;
}

.credentialWrongEntryLabel,
.userError,
.passError {
    margin-top: 6px;
    font-size: 0.76rem !important;
    color: #d64055;
}

.signup-line {
    margin: 10px 0 10px;
    display: flex;
    justify-content: center;
    gap: 5px;
    color: #7f8cab;
    font-size: 0.9rem;
}

.signup-line a {
    color: var(--auth-primary);
    font-weight: 600;
}

.auth-divider {
    margin: 10px 0 10px;
    position: relative;
    text-align: center;
}

.auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px solid #e6ebf7;
}

.auth-divider span {
    position: relative;
    z-index: 1;
    background: #fff;
    padding: 0 10px;
    color: #9aa7c1;
    font-size: 0.8rem;
    font-weight: 600;
}

.social-row {
    display: flex;
    gap: 10px;
}

.social-btn {
    flex: 1;
    height: 42px;
    border-radius: 8px;
    border: 1px solid #d8e1f2;
    color: #2f3f69;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.social-btn:hover {
    background: #f7faff;
}

.social-icon {
    font-size: 0.78rem;
    color: #5f7096;
}

.More_links_login {
    display: none;
}

.policy-links {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 14px;
}

.policy-links a {
    font-size: 0.79rem;
    color: #9ca8bf;
}

.policy-links a:hover {
    color: #7d8ca9;
}

@media only screen and (max-width: 991px) {
    .login_row {
        width: 100%;
    }

    .login_row > [class*="col-md-"] {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .login_right,
    .login_left {
        min-height: auto;
    }

    .login_right {
        padding-top: 16px;
    }

    .left-panel-inner {
        max-width: 620px;
        padding: 16px;
    }

    .login_left {
        padding: 16px;
        border-left: none;
        border-top: 1px solid #e8edf8;
    }
}

@media only screen and (max-width: 575px) {
    .login_right {
        display: none;
    }

    .login_left {
        min-height: 100vh;
        padding: 20px 14px;
        border-top: none;
    }

    .heading h6 {
        font-size: 1.75rem;
    }

    .heading-subtitle {
        font-size: 0.9rem;
    }
}
