﻿.wsm-apply-page {
    min-height: 100vh;
    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 10% 12%, rgba(0,168,200,.12), transparent 28%), #f7f9fc;
    background-size: 46px 46px,46px 46px,auto,auto;
    color: #0b1f3a;
}

.wsm-apply-shell {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
}

.wsm-apply-hero {
    padding: 64px 0 38px;
    border-bottom: 1px solid #dfe7ef;
}

.wsm-apply-kicker {
    display: inline-flex;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #007d95;
    font-weight: 950;
    font-size: .78rem;
}

.wsm-apply-hero h1 {
    max-width: 1100px;
    margin: 18px 0 12px;
    font-size: clamp(2.4rem, 4vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -.055em;
    font-weight: 950;
}

.wsm-apply-hero p {
    max-width: 850px;
    color: #64748b;
    line-height: 1.75;
    font-weight: 650;
}

.wsm-apply-role-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

    .wsm-apply-role-strip span {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 34px;
        padding: 0 13px;
        border-radius: 999px;
        background: #e5fbff;
        color: #007d95;
        border: 1px solid rgba(0,168,200,.22);
        font-size: .82rem;
        font-weight: 950;
    }

.wsm-apply-section {
    padding: 34px 0 90px;
}

.wsm-apply-alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 850;
}

    .wsm-apply-alert.error {
        color: #b91c1c;
        background: #fff1f2;
        border: 1px solid rgba(239,68,68,.25);
    }

.wsm-apply-card {
    overflow: hidden;
    border-radius: 28px;
    background: rgba(255,255,255,.96);
    border: 1px solid #dfe7ef;
    box-shadow: 0 24px 70px rgba(11,31,58,.10);
}

.wsm-apply-card-head {
    min-height: 58px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #dfe7ef;
    background: #fbfdff;
}

    .wsm-apply-card-head span,
    .wsm-apply-card-head strong {
        text-transform: uppercase;
        letter-spacing: .12em;
        font-size: .72rem;
        font-weight: 950;
        color: #8a98aa;
    }

    .wsm-apply-card-head strong {
        color: #007d95;
    }

.wsm-apply-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 22px;
    padding: 32px;
}

.wsm-apply-field.full {
    grid-column: 1 / -1;
}

.wsm-apply-field label {
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .76rem;
    font-weight: 950;
    color: #0b1f3a;
}

    .wsm-apply-field label b {
        color: #dc2626;
    }

.wsm-apply-field input,
.wsm-apply-field select,
.wsm-apply-field textarea {
    width: 100%;
    border: 1px solid #bcd0e4;
    border-radius: 16px;
    background: #f8fbff;
    color: #0b1f3a;
    font-weight: 800;
    outline: none;
    transition: .2s ease;
}

.wsm-apply-field input,
.wsm-apply-field select {
    min-height: 54px;
    padding: 0 16px;
}

.wsm-apply-field textarea {
    padding: 16px;
    resize: vertical;
}

    .wsm-apply-field input:focus,
    .wsm-apply-field select:focus,
    .wsm-apply-field textarea:focus {
        border-color: #00a8c8;
        box-shadow: 0 0 0 4px rgba(0,168,200,.13);
        background: #fff;
    }

.wsm-apply-field span {
    display: block;
    margin-top: 7px;
    color: #dc2626;
    font-size: .78rem;
    font-weight: 850;
}

.wsm-apply-checks {
    display: grid;
    gap: 12px;
    padding: 0 32px 28px;
}

    .wsm-apply-checks label {
        display: flex;
        gap: 10px;
        align-items: center;
        min-height: 44px;
        padding: 0 14px;
        border-radius: 14px;
        background: #f8fbff;
        border: 1px solid #dfe7ef;
        color: #0b1f3a;
        font-weight: 850;
    }

.wsm-apply-actions {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 22px 32px;
    border-top: 1px solid #dfe7ef;
    background: #fbfdff;
}

.wsm-apply-btn {
    min-height: 52px;
    padding: 0 22px;
    border-radius: 15px;
    border: 1px solid #dfe7ef;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 950;
    cursor: pointer;
    transition: .25s ease;
}

    .wsm-apply-btn.primary {
        color: #fff;
        border-color: transparent;
        background: linear-gradient(135deg,#00a8c8,#007d95);
        box-shadow: 0 16px 36px rgba(0,168,200,.22);
    }

    .wsm-apply-btn.outline {
        color: #0b1f3a;
        background: #fff;
    }

    .wsm-apply-btn:hover {
        transform: translateY(-3px);
    }

.wsm-apply-success-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15,23,42,.62);
    backdrop-filter: blur(10px);
    display: grid;
    place-items: center;
    padding: 22px;
}

.wsm-apply-success-card {
    width: min(520px, 100%);
    padding: 42px 34px;
    border-radius: 28px;
    background: #fff;
    text-align: center;
    box-shadow: 0 30px 90px rgba(0,0,0,.28);
}

.wsm-apply-success-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #22c55e;
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 16px 38px rgba(34,197,94,.35);
}

.wsm-apply-success-card h2 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1;
    letter-spacing: -.05em;
    font-weight: 950;
}

.wsm-apply-success-card p {
    color: #64748b;
    line-height: 1.7;
    font-weight: 700;
    margin-bottom: 24px;
}

@media(max-width: 900px) {
    .wsm-apply-grid {
        grid-template-columns: 1fr;
    }

    .wsm-apply-actions {
        flex-direction: column;
    }

    .wsm-apply-btn {
        width: 100%;
    }
}

@media(max-width: 640px) {
    .wsm-apply-shell {
        padding-left: 18px;
        padding-right: 18px;
    }

    .wsm-apply-grid,
    .wsm-apply-actions {
        padding-left: 20px;
        padding-right: 20px;
    }

    .wsm-apply-checks {
        padding-left: 20px;
        padding-right: 20px;
    }
}


.wsm-apply-field input.input-validation-error,
.wsm-apply-field select.input-validation-error,
.wsm-apply-field textarea.input-validation-error {
    border-color: #ef4444 !important;
    background: #fff7f7 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, .12) !important;
}

.wsm-apply-field input.valid,
.wsm-apply-field select.valid,
.wsm-apply-field textarea.valid {
    border-color: #22c55e !important;
    background: #f7fff9 !important;
}

.wsm-apply-field span.field-validation-error {
    margin-top: 8px;
    color: #dc2626;
    font-weight: 900;
    font-size: .78rem;
}

