﻿:root {
    --wsm-hr-bg: #f7f9fc;
    --wsm-hr-surface: #ffffff;
    --wsm-hr-ink: #0b1f3a;
    --wsm-hr-muted: #64748b;
    --wsm-hr-line: #dfe7ef;
    --wsm-hr-teal: #00a8c8;
    --wsm-hr-teal-2: #e5fbff;
    --wsm-hr-teal-dark: #007d95;
    --wsm-hr-shadow: 0 18px 44px rgba(11,31,58,.08);
    --wsm-hr-shadow-lg: 0 28px 70px rgba(11,31,58,.13);
}

.wsm-hr-page {
    color: var(--wsm-hr-ink);
    background: var(--wsm-hr-bg);
    overflow-x: hidden;
}

.wsm-hr-shell {
    width: 100%;
    max-width: none;
    padding-left: 32px;
    padding-right: 32px;
    margin: 0 auto;
}

.wsm-hr-hero,
.wsm-hr-section {
    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-hr-hero {
    padding: clamp(58px, 5vw, 92px) 0;
    border-bottom: 1px solid var(--wsm-hr-line);
}

.wsm-hr-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(560px, .85fr);
    gap: clamp(34px, 5vw, 82px);
    align-items: center;
}

.wsm-hr-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    color: var(--wsm-hr-teal-dark);
    background: #fff;
    border: 1px solid var(--wsm-hr-line);
    box-shadow: 0 8px 22px rgba(11,31,58,.05);
    font-size: .82rem;
    font-weight: 950;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.wsm-hr-copy h1 {
    max-width: 1040px;
    margin: 26px 0 20px;
    color: var(--wsm-hr-ink);
    font-size: clamp(3rem, 5vw, 6rem);
    line-height: .96;
    letter-spacing: -.07em;
    font-weight: 950;
}

.wsm-hr-copy p,
.wsm-hr-head p,
.wsm-hr-sla-card p {
    color: var(--wsm-hr-muted);
    font-size: clamp(1rem, 1.05vw, 1.12rem);
    line-height: 1.82;
    font-weight: 620;
}

.wsm-hr-actions,
.wsm-hr-submit-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.wsm-hr-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-hr-btn.primary {
        color: #fff;
        background: linear-gradient(135deg, #00a8c8, #007d95);
        box-shadow: 0 18px 38px rgba(0,168,200,.22);
    }

    .wsm-hr-btn.outline {
        color: var(--wsm-hr-ink);
        background: #fff;
        border: 1px solid var(--wsm-hr-line);
    }

    .wsm-hr-btn i {
        width: 30px;
        height: 30px;
        display: grid;
        place-items: center;
        border-radius: 999px;
        background: rgba(255,255,255,.22);
        transition: transform .25s ease;
    }

    .wsm-hr-btn.outline i {
        background: #eef7fa;
    }

    .wsm-hr-btn:hover {
        transform: translateY(-3px);
    }

        .wsm-hr-btn:hover i {
            transform: translateX(4px);
        }

.wsm-hr-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

    .wsm-hr-proof span {
        min-height: 42px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 0 14px;
        border-radius: 999px;
        background: #fff;
        border: 1px solid var(--wsm-hr-line);
        box-shadow: 0 8px 22px rgba(11,31,58,.05);
        font-size: .84rem;
        font-weight: 900;
    }

    .wsm-hr-proof i {
        color: var(--wsm-hr-teal-dark);
    }

.wsm-hr-board {
    border-radius: 32px;
    background: rgba(255,255,255,.96);
    border: 1px solid var(--wsm-hr-line);
    box-shadow: var(--wsm-hr-shadow-lg);
    overflow: hidden;
}

.wsm-hr-board-head,
.wsm-hr-form-head {
    min-height: 68px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--wsm-hr-line);
    background: rgba(251,253,255,.9);
}

    .wsm-hr-board-head span,
    .wsm-hr-board-head strong,
    .wsm-hr-form-head span,
    .wsm-hr-form-head strong {
        text-transform: uppercase;
        letter-spacing: .11em;
        font-size: .74rem;
        font-weight: 950;
        color: #8a98aa;
    }

    .wsm-hr-board-head strong,
    .wsm-hr-form-head strong {
        color: var(--wsm-hr-teal-dark);
    }

