﻿:root {
    --wsm-nv-ink: #0b1f3a;
    --wsm-nv-muted: #64748b;
    --wsm-nv-line: #dfe7ef;
    --wsm-nv-teal: #00a8c8;
    --wsm-nv-teal-dark: #007d95;
    --wsm-nv-soft: #e5fbff;
}

.wsm-newvendor-page {
    color: var(--wsm-nv-ink);
    background: #f7f9fc;
    overflow-x: hidden;
}

.wsm-newvendor-hero {
    min-height: 100vh;
    padding: clamp(54px, 5vw, 86px) 0;
    background: linear-gradient(rgba(11,31,58,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(11,31,58,.035) 1px, transparent 1px), radial-gradient(circle at 8% 12%, rgba(0,168,200,.11), transparent 30%), radial-gradient(circle at 90% 18%, rgba(29,78,216,.07), transparent 28%), linear-gradient(135deg,#fbfdff 0%,#f4f8fb 52%,#eef5f8 100%);
    background-size: 46px 46px,46px 46px,auto,auto,auto;
}

.wsm-newvendor-shell {
    width: 100%;
    max-width: 1540px;
    margin: 0 auto;
    padding: 0 32px;
}

.wsm-newvendor-head {
    max-width: 980px;
    margin: 0 auto 36px;
    text-align: center;
}

.wsm-newvendor-kicker {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 0 16px;
    border-radius: 999px;
    color: var(--wsm-nv-teal-dark);
    background: #fff;
    border: 1px solid var(--wsm-nv-line);
    box-shadow: 0 8px 22px rgba(11,31,58,.05);
    font-size: .82rem;
    font-weight: 950;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.wsm-newvendor-head h1 {
    margin: 22px 0 14px;
    color: var(--wsm-nv-ink);
    font-size: clamp(2.6rem, 4.8vw, 5.6rem);
    line-height: .98;
    letter-spacing: -.07em;
    font-weight: 950;
}

.wsm-newvendor-head p {
    color: var(--wsm-nv-muted);
    font-size: clamp(1rem, 1.05vw, 1.12rem);
    line-height: 1.82;
    font-weight: 650;
}

.wsm-newvendor-form {
    overflow: hidden;
    border-radius: 32px;
    background: rgba(255,255,255,.94);
    border: 1px solid var(--wsm-nv-line);
    box-shadow: 0 28px 70px rgba(11,31,58,.13);
}

.wsm-newvendor-form-head {
    min-height: 68px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--wsm-nv-line);
    background: rgba(251,253,255,.9);
}

    .wsm-newvendor-form-head span,
    .wsm-newvendor-form-head strong {
        text-transform: uppercase;
        letter-spacing: .11em;
        font-size: .74rem;
        font-weight: 950;
    }

    .wsm-newvendor-form-head span {
        color: #8a98aa;
    }

    .wsm-newvendor-form-head strong {
        color: var(--wsm-nv-teal-dark);
    }

.wsm-newvendor-grid {
    padding: 36px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 24px;
}

.wsm-newvendor-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    color: var(--wsm-nv-ink);
    font-size: 1.05rem;
    font-weight: 950;
}

    .wsm-newvendor-section-title i {
        color: var(--wsm-nv-teal-dark);
    }

.wsm-newvendor-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .wsm-newvendor-field label {
        color: var(--wsm-nv-ink);
        font-size: .78rem;
        font-weight: 950;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .wsm-newvendor-field em {
        color: #dc2626;
        font-style: normal;
    }

    .wsm-newvendor-field input,
    .wsm-newvendor-field select,
    .wsm-newvendor-field textarea {
        width: 100%;
        border: 1px solid var(--wsm-nv-line);
        border-radius: 18px;
        background: rgba(248,251,253,.92);
        color: var(--wsm-nv-ink);
        font-size: .95rem;
        font-weight: 750;
        outline: none;
        transition: .25s ease;
    }

    .wsm-newvendor-field input,
    .wsm-newvendor-field select {
        min-height: 58px;
        padding: 0 18px;
    }

    .wsm-newvendor-field textarea {
        resize: vertical;
        padding: 18px;
        line-height: 1.7;
    }

        .wsm-newvendor-field input:focus,
        .wsm-newvendor-field select:focus,
        .wsm-newvendor-field textarea:focus {
            border-color: rgba(0,168,200,.45);
            box-shadow: 0 0 0 4px rgba(0,168,200,.10);
            background: #fff;
        }

    .wsm-newvendor-field input[type="file"] {
        display: flex;
        align-items: center;
        padding: 14px;
    }

.wsm-newvendor-check {
    min-height: 54px;
    padding: 15px 16px;
    border-radius: 16px;
    border: 1px solid var(--wsm-nv-line);
    background: rgba(255,255,255,.82);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--wsm-nv-ink);
    font-weight: 850;
    line-height: 1.55;
}

    .wsm-newvendor-check input {
        width: 16px;
        height: 16px;
        accent-color: var(--wsm-nv-teal);
    }

.full {
    grid-column: 1 / -1;
}

.wsm-newvendor-actions {
    padding: 26px 36px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid rgba(223,231,239,.7);
}

.wsm-newvendor-btn {
    min-height: 54px;
    padding: 0 22px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: .94rem;
    font-weight: 950;
    transition: all .25s ease;
}

    .wsm-newvendor-btn.primary {
        color: #fff;
        background: linear-gradient(135deg, #00a8c8, #007d95);
        box-shadow: 0 18px 38px rgba(0,168,200,.22);
    }

    .wsm-newvendor-btn.outline {
        color: var(--wsm-nv-ink);
        background: #fff;
        border: 1px solid var(--wsm-nv-line);
    }

    .wsm-newvendor-btn i {
        width: 30px;
        height: 30px;
        display: grid;
        place-items: center;
        border-radius: 999px;
        background: rgba(255,255,255,.22);
    }

    .wsm-newvendor-btn.outline i {
        background: #eef7fa;
    }

    .wsm-newvendor-btn:hover {
        transform: translateY(-3px);
    }

@media(max-width: 991.98px) {
    .wsm-newvendor-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 767.98px) {
    .wsm-newvendor-shell {
        padding: 0 18px;
    }

    .wsm-newvendor-grid,
    .wsm-newvendor-actions {
        padding-left: 22px;
        padding-right: 22px;
    }

    .wsm-newvendor-form-head {
        padding: 18px 22px;
        display: grid;
        gap: 6px;
    }

    .wsm-newvendor-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .wsm-newvendor-btn {
        width: 100%;
    }
}

.wsm-input-error {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 4px rgba(220,38,38,.12) !important;
}

.wsm-field-error {
    margin-top: 4px;
    color: #dc2626;
    font-size: .78rem;
    font-weight: 800;
}

.wsm-input-error {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 4px rgba(220,38,38,.12) !important;
    background: #fffafa !important;
}

.wsm-input-success {
    border-color: #22c55e !important;
    box-shadow: 0 0 0 4px rgba(34,197,94,.10) !important;
    background: #f8fffb !important;
}

.wsm-field-error {
    margin-top: 4px;
    color: #dc2626;
    font-size: .78rem;
    font-weight: 900;
}

.wsm-newvendor-success {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, .62);
    backdrop-filter: blur(10px);
}

    .wsm-newvendor-success.is-active {
        display: flex;
    }

.wsm-newvendor-success-card {
    width: min(520px, 100%);
    padding: 42px 36px;
    border-radius: 30px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(223,231,239,.9);
    text-align: center;
    box-shadow: 0 34px 90px rgba(11,31,58,.28);
}

.wsm-newvendor-success-icon {
    width: 86px;
    height: 86px;
    margin: 0 auto 22px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-size: 2.6rem;
    box-shadow: 0 20px 48px rgba(34,197,94,.28);
}

.wsm-newvendor-success-card h2 {
    margin: 0 0 14px;
    color: #0b1f3a;
    font-size: 1.8rem;
    font-weight: 950;
}

.wsm-newvendor-success-card p {
    margin: 0 auto 28px;
    max-width: 420px;
    color: #64748b;
    line-height: 1.75;
    font-weight: 650;
}

.wsm-newvendor-success-card button {
    min-height: 52px;
    padding: 0 24px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #00a8c8, #007d95);
    color: #fff;
    font-weight: 950;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 18px 38px rgba(0,168,200,.22);
}