/* =========================================================
   AUTHENTICATION
   ========================================================= */

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

.auth-body {
    margin: 0;
    background: #f8fafc;
    color: #1e293b;
}

.auth-main {
    min-height: 100vh;
    width: 100%;
    padding: 0;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    background: #ffffff;
}


/* =========================================================
   FORM PANEL
   ========================================================= */

.auth-form-panel {
    width: 48%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 70px;
    background: #ffffff;
}

.login-content {
    width: 100%;
    max-width: 460px;
}


/* =========================================================
   BRAND
   ========================================================= */

.login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 58px;
    display: none;
}

.login-brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EBCC00;
    color: #09000D;
    font-size: 20px;
    box-shadow: 0 8px 18px rgba(235, 204, 0, .25);
}

.login-brand-name {
    display: block;
    color: #1e293b;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.login-brand-subtitle {
    display: block;
    margin-top: 2px;
    color: #64748b;
    font-size: 11px;
}


/* =========================================================
   HEADER
   ========================================================= */

.login-header {
    margin-bottom: 32px;
}
  .logo { margin-bottom: 36px; }
  .logo img{ height: 28px; width: auto; max-width: none; display: block; }
    .login-eyebrow {
        display: block;
        margin-bottom: 10px;
        color: #6B6470;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 1.4px;
    }

.login-header .title {
    margin: 0;
    color: #0f172a;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.6px;
}