.wsm-hr-board-body {
    padding: 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 18px;
    background: linear-gradient(rgba(11,31,58,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(11,31,58,.035) 1px, transparent 1px), #fff;
    background-size: 34px 34px;
}

    .wsm-hr-board-body article {
        position: relative;
        min-height: 190px;
        padding: 26px 22px;
        border-radius: 24px;
        background: rgba(255,255,255,.92);
        border: 1px solid var(--wsm-hr-line);
        box-shadow: 0 12px 30px rgba(11,31,58,.055);
        overflow: hidden;
        transition: all .25s ease;
    }

        .wsm-hr-board-body article:hover {
            transform: translateY(-6px);
            border-color: rgba(0,168,200,.34);
            box-shadow: 0 24px 58px rgba(11,31,58,.11);
        }

    .wsm-hr-board-body i {
        position: absolute;
        left: 18px;
        top: 16px;
        color: rgba(0,168,200,.18);
        font-size: 3.5rem;
    }

    .wsm-hr-board-body h3 {
        position: relative;
        z-index: 1;
        padding-top: 54px;
        margin: 0 0 10px;
        color: var(--wsm-hr-ink);
        font-size: 1.12rem;
        font-weight: 950;
    }

    .wsm-hr-board-body p {
        position: relative;
        z-index: 1;
        margin: 0;
        color: var(--wsm-hr-muted);
        line-height: 1.65;
        font-weight: 650;
    }

.wsm-hr-section {
    padding: clamp(64px, 5vw, 96px) 0;
    border-bottom: 1px solid var(--wsm-hr-line);
}

.wsm-hr-head {
    max-width: 950px;
    margin: 0 auto 34px;
    text-align: center;
}

    .wsm-hr-head h2,
    .wsm-hr-sla-card h2 {
        margin: 22px 0 14px;
        color: var(--wsm-hr-ink);
        font-size: clamp(2.25rem, 3.15vw, 4.25rem);
        line-height: 1.05;
        letter-spacing: -.055em;
        font-weight: 950;
    }

.wsm-hr-form-wrap {
    max-width: 1280px;
    margin: 0 auto;
}

.wsm-hr-form {
    border-radius: 32px;
    background: rgba(255,255,255,.96);
    border: 1px solid var(--wsm-hr-line);
    box-shadow: var(--wsm-hr-shadow-lg);
    overflow: hidden;
}

.wsm-hr-form-grid {
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px;
}

.wsm-hr-field.full {
    grid-column: 1 / -1;
}

.wsm-hr-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--wsm-hr-ink);
    font-size: .78rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    font-weight: 950;
}

    .wsm-hr-field label em {
        color: #dc2626;
        font-style: normal;
    }

.wsm-hr-field input,
.wsm-hr-field select,
.wsm-hr-field textarea {
    width: 100%;
    border: 1px solid var(--wsm-hr-line);
    border-radius: 16px;
    background: rgba(251,253,255,.92);
    color: var(--wsm-hr-ink);
    font-size: .95rem;
    font-weight: 750;
    outline: none;
    transition: all .22s ease;
}

.wsm-hr-field input,
.wsm-hr-field select {
    min-height: 58px;
    padding: 0 18px;
}

.wsm-hr-field textarea {
    min-height: 150px;
    padding: 16px 18px;
    resize: vertical;
}

    .wsm-hr-field input:focus,
    .wsm-hr-field select:focus,
    .wsm-hr-field textarea:focus {
        border-color: rgba(0,168,200,.48);
        box-shadow: 0 0 0 4px rgba(0,168,200,.10);
        background: #fff;
    }

.wsm-hr-field input[type="file"] {
    padding: 13px 14px;
}

    .wsm-hr-field input[type="file"]::file-selector-button {
        min-height: 38px;
        padding: 0 16px;
        margin-right: 14px;
        border-radius: 12px;
        border: 1px solid rgba(0,168,200,.30);
        color: var(--wsm-hr-teal-dark);
        background: var(--wsm-hr-teal-2);
        font-weight: 950;
        cursor: pointer;
    }

.wsm-hr-submit-row {
    justify-content: space-between;
    padding: 0 30px 30px;
    margin-top: 0;
}

