﻿:root {
    --wsm-nc-ink: #0b1f3a;
    --wsm-nc-muted: #64748b;
    --wsm-nc-line: #dfe7ef;
    --wsm-nc-teal: #00a8c8;
    --wsm-nc-teal-dark: #007d95;
}

.wsm-newclient-page {
    color: var(--wsm-nc-ink);
    background: #f7f9fc;
    overflow-x: hidden;
}

.wsm-newclient-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-newclient-shell {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 32px;
}

.wsm-newclient-head {
    max-width: 980px;
    margin: 0 auto 36px;
    text-align: center;
}

.wsm-newclient-kicker {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 0 16px;
    border-radius: 999px;
    color: var(--wsm-nc-teal-dark);
    background: #fff;
    border: 1px solid var(--wsm-nc-line);
    box-shadow: 0 8px 22px rgba(11,31,58,.05);
    font-size: .82rem;
    font-weight: 950;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.wsm-newclient-head h1 {
    margin: 22px 0 14px;
    color: var(--wsm-nc-ink);
    font-size: clamp(2.6rem, 4.8vw, 5.6rem);
    line-height: .98;
    letter-spacing: -.07em;
    font-weight: 950;
}

.wsm-newclient-head p {
    color: var(--wsm-nc-muted);
    font-size: clamp(1rem, 1.05vw, 1.12rem);
    line-height: 1.82;
    font-weight: 650;
}

.wsm-newclient-form {
    overflow: hidden;
    border-radius: 32px;
    background: rgba(255,255,255,.94);
    border: 1px solid var(--wsm-nc-line);
    box-shadow: 0 28px 70px rgba(11,31,58,.13);
}

.wsm-newclient-form-head {
    min-height: 68px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--wsm-nc-line);
    background: rgba(251,253,255,.9);
}

    .wsm-newclient-form-head span,
    .wsm-newclient-form-head strong {
        text-transform: uppercase;
        letter-spacing: .11em;
        font-size: .74rem;
        font-weight: 950;
    }

    .wsm-newclient-form-head span {
        color: #8a98aa;
    }

    .wsm-newclient-form-head strong {
        color: var(--wsm-nc-teal-dark);
    }

.wsm-newclient-grid {
    padding: 36px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 24px;
}

.full {
    grid-column: 1 / -1;
}

.wsm-newclient-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    color: var(--wsm-nc-ink);
    font-size: 1.05rem;
    font-weight: 950;
}

    .wsm-newclient-section-title i {
        color: var(--wsm-nc-teal-dark);
    }

.wsm-newclient-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .wsm-newclient-field label {
        color: var(--wsm-nc-ink);
        font-size: .78rem;
        font-weight: 950;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .wsm-newclient-field em {
        color: #dc2626;
        font-style: normal;
    }

    .wsm-newclient-field input,
    .wsm-newclient-field select,
    .wsm-newclient-field textarea {
        display: block;
        width: 100%;
        border: 1px solid rgba(191, 210, 229, .92);
        border-radius: 18px;
        background: rgba(248,251,253,.92);
        color: var(--wsm-nc-ink);
        font-size: .95rem;
        font-weight: 750;
        outline: none;
        transition: .25s ease;
    }

    .wsm-newclient-field input,
    .wsm-newclient-field select {
        min-height: 58px;
        padding: 0 18px;
    }

    .wsm-newclient-field textarea {
        resize: vertical;
        min-height: 170px;
        padding: 18px;
        line-height: 1.7;
    }

        .wsm-newclient-field input:focus,
        .wsm-newclient-field select:focus,
        .wsm-newclient-field textarea:focus {
            border-color: rgba(0,168,200,.55);
            box-shadow: 0 0 0 4px rgba(0,168,200,.12);
            background: #fff;
        }

    .wsm-newclient-field input[type="file"] {
        padding: 14px;
    }

.wsm-newclient-check {
    min-height: 52px;
    padding: 14px 16px;
    border: 1px solid var(--wsm-nc-line);
    border-radius: 14px;
    background: rgba(248,251,253,.9);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--wsm-nc-ink);
    font-weight: 850;
    line-height: 1.5;
}

.wsm-newclient-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-newclient-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-newclient-btn.primary {
        color: #fff;
        background: linear-gradient(135deg, #00a8c8, #007d95);
        box-shadow: 0 18px 38px rgba(0,168,200,.22);
    }

    .wsm-newclient-btn.outline {
        color: var(--wsm-nc-ink);
        background: #fff;
        border: 1px solid var(--wsm-nc-line);
    }

    .wsm-newclient-btn:hover {
        transform: translateY(-3px);
    }

.wsm-newclient-error {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 4px rgba(220,38,38,.12) !important;
    background: #fffafa !important;
}

.wsm-newclient-input-success {
    border-color: #22c55e !important;
    box-shadow: 0 0 0 4px rgba(34,197,94,.10) !important;
    background: #f8fffb !important;
}

.wsm-newclient-error-text {
    display: block;
    margin-top: 6px;
    color: #dc2626;
    font-size: .78rem;
    font-weight: 900;
}

.wsm-newclient-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-newclient-success.is-active {
        display: flex;
    }

.wsm-newclient-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-newclient-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-newclient-success-card h2 {
    margin: 0 0 14px;
    color: #0b1f3a;
    font-size: 1.9rem;
    font-weight: 950;
}

.wsm-newclient-success-card p {
    margin: 0 auto 28px;
    max-width: 420px;
    color: #64748b;
    line-height: 1.75;
    font-weight: 650;
}

.wsm-newclient-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);
}

@media(max-width: 991.98px) {
    .wsm-newclient-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 767.98px) {
    .wsm-newclient-shell {
        padding: 0 18px;
    }

    .wsm-newclient-grid,
    .wsm-newclient-actions {
        padding-left: 22px;
        padding-right: 22px;
    }

    .wsm-newclient-form-head {
        padding: 18px 22px;
        display: grid;
        gap: 6px;
    }

    .wsm-newclient-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .wsm-newclient-btn {
        width: 100%;
    }
}