.login-header p {
    max-width: 390px;
    margin: 10px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   FORM
   ========================================================= */

.login-form {
    width: 100%;
}
    .login-form p{
        margin-bottom:10px;
    }
    .login-field {
        margin-bottom: 21px;
    }

    .login-field label {
        display: block;
        margin-bottom: 8px;
        color: #334155;
        font-size: 13px;
        font-weight: 600;
    }

.login-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .login-label-row label {
        margin-bottom: 8px;
    }

.login-forgot {
    margin-bottom: 8px;
    color: #09000D;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

    .login-forgot:hover {
        color: #2A2130;
        text-decoration: underline;
    }


/* =========================================================
   INPUTS
   ========================================================= */

.login-input-wrapper {
    position: relative;
}

    .login-input-wrapper > i {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #94a3b8;
        font-size: 18px;
        z-index: 2;
    }

.login-input {
    width: 100%;
    height: 50px;
    padding: 0 15px 0 43px;
    border: 1px solid #dbe2ea;
    border-radius: 11px;
    background: #ffffff;
    color: #1e293b;
    font-size: 13px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

    .login-input::placeholder {
        color: #94a3b8;
    }

    .login-input:hover {
        border-color: #cbd5e1;
    }

    .login-input:focus {
        border-color: #09000D;
        background: #ffffff;
        box-shadow: 0 0 0 3px rgba(9, 0, 13, .12);
    }

        .login-input:focus + * {
            color: #09000D;
        }


/* =========================================================
   REMEMBER ME
   ========================================================= */

.login-options {
    display: flex;
    align-items: center;
    margin: 2px 0 23px;
}

.login-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
}

    .login-remember .form-check-input {
        width: 16px;
        height: 16px;
        margin: 0;
        border-color: #cbd5e1;
        border-radius: 5px;
        cursor: pointer;
    }

        .login-remember .form-check-input:checked {
            background-color: #09000D;
            border-color: #09000D;
        }


/* =========================================================
   LOGIN BUTTON
   ========================================================= */

.login-submit {
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #09000D;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

    .login-submit:hover {
        background: #2A2130;
        color: #ffffff;
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(9, 0, 13, .28);
    }

    .login-submit i {
        font-size: 15px;
        transition: transform .2s ease;
    }

    .login-submit:hover i {
        transform: translateX(3px);
    }


/* =========================================================
   LINKS
   ========================================================= */

.login-links {
    margin-top: 25px;
    text-align: center;
}

.login-register {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #64748b;
    font-size: 12px;
}

    .login-register a {
        color: #09000D;
        font-weight: 600;
        text-decoration: none;
    }

        .login-register a:hover {
            text-decoration: underline;
        }

.login-confirmation {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    color: #64748b;
    font-size: 11px;
    text-decoration: none;
}

    .login-confirmation:hover {
        color: #09000D;
    }

    .login-confirmation i {
        font-size: 13px;
    }


/* =========================================================
   VALIDATION
   ========================================================= */

.login-validation {
    padding: 12px 14px;
    margin-bottom: 20px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 12px;
}

.login-field .text-danger {
    display: block;
    margin-top: 5px;
    font-size: 11px;
}
.login-validation.validation-summary-errors {
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 12px;
}

.login-validation.validation-summary-valid {
    display: none;
}
.login-validation ul{
    list-style:none;
    margin-bottom:0px;
    margin-top:5px;
}
.login-validation ul li{
    margin-bottom:10px;
}
    /* =========================================================
   IMAGE PANEL
   ========================================================= */

    .auth-image-panel {
    position: sticky;
    top: 0;
    width: 52%;
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    background: #09000D;
}

    .auth-image-panel img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


/* =========================================================
   IMAGE OVERLAY
   ========================================================= */

.auth-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 135deg, rgba(9, 0, 13, .88), rgba(42, 33, 48, .50) );
}


/* =========================================================
   IMAGE CONTENT
   ========================================================= */

.auth-image-content {
    position: absolute;
    left: 70px;
    right: 70px;
    bottom: 70px;
    top: 70px;
    max-width: 540px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-image-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    margin-bottom: 18px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 30px;
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 600;
}

    .auth-image-badge i {
        font-size: 14px;
        color: #EBCC00;
    }

.auth-image-content h2 {
    margin: 0;
    font-size: 39px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -.8px;
}

    .auth-image-content h2 span {
        display: block;
        color: #EBCC00;
    }

.auth-image-content p {
    max-width: 480px;
    margin: 17px 0 0;
    color: rgba(255,255,255,.78);
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   IMAGE CONTENT — CHANNEL ROW
   ========================================================= */

.auth-channel-row {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.auth-channel-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 30px;
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
}

    .auth-channel-pill i {
        font-size: 14px;
        color: #EBCC00;
    }

@media (max-width: 1100px) {
    .auth-channel-row {
        margin-top: 18px;
    }
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .auth-form-panel {
        width: 52%;
        padding: 45px;
    }

    .auth-image-panel {
        width: 48%;
    }

    .auth-image-content {
        left: 45px;
        right: 45px;
        bottom: 50px;
    }

        .auth-image-content h2 {
            font-size: 32px;
        }
}


@media (max-width: 850px) {

    .auth-image-panel {
        display: none;
    }

    .auth-form-panel {
        width: 100%;
        padding: 40px 25px;
    }

    .login-content {
        max-width: 440px;
    }

    .login-brand {
        margin-bottom: 45px;
    }
}


@media (max-width: 480px) {

    .auth-form-panel {
        padding: 30px 20px;
    }

    .login-brand {
        margin-bottom: 40px;
    }

    .login-header h1 {
        font-size: 27px;
    }

    .login-header p {
        font-size: 13px;
    }

    .login-label-row {
        align-items: flex-start;
        gap: 10px;
    }
}

/* Authentication page icon */

.auth-page-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #F3F2F4;
    color: #09000D;
    font-size: 19px;
}
/* =========================================================
   FORGOT PASSWORD
   ========================================================= */

.login-content {
    width: 100%;
    max-width: 390px;
}

/* Recovery icon */

.auth-page-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #F3F2F4;
    color: #09000D;
    font-size: 19px;
}

/* Heading */

.login-heading {
    margin-bottom: 28px;
}

.login-eyebrow {
    display: block;
    margin-bottom: 9px;
    color: #09000D;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.login-heading h1 {
    margin: 0;
    color: #1e293b;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 750;
    letter-spacing: -.6px;
}

