:root {
    --vl-red: #FA314F;
    --vl-orange: #FF6A4A;
    --vl-magenta: #E5228B;
    --vl-violet: #7C3AED;
    --vl-ink: #1B1D22;
    --vl-muted: #5B6070;
    --vl-soft: #8A8F9C;
    --vl-line: #E7E8EE;
    --vl-field: #F7F7FA;
    --vl-gradient: linear-gradient(135deg, #FF6A4A 0%, #FA314F 45%, #E5228B 75%, #7C3AED 100%);
    --vl-radius: 14px;
}

html, body.vl-body {
    height: 100%;
}

body.vl-body {
    margin: 0;
    background: #FFFFFF;
    color: var(--vl-ink);
    font-family: 'Tajawal', 'Inter', 'Segoe UI', Tahoma, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-align: start;
}

[dir="rtl"] body.vl-body,
[dir="rtl"] .vl-card,
[dir="rtl"] .vl-brand-inner {
    text-align: right;
}

[dir="ltr"] body.vl-body,
[dir="ltr"] .vl-card,
[dir="ltr"] .vl-brand-inner {
    text-align: left;
}

.vl-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    min-height: 100vh;
}

.vl-brand {
    position: relative;
    overflow: hidden;
    background: var(--vl-gradient);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px;
}

.vl-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    opacity: .55;
    pointer-events: none;
}

.vl-blob-1 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 70%);
    top: -120px;
    inset-inline-start: -120px;
    animation: vl-float 14s ease-in-out infinite;
}

.vl-blob-2 {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, .65), rgba(124, 58, 237, 0) 70%);
    bottom: -140px;
    inset-inline-end: -80px;
    animation: vl-float 18s ease-in-out infinite reverse;
}

.vl-blob-3 {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle at 50% 50%, rgba(255, 176, 74, .7), rgba(255, 176, 74, 0) 70%);
    top: 42%;
    inset-inline-end: 8%;
    animation: vl-float 12s ease-in-out infinite;
}

.vl-dot {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .85);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
}

.vl-dot-1 {
    width: 18px;
    height: 18px;
    top: 18%;
    inset-inline-end: 22%;
}

.vl-dot-2 {
    width: 10px;
    height: 10px;
    bottom: 22%;
    inset-inline-start: 18%;
    background: rgba(124, 58, 237, .9);
}

@keyframes vl-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(18px, -22px) scale(1.06); }
}

.vl-brand-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.vl-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 800;
    font-size: 26px;
    letter-spacing: .2px;
}

.vl-brand-logo:hover {
    color: #FFFFFF;
    text-decoration: none;
}

.vl-brand-logo img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: #FFFFFF;
    border-radius: 18px;
    padding: 6px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

.vl-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .35);
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(6px);
    margin-bottom: 18px;
}

.vl-brand-title {
    color: #FFFFFF;
    font-size: 44px;
    line-height: 1.25;
    font-weight: 800;
    margin: 0 0 14px;
}

.vl-brand-title span {
    display: block;
    color: #FFF3C4;
}

.vl-brand-text {
    margin: 0;
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .9);
}

.vl-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.vl-features li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--vl-radius);
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(8px);
    font-weight: 700;
    font-size: 15px;
}

.vl-feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #FFFFFF;
    color: var(--vl-red);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vl-feature-icon svg,
.vl-back svg,
.vl-input-icon svg {
    width: 20px;
    height: 20px;
}

.vl-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 28px 24px;
    background: radial-gradient(1200px 600px at 100% 0%, rgba(250, 49, 79, .06), transparent 60%), #FFFFFF;
}

.vl-panel-top {
    width: 100%;
    max-width: 440px;
    display: flex;
    justify-content: flex-end;
}

.vl-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--vl-muted);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 999px;
    transition: background .2s ease, color .2s ease;
}

.vl-back:hover {
    background: var(--vl-field);
    color: var(--vl-red);
    text-decoration: none;
}

.vl-card {
    width: 100%;
    max-width: 440px;
    margin: 24px 0;
}

.vl-card-logo {
    display: inline-flex;
    margin-bottom: 28px;
}

.vl-card-logo img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.vl-card-logo img.vl-company-logo {
    width: auto;
    max-width: 200px;
    height: 48px;
}

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

.vl-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--vl-ink);
    margin: 0 0 8px;
}

.vl-subtitle {
    margin: 0;
    color: var(--vl-muted);
    font-size: 15px;
}

.vl-field {
    margin-bottom: 18px;
}

.vl-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.vl-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--vl-ink);
    margin-bottom: 8px;
}

.vl-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--vl-red);
    margin-bottom: 8px;
    text-decoration: none;
}

.vl-link:hover {
    color: var(--vl-magenta);
    text-decoration: underline;
}

.vl-input-wrap {
    position: relative;
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
}

.vl-input-icon {
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-start: 14px;
    display: flex;
    align-items: center;
    color: var(--vl-soft);
    z-index: 4;
    pointer-events: none;
    transition: color .2s ease;
}

.vl-body .vl-input {
    height: 52px;
    border-radius: var(--vl-radius) !important;
    border: 1.5px solid var(--vl-line);
    background: var(--vl-field);
    padding-inline-start: 46px;
    padding-inline-end: 16px;
    font-size: 15px;
    color: var(--vl-ink);
    box-shadow: none;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.vl-body .vl-input::placeholder {
    color: #A9ADB8;
}

.vl-body .vl-input:focus {
    border-color: var(--vl-red);
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(250, 49, 79, .12);
}

.vl-input-wrap:focus-within .vl-input-icon {
    color: var(--vl-red);
}

.vl-input-wrap .js-toggle-password {
    padding-inline-end: 52px;
}

.vl-eye {
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-end: 6px;
    display: flex;
    align-items: center;
    z-index: 4;
}

.vl-eye .input-group-text {
    border: 0;
    background: transparent;
    color: var(--vl-soft);
    font-size: 18px;
    padding: 8px 10px;
    border-radius: 10px;
}

.vl-eye .input-group-text:hover {
    color: var(--vl-red);
    background: rgba(250, 49, 79, .08);
}

.vl-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 18px;
}

