﻿

.divImgLoign {
    min-width: 100%;
    padding: 0;
    margin: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
}

#imgLogin1 {
    background-image: url('/imgs/banners/banner1.webp');
}

#imgLogin2 {
    background-image: url('/imgs/banners/banner2.webp');
}

#imgLogin3 {
    background-image: url('/imgs/banners/banner3.webp');
}

#imgLogin4 {
    background-image: url('/imgs/banners/banner4.webp');
}

#imgLogin5 {
    background-image: url('/imgs/banners/banner5.webp');
}

html {
    border: none !important;
    background-image: none !important;
}

body {
    background-image: url(/imgs/banners/loginwall.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.se-pre-con {
    opacity: 0.8 !important
}

.table-responsive {
    border-radius: 6px 6px 0px 0px;
}


:root {
    --login-primary: #123c69;
    --login-primary-dark: #0b294a;
    --login-accent: #b4a37e;
    --login-text: #152437;
    --login-muted: #718096;
    --login-border: #dce4ed;
    --login-surface: #ffffff;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0 !important;
    background: #081624 !important;
    background-image: none !important;
    color: var(--login-text);
    overflow-x: hidden;
}

    body::before,
    body::after {
        content: "";
        position: fixed;
        z-index: 0;
        border-radius: 50%;
        pointer-events: none;
        filter: blur(2px);
    }

    body::before {
        width: 420px;
        height: 420px;
        top: -250px;
        right: -170px;
        background: rgba(180, 163, 126, .11);
    }

    body::after {
        width: 500px;
        height: 500px;
        bottom: -330px;
        left: -250px;
        background: rgba(18, 60, 105, .07);
    }

.login-page,
.login-page *,
.login-page *::before,
.login-page *::after {
    box-sizing: border-box;
}

.login-page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 32px 18px 20px;
    direction: rtl;
}

    .login-page::before,
    .login-page::after {
        content: "";
        position: fixed;
        inset: 0;
        pointer-events: none;
    }

    .login-page::before {
        z-index: -2;
        background: url("/imgs/banners/loginwall.webp") center / cover no-repeat;
        filter: grayscale(100%) contrast(1.08);
        opacity: .72;
    }

    .login-page::after {
        z-index: -1;
        background: linear-gradient(135deg, rgba(5, 16, 28, .78), rgba(10, 35, 57, .65)), radial-gradient(circle at 50% 45%, rgba(30, 57, 80, .12), rgba(3, 12, 22, .36));
    }

.login-card {
    position: relative;
    width: min(100%, 470px);
    overflow: hidden;
    padding: 38px 42px 28px;
    border: 1px solid rgba(210, 220, 231, .9);
    border-radius: 24px;
    background: var(--login-surface);
    box-shadow: 0 24px 60px rgba(30, 52, 75, .12), 0 4px 14px rgba(30, 52, 75, .05);
}

.login-card__accent {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--login-accent), var(--login-primary));
}

.login-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.login-brand {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #fff;
    font-size: 23px;
    background: linear-gradient(145deg, var(--login-primary), var(--login-primary-dark));
    box-shadow: 0 10px 22px rgba(18, 60, 105, .22);
}

.login-eyebrow {
    margin: 0 0 5px;
    color: var(--login-accent);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: -.1px;
}

.login-header h1 {
    margin: 0;
    color: var(--login-text);
    font-size: 1.34rem;
    font-weight: 800;
    line-height: 1.45;
}

.login-subtitle {
    margin: 3px 0 0;
    color: var(--login-muted);
    font-size: .78rem;
}