.wsm-hr-sla-card {
    max-width: 1450px;
    margin: 0 auto;
    padding: clamp(34px, 5vw, 74px);
    text-align: center;
    border-radius: 32px;
    background: linear-gradient(rgba(11,31,58,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(11,31,58,.035) 1px, transparent 1px), #fff;
    background-size: 34px 34px;
    border: 1px solid var(--wsm-hr-line);
    box-shadow: var(--wsm-hr-shadow-lg);
}

    .wsm-hr-sla-card p {
        max-width: 950px;
        margin: 0 auto;
    }

@media(max-width: 1199.98px) {
    .wsm-hr-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 767.98px) {
    .wsm-hr-shell {
        padding-left: 18px;
        padding-right: 18px;
    }

    .wsm-hr-copy h1 {
        font-size: clamp(2.45rem, 10vw, 3.7rem);
    }

    .wsm-hr-actions,
    .wsm-hr-submit-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .wsm-hr-btn {
        width: 100%;
    }

    .wsm-hr-board-body,
    .wsm-hr-form-grid {
        grid-template-columns: 1fr;
    }

    .wsm-hr-board-head,
    .wsm-hr-form-head {
        padding: 18px 22px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .wsm-hr-form-grid {
        padding: 22px;
    }

    .wsm-hr-submit-row {
        padding: 0 22px 22px;
    }
}

/* =========================================================
   HR VALIDATION + SUCCESS POPUP
========================================================= */

.wsm-hr-error {
    display: block;
    min-height: 18px;
    margin-top: 7px;
    color: #dc2626;
    font-size: .78rem;
    line-height: 1.35;
    font-weight: 850;
}

.wsm-hr-field {
    position: relative;
}

    .wsm-hr-field.is-valid input,
    .wsm-hr-field.is-valid select,
    .wsm-hr-field.is-valid textarea {
        border-color: rgba(22,163,74,.45);
        box-shadow: 0 0 0 4px rgba(22,163,74,.08);
    }

    .wsm-hr-field.is-invalid input,
    .wsm-hr-field.is-invalid select,
    .wsm-hr-field.is-invalid textarea {
        border-color: rgba(220,38,38,.50);
        box-shadow: 0 0 0 4px rgba(220,38,38,.08);
    }

    .wsm-hr-field.is-valid::after {
        content: "\F26A";
        font-family: "bootstrap-icons";
        position: absolute;
        right: 16px;
        top: 42px;
        color: #16a34a;
        font-size: 1rem;
        pointer-events: none;
    }

    .wsm-hr-field:has(input[type="file"])::after {
        display: none;
    }

.wsm-hr-success-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 12, 24, 0.58);
    backdrop-filter: blur(10px);
    animation: wsmHrFadeIn .35s ease;
}

    .wsm-hr-success-overlay.hide {
        opacity: 0;
        visibility: hidden;
        transition: .28s ease;
    }

.wsm-hr-success-modal {
    width: min(92%, 560px);
    padding: 42px 36px;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,252,255,.96));
    border: 1px solid rgba(120, 210, 255, 0.18);
    box-shadow: 0 40px 100px rgba(7, 24, 52, 0.22), inset 0 1px 0 rgba(255,255,255,.8);
    text-align: center;
    animation: wsmHrPopupUp .45s cubic-bezier(.16,1,.3,1);
}

.wsm-hr-success-icon {
    width: 92px;
    height: 92px;
    margin: 0 auto 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 30%, #3ee08f, #11995e);
    color: #fff;
    font-size: 3rem;
    box-shadow: 0 18px 40px rgba(17, 153, 94, 0.28);
    animation: wsmHrPulse 2s infinite;
}

.wsm-hr-success-modal h3 {
    margin-bottom: 14px;
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 900;
    color: #082046;
}

.wsm-hr-success-modal p {
    margin-bottom: 30px;
    line-height: 1.8;
    color: #5e708f;
    font-size: 1rem;
}

.wsm-hr-success-btn {
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #16b5d8, #0284c7);
    color: #fff;
    font-weight: 800;
    font-size: .95rem;
    box-shadow: 0 12px 30px rgba(2,132,199,.28);
    transition: .3s ease;
}

    .wsm-hr-success-btn:hover {
        transform: translateY(-3px);
    }

@keyframes wsmHrFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes wsmHrPopupUp {
    from {
        opacity: 0;
        transform: translateY(24px) scale(.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes wsmHrPulse {
    0%,100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }
}