.vl-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--vl-muted);
    margin: 0;
    user-select: none;
}

.vl-check input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.vl-check-box {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1.5px solid #CDD0D8;
    background: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}

.vl-check input:checked + .vl-check-box {
    background: var(--vl-gradient);
    border-color: transparent;
}

.vl-check input:checked + .vl-check-box::after {
    content: '';
    width: 10px;
    height: 6px;
    border-left: 2px solid #FFFFFF;
    border-bottom: 2px solid #FFFFFF;
    transform: rotate(-45deg) translate(1px, -1px);
}

.vl-check input:focus-visible + .vl-check-box {
    box-shadow: 0 0 0 4px rgba(250, 49, 79, .15);
}

.vl-captcha.default-captcha-container,
.vl-captcha .default-captcha-container {
    max-width: none;
    height: 52px;
    margin: 0 0 18px;
    border: 1.5px solid var(--vl-line);
    border-radius: var(--vl-radius);
    background: var(--vl-field);
}

.vl-captcha .default-captcha-container input,
.vl-captcha.default-captcha-container input {
    height: 49px;
    background: transparent;
    font-size: 15px;
}

.vl-captcha .captcha-image-container {
    top: 5px;
    height: 39px;
    border-radius: 10px;
    background: #FFFFFF;
    box-shadow: 0 0 0 1px var(--vl-line);
}

.vl-submit {
    height: 54px;
    border: 0;
    border-radius: var(--vl-radius);
    background: var(--vl-gradient);
    background-size: 160% 160%;
    background-position: 0% 50%;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .2px;
    box-shadow: 0 12px 28px rgba(250, 49, 79, .32);
    transition: transform .15s ease, box-shadow .2s ease, background-position .4s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.vl-submit:hover,
.vl-submit:focus {
    color: #FFFFFF;
    background-position: 100% 50%;
    box-shadow: 0 16px 34px rgba(250, 49, 79, .4);
    transform: translateY(-1px);
}

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

.vl-submit:disabled {
    opacity: .85;
    transform: none;
}

.vl-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 26px 0 16px;
    color: var(--vl-soft);
    font-size: 13px;
}

.vl-divider::before,
.vl-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--vl-line);
}

.vl-register {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    border-radius: var(--vl-radius);
    border: 1.5px solid rgba(250, 49, 79, .35);
    color: var(--vl-red);
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease;
}

.vl-register:hover {
    background: rgba(250, 49, 79, .06);
    border-color: var(--vl-red);
    color: var(--vl-red);
    text-decoration: none;
}

.vl-demo {
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: var(--vl-radius);
    background: var(--vl-field);
    border: 1px dashed var(--vl-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: var(--vl-muted);
}

.vl-demo > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vl-demo-copy {
    border: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--vl-gradient);
    color: #FFFFFF;
}

.vl-footer {
    margin: 0;
    font-size: 12px;
    color: var(--vl-soft);
}

[dir="rtl"] .vl-input-icon {
    right: 14px;
    left: auto;
}

[dir="ltr"] .vl-input-icon {
    left: 14px;
    right: auto;
}

[dir="rtl"] .vl-eye {
    left: 6px;
    right: auto;
}

[dir="ltr"] .vl-eye {
    right: 6px;
    left: auto;
}

[dir="rtl"] .vl-body .vl-input {
    padding-right: 46px;
    padding-left: 16px;
}

[dir="rtl"] .vl-input-wrap .js-toggle-password {
    padding-left: 52px;
}

[dir="ltr"] .vl-body .vl-input {
    padding-left: 46px;
    padding-right: 16px;
}

[dir="ltr"] .vl-input-wrap .js-toggle-password {
    padding-right: 52px;
}

#signingVendorEmail {
    text-align: start;
}

@media (max-width: 991.98px) {
    .vl-shell {
        grid-template-columns: 1fr;
    }

    .vl-brand {
        padding: 28px 22px 64px;
        min-height: auto;
    }

    .vl-brand-inner {
        gap: 18px;
        max-width: 560px;
    }

    .vl-brand-logo {
        font-size: 20px;
    }

    .vl-brand-logo img {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .vl-badge {
        margin-bottom: 10px;
    }

    .vl-brand-title {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .vl-brand-text {
        font-size: 15px;
    }

    .vl-features {
        display: none;
    }

    .vl-blob-1 {
        width: 260px;
        height: 260px;
    }

    .vl-blob-2 {
        width: 220px;
        height: 220px;
    }

    .vl-panel {
        position: relative;
        margin-top: -36px;
        border-radius: 28px 28px 0 0;
        padding: 22px 20px 24px;
        box-shadow: 0 -10px 30px rgba(27, 29, 34, .08);
    }

    .vl-panel-top {
        justify-content: center;
    }

    .vl-card {
        margin: 8px 0 20px;
    }

    .vl-card-logo {
        display: none;
    }

    .vl-title {
        font-size: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vl-blob {
        animation: none;
    }

    .vl-submit,
    .vl-back,
    .vl-register {
        transition: none;
    }
}