.login-divider {
    height: 1px;
    margin: 25px 0 23px;
    background: linear-gradient(90deg, transparent, #e3e9f0 12%, #e3e9f0 88%, transparent);
}

.field-group {
    margin-bottom: 18px;
}

    .field-group > label,
    .field-label-row label {
        display: block;
        margin: 0 2px 8px;
        color: #34465a;
        font-size: .84rem;
        font-weight: 700;
        text-align: right;
    }

.field-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.forgot-link {
    margin-bottom: 8px;
    color: var(--login-primary);
    font-size: .75rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease;
}

    .forgot-link:hover,
    .forgot-link:focus {
        color: var(--login-accent);
        text-decoration: none;
    }

.field-control {
    position: relative;
}

.field-icon {
    position: absolute;
    top: 50%;
    right: 17px;
    z-index: 2;
    width: 20px;
    color: #8b99aa;
    font-size: .95rem;
    text-align: center;
    transform: translateY(-50%);
    transition: color .2s ease;
    pointer-events: none;
}

.login-input {
    width: 100%;
    height: 54px;
    padding: 0 50px 0 16px;
    border: 1px solid var(--login-border);
    border-radius: 13px;
    outline: none;
    background: #f9fbfd;
    color: var(--login-text);
    font-family: inherit;
    font-size: .92rem;
    font-weight: 600;
    text-align: right;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.login-input--password {
    padding-left: 50px;
}

.login-input::placeholder {
    color: #a5b0be;
    font-weight: 400;
}

.login-input:hover {
    border-color: #bdc9d6;
}

.login-input:focus {
    border-color: var(--login-accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(180, 163, 126, .16);
}

.field-control:focus-within .field-icon {
    color: var(--login-accent);
}

.password-toggle {
    position: absolute;
    top: 50%;
    left: 11px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #8796a8;
    cursor: pointer;
    transform: translateY(-50%);
    transition: color .2s ease, background-color .2s ease;
}

    .password-toggle:hover,
    .password-toggle:focus {
        outline: none;
        background: #edf3f7;
        color: var(--login-primary);
    }

.login-alert {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: -2px 0 17px;
    padding: 11px 13px;
    border: 1px solid #f3cccc;
    border-radius: 11px;
    background: #fff6f6;
    color: #b4232c;
    font-size: .82rem;
    line-height: 1.7;
}

    .login-alert i {
        margin-top: 5px;
    }

.language-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 3px 0 20px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f5f8fb;
}

.language-label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #596b7e;
    font-size: .75rem;
    font-weight: 600;
}

    .language-label i {
        color: var(--login-accent);
    }

.language-options {
    display: flex;
    align-items: center;
    gap: 5px;
}

.language-option {
    margin: 0;
    padding: 6px 10px;
    border-radius: 8px;
    color: #8a98a8;
    font-family: inherit;
    font-size: .7rem;
    line-height: 1;
    cursor: pointer;
}

    .language-option input {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        opacity: 0;
    }

.language-option--active {
    background: #fff;
    color: var(--login-primary);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(30, 52, 75, .08);
}

.language-option--disabled {
    cursor: not-allowed;
    opacity: .62;
}

.login-submit {
    position: relative;
    width: 100%;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 52px;
    border: 0;
    border-radius: 13px;
    outline: none;
    background: linear-gradient(135deg, var(--login-primary), var(--login-primary-dark));
    color: #fff;
    font-family: inherit;
    font-size: .92rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 22px rgba(18, 60, 105, .22);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

    .login-submit:hover,
    .login-submit:focus {
        color: #fff;
        filter: brightness(1.06);
        transform: translateY(-1px);
        box-shadow: 0 15px 27px rgba(18, 60, 105, .27);
    }

    .login-submit:active {
        transform: translateY(0);
    }

    .login-submit:disabled {
        cursor: wait;
        filter: saturate(.75);
        transform: none;
    }

.login-submit__arrow {
    position: absolute;
    left: 19px;
    font-size: .85rem;
    transition: transform .2s ease;
}

.login-submit:hover .login-submit__arrow {
    transform: translateX(-3px);
}

.login-submit__loading {
    display: none;
    align-items: center;
    gap: 8px;
}

.login-submit.is-loading .login-submit__text,
.login-submit.is-loading .login-submit__arrow {
    display: none;
}

.login-submit.is-loading .login-submit__loading {
    display: flex;
}

.inventory-link {
    min-height: 49px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding: 0 16px;
    border: 1px solid #dbe4ed;
    border-radius: 13px;
    background: #fff;
    color: #43576b;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}

    .inventory-link span {
        display: flex;
        align-items: center;
        gap: 9px;
    }

        .inventory-link span i {
            color: var(--login-accent);
        }

    .inventory-link > i {
        color: #a4b0bd;
        font-size: .7rem;
        transition: transform .2s ease;
    }

    .inventory-link:hover,
    .inventory-link:focus {
        border-color: rgba(180, 163, 126, .65);
        background: rgba(180, 163, 126, .07);
        color: var(--login-primary);
        text-decoration: none;
    }

        .inventory-link:hover > i {
            transform: translateX(-3px);
        }

.login-footer {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #edf1f5;
}

.secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #8090a1;
    font-size: .7rem;
}

    .secure-note i {
        color: var(--login-accent);
    }

.login-footer__brands {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    margin-top: 16px;
}

.customer-logo {
    max-width: 120px;
    max-height: 42px;
    object-fit: contain;
}

.footer-separator {
    width: 1px;
    height: 28px;
    background: #e2e8ef;
}

.powered-by {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #9aa6b3;
    font-size: .64rem;
}

    .powered-by a {
        display: inline-flex;
        opacity: .7;
        transition: opacity .2s ease;
    }

        .powered-by a:hover {
            opacity: 1;
        }

    .powered-by img {
        width: auto;
        height: 24px;
    }

.login-copyright {
    margin: 0;
    color: rgba(232, 239, 245, .78);
    font-size: .67rem;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}

.divCapth {
    direction: ltr;
    margin: 0 auto;
}

.fa-redo {
    display: none;
}

.input-group > .custom-select:not(:first-child),
.input-group > .form-control:not(:first-child) {
    text-align: center;
}

@media (max-width: 575.98px) {
    .login-page {
        justify-content: flex-start;
        padding: 18px 12px 14px;
    }

    .login-card {
        width: 100%;
        padding: 31px 22px 23px;
        border-radius: 20px;
        box-shadow: 0 14px 40px rgba(30, 52, 75, .1);
    }

    .login-header {
        gap: 13px;
    }

    .login-brand {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        border-radius: 15px;
        font-size: 20px;
    }

    .login-header h1 {
        font-size: 1.13rem;
    }

    .login-eyebrow {
        font-size: .67rem;
    }

    .login-subtitle {
        font-size: .7rem;
    }

    .login-divider {
        margin: 21px 0;
    }

    .login-input,
    .login-submit {
        height: 52px;
    }

    .language-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .language-options {
        width: 100%;
    }

    .language-option {
        flex: 1;
        text-align: center;
    }

    .login-footer__brands {
        gap: 9px;
    }

    .customer-logo {
        max-width: 105px;
    }
}

@media (max-height: 740px) and (min-width: 576px) {
    .login-page {
        justify-content: flex-start;
        padding-top: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-page *,
    .login-page *::before,
    .login-page *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