.login-heading p {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.65;
}

/* Form */

.login-form {
    width: 100%;
}

.login-field {
    margin-bottom: 20px;
}

    .login-field label {
        display: block;
        margin-bottom: 8px;
        color: #334155;
        font-size: 13px;
        font-weight: 650;
    }

.login-input-wrapper {
    position: relative;
}

    .login-input-wrapper > i {
        position: absolute;
        top: 50%;
        left: 15px;
        z-index: 2;
        color: #94a3b8;
        font-size: 18px;
        transform: translateY(-50%);
    }

.login-input {
    width: 100%;
    height: 49px !important;
    padding: 0 15px 0 42px !important;
    border: 1px solid #dbe2ea !important;
    border-radius: 11px !important;
    background: #fff !important;
    color: #1e293b;
    font-size: 13px;
    outline: none;
    box-shadow: none;
    transition: all .2s ease;
}

    .login-input::placeholder {
        color: #94a3b8;
    }

    .login-input:focus {
        border-color: #09000D !important;
        box-shadow: 0 0 0 4px rgba(9, 0, 13, .12) !important;
    }

/* Validation */

.login-validation {
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 12px;
}

.text-danger {
    display: block;
    margin-top: 6px;
    font-size: 12px;
}


/* =========================================================
   PRIMARY BUTTON
   ========================================================= */

.login-submit-button {
    width: 100% !important;
    height: 49px !important;
    min-height: 49px;
    padding: 0 18px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none !important;
    border-radius: 11px !important;
    background: #09000D !important;
    color: #fff !important;
    font-family: inherit;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer;
    text-decoration: none;
    box-shadow: none;
    transition: all .2s ease;
}

    .login-submit-button:hover {
        background: #2A2130 !important;
        color: #fff !important;
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(9, 0, 13, .28);
    }

    .login-submit-button:active {
        transform: translateY(0);
    }

    .login-submit-button i {
        font-size: 16px;
    }


/* =========================================================
   DIVIDER
   ========================================================= */

.login-divider {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 25px 0 18px;
    color: #94a3b8;
    font-size: 11px;
}

    .login-divider::before,
    .login-divider::after {
        content: "";
        height: 1px;
        flex: 1;
        background: #e2e8f0;
    }

    .login-divider span {
        white-space: nowrap;
    }


/* =========================================================
   SECONDARY BUTTON
   ========================================================= */

a.login-secondary-button {
    width: 100% !important;
    height: 47px;
    min-height: 47px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe2ea !important;
    border-radius: 11px !important;
    background: #fff !important;
    color: #334155 !important;
    font-family: inherit;
    font-size: 13px !important;
    font-weight: 650 !important;
    text-decoration: none !important;
    transition: all .2s ease;
}

    a.login-secondary-button:hover {
        border-color: #09000D !important;
        background: #F3F2F4 !important;
        color: #09000D !important;
    }


/* =========================================================
   FOOTER LINK
   ========================================================= */

.login-footer-links {
    margin-top: 21px;
    text-align: center;
}

    .login-footer-links a {
        color: #64748b !important;
        font-size: 12px;
        font-weight: 500;
        text-decoration: none;
    }

        .login-footer-links a:hover {
            color: #09000D !important;
            text-decoration: underline;
        }


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 850px) {

    .login-content {
        max-width: 420px;
    }
}

@media (max-width: 480px) {

    .login-heading h1 {
        font-size: 25px;
    }

    .login-heading p {
        font-size: 13px;
    }
}


/* =========================================================
   OMS STATUS MESSAGE
   ========================================================= */

.oms-status-message {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 15px;
    margin-bottom: 20px;
    border: 1px solid;
    border-radius: 12px;
    position: relative;
    animation: omsStatusIn .2s ease-out;
}

.oms-status-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    font-size: 15px;
}

.oms-status-content {
    flex: 1;
    min-width: 0;
    padding-top: 1px;
}

.oms-status-title,
.oms-status-text {
    display: block;
}

.oms-status-title {
    margin-bottom: 2px;
    font-size: 12px;
    font-weight: 700;
}

.oms-status-text {
    font-size: 12px;
    line-height: 1.5;
}

.oms-status-close {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    cursor: pointer;
    font-size: 11px;
    transition: all .2s ease;
}


/* Success */

.oms-status-message-success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

    .oms-status-message-success .oms-status-icon {
        background: #dcfce7;
        color: #16a34a;
    }

    .oms-status-message-success .oms-status-close {
        color: #15803d;
    }

        .oms-status-message-success .oms-status-close:hover {
            background: #dcfce7;
        }


/* Error */

.oms-status-message-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

    .oms-status-message-error .oms-status-icon {
        background: #fee2e2;
        color: #dc2626;
    }

    .oms-status-message-error .oms-status-close {
        color: #b91c1c;
    }

        .oms-status-message-error .oms-status-close:hover {
            background: #fee2e2;
        }


/* Animation */

@keyframes omsStatusIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

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


/* Mobile */

@media (max-width: 480px) {

    .oms-status-message {
        padding: 12px;
        gap: 10px;
    }

    .oms-status-icon {
        width: 32px;
        height: 32px;
    }

    .oms-status-text {
        font-size: 11px;
    }
}


/* =========================================================
   PASSWORD SECURITY HINT
   ========================================================= */

.password-security-hint {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 11px 13px;
    margin: -3px 0 20px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    color: #64748b;
    font-size: 11px;
    line-height: 1.5;
}

    .password-security-hint i {
        flex-shrink: 0;
        margin-top: 1px;
        color: #09000D;
        font-size: 13px;
    }


/* Make the password toggle work cleanly with
   the existing input styling */

.login-password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 30px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    transform: translateY(-50%);
    transition: all .2s ease;
}

    .login-password-toggle:hover {
        background: #f1f5f9;
        color: #09000D;
    }

    .login-password-toggle i {
        font-size: 14px;
    }

@media (max-width: 480px) {
    .otp-input {
        letter-spacing: 5px;
        font-size: 17px !important;
    }
}

@media (max-width: 480px) {
    .otp-input {
        letter-spacing: 5px;
        font-size: 16px !important;
    }
}

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

    .login-divider::before,
    .login-divider::after {
        content: "";
        flex: 1;
        border-bottom: 1px solid #ddd;
    }

    .login-divider span {
        padding: 0 0.75rem;
    }

.login-external-providers {
    display: flex;
    gap: 0.75rem;
}

.login-external-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.15s;
}

    .login-external-btn:hover {
        background: #f6f6f6;
    }



@media (max-width: 480px) {
    .recovery-login-notice {
        padding: 12px;
    }

    .recovery-login-notice-icon {
        width: 30px;
        height: 30px;
    }

    .recovery-login-footer {
        font-size: 8px;
    }
}
/* =========================================================
   ART PANEL
   ========================================================= */

.auth-image-panel {
    position: sticky;
    top: 0;
    width: 52%;
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    background: #09000D;
}

    .auth-image-panel::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 78% 30%, rgba(235, 204, 0, .10), transparent 55%);
    }


/* =========================================================
   ART CONTENT
   ========================================================= */

.auth-image-content {
    position: absolute;
    left: 70px;
    right: 70px;
    bottom: 70px;
    top: 70px;
    max-width: 540px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
}

.auth-eyebrow {
    color: #EBCC00;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .04em;
    margin-bottom: 18px;
}

.auth-diagram {
    margin-bottom: 8px;
}

.auth-image-content h2 {
    margin: 0;
    font-size: 39px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -.8px;
}

    .auth-image-content h2 span {
        display: block;
        color: #EBCC00;
    }

.auth-image-content p {
    max-width: 480px;
    margin: 17px 0 0;
    color: rgba(255,255,255,.78);
    font-size: 14px;
    line-height: 1.7;
}