:root {
    --salary-primary: #1d4ed8;
    --salary-primary-dark: #1d4ed8;
    --salary-accent: #f4633a;
    --salary-bg: #f5f7fb;
    --salary-surface: #ffffff;
    --salary-surface-soft: #f8faff;
    --salary-border: #dbe4f4;
    --salary-text: #18243f;
    --salary-muted: #6b7280;
    --salary-shadow: 0 18px 40px rgba(17, 41, 108, 0.09);
    --salary-radius-xl: 22px;
    --salary-radius-lg: 16px;
    --salary-radius-md: 12px;
}

.salary-app,
.salary-app * {
    box-sizing: border-box;
}

.salary-app {
    width: 100%;
    max-width: 100%;
    font-family: inherit;
    color: var(--salary-text);
    margin: 24px 0;
}

.salary-app__wrap {
    width: 100%;
    max-width: 100%;
}

.salary-shell {
    width: 100%;
    max-width: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    border: 1px solid rgba(219, 228, 244, 0.95);
    border-radius: var(--salary-radius-xl);
    padding: 20px;
    box-shadow: var(--salary-shadow);
    overflow: hidden;
}

.salary-shell--compact {
    padding: 18px;
}

.salary-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.salary-head h2,
.salary-download-box h3 {
    margin: 0;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.12;
    color: var(--salary-primary-dark);
}

.salary-head p,
.salary-download-box p {
    margin: 8px 0 0;
    color: var(--salary-muted);
    line-height: 1.6;
}

.salary-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--salary-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.salary-head__badge,
.salary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(30, 78, 216, 0.08);
    border: 1px solid rgba(30, 78, 216, 0.12);
    color: var(--salary-primary-dark);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}

.salary-link--primary {
    appearance: none;
    min-height: 50px;
    padding: 13px 22px;
    border: 0;
    border-radius: 14px;
    background: #1d4ed8;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(22, 81, 231, 0.22);
}

.salary-link--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(22, 81, 231, 0.24);
    color: #ffffff;
}

.salary-values,
.salary-resume-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.salary-value-card,
.salary-resume-card {
    position: relative;
    border-radius: 18px;
    border: 1px solid var(--salary-border);
    background: linear-gradient(180deg, #f9fbff 0%, #f5f8ff 100%);
    padding: 14px 14px 16px;
    min-width: 0;
}

.salary-value-card span,
.salary-resume-card span {
    display: block;
    color: var(--salary-muted);
    font-size: 0.8rem;
    margin-bottom: 7px;
}

.salary-value-card strong,
.salary-resume-card strong {
    font-size: clamp(1rem, 1.8vw, 1.12rem);
    color: var(--salary-primary-dark);
    word-break: break-word;
}

.salary-value-card--accent,
.salary-resume-card--accent {
    background: linear-gradient(135deg, rgba(244, 99, 58, 0.08), rgba(244, 99, 58, 0.18));
    border-color: rgba(244, 99, 58, 0.18);
}

.salary-value-card--accent strong,
.salary-resume-card--accent strong {
    color: #b24222;
}

.salary-form {
    display: grid;
    gap: 14px;
}

.salary-panel,
.salary-result-panel,
.salary-download-box {
    position: relative;
    border: 1px solid var(--salary-border);
    border-radius: 18px;
    padding: 16px;
    background: var(--salary-surface);
    min-width: 0;
}

.salary-panel__title,
.salary-panel__title--space {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: bold;
}

.salary-panel__title h3,
.salary-result-panel h3 {
    margin: 0;
    font-size: 0.98rem;
    color: var(--salary-primary-dark);
}

.salary-panel__title small {
    color: var(--salary-muted);
}

.salary-grid {
    display: grid;
    gap: 12px;
}

.salary-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.salary-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.salary-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.salary-field span {
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--salary-text);
    line-height: 1.3;
}

.salary-field input,
.salary-field select {
    width: 100%;
    min-height: 44px;
    border-radius: 13px!important;
    border: 1px solid #d7e1f2;
    background: #fff;
    padding: 0 13px;
    outline: none;
    color: var(--salary-text);
    font: inherit;
    font-size: 0.95rem;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.salary-field input:focus,
.salary-field select:focus {
    border-color: rgba(30, 78, 216, 0.65);
    box-shadow: 0 0 0 4px rgba(30, 78, 216, 0.1);
}

.salary-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 2px;
}

.salary-btn,
.salary-link.salary-link--button {
    appearance: none;
    min-height: 50px;
    border: 0;
    border-radius: 14px;
    padding: 13px 22px;
    background: #1d4ed8;
    color: #ffffff;
    font: inherit;
    font-size: 0.96rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(22, 81, 231, 0.22);
    transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}

.salary-btn:hover,
.salary-link.salary-link--button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(22, 81, 231, 0.24);
}

.salary-btn:active,
.salary-link.salary-link--button:active {
    transform: translateY(0);
}

.salary-result-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.salary-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 9px;
}

.salary-list li {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 13px;
    border: 1px solid var(--salary-border);
    border-radius: 14px;
    background: var(--salary-surface-soft);
}

.salary-list li span {
    color: var(--salary-muted);
    font-size: 0.91rem;
    min-width: 0;
}

.salary-list li strong {
    color: var(--salary-primary-dark);
    font-size: 0.94rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.salary-download-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.salary-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.salary-hidden-form {
    display: none;
}

.salary-swal-popup {
    border-radius: 24px;
    padding: 1.4rem 1.45rem 1.2rem;
    font-family: inherit;
    box-shadow: 0 28px 65px rgba(15, 23, 42, 0.22);
}

.salary-swal-title {
    color: var(--salary-text);
    font-size: 1.95rem;
    font-weight: 700;
    line-height: 1.2;
}

.salary-swal-content {
    color: var(--salary-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.salary-swal-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin: 1.7rem 0 0;
}

.salary-swal-confirm,
.salary-swal-deny,
.salary-swal-cancel {
    appearance: none;
    border: 0;
    border-radius: 14px;
    min-width: 166px;
    min-height: 52px;
    padding: 14px 22px;
    font: inherit;
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.salary-swal-confirm:hover,
.salary-swal-deny:hover,
.salary-swal-cancel:hover {
    transform: translateY(-1px);
}

.salary-swal-confirm {
    background: #1d4ed8;
    color: #ffffff;
}

.salary-swal-deny {
    background: #f4633a;
    color: #ffffff;
}

.salary-swal-cancel {
    background: #eef2ff;
    color: #2844b0;
}

.salary-swal-form {
    margin-top: 8px;
}

.salary-swal-form .swal2-input {
    width: calc(100% - 1.5em);
    min-height: 50px;
    margin: 12px auto 0;
    border-radius: 14px;
    border: 1px solid #d7e1f2;
    font-size: 0.96rem;
    box-shadow: none;
}

.salary-swal-form .swal2-input:focus {
    border-color: rgba(29, 78, 216, 0.65);
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.1);
}

.salary-swal-validation {
    margin-top: 12px;
    border-radius: 12px;
    background: rgba(244, 99, 58, 0.1);
    color: #ba4a29;
    padding: 10px 12px;
    font-size: 0.92rem;
}

@media (max-width: 1180px) {
    .salary-values,
    .salary-resume-grid,
    .salary-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .salary-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .salary-shell,
    .salary-shell--compact {
        padding: 16px;
        border-radius: 20px;
    }

    .salary-head,
    .salary-download-box,
    .salary-panel__title--space {
        flex-direction: column;
        align-items: flex-start;
    }

    .salary-head {
        margin-bottom: 16px;
    }

    .salary-values,
    .salary-resume-grid,
    .salary-grid--3,
    .salary-grid--4,
    .salary-result-layout {
        grid-template-columns: 1fr;
    }

    .salary-actions,
    .salary-cta-group {
        width: 100%;
        justify-content: stretch;
    }

    .salary-btn,
    .salary-link--primary,
    .salary-link.salary-link--button,
    .salary-cta-group .salary-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .salary-app {
        margin: 18px 0;
    }

    .salary-shell,
    .salary-shell--compact {
        padding: 14px;
        border-radius: 18px;
    }

    .salary-head h2,
    .salary-download-box h3 {
        font-size: 1.28rem;
    }

    .salary-panel,
    .salary-result-panel,
    .salary-download-box,
    .salary-value-card,
    .salary-resume-card {
        padding: 14px;
        border-radius: 16px;
    }

    .salary-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .salary-list li strong {
        white-space: normal;
    }

    .salary-swal-popup {
        width: calc(100% - 24px);
        padding: 1.2rem 1rem 1rem;
    }

    .salary-swal-title {
        font-size: 1.55rem;
    }

    .salary-swal-actions {
        gap: 10px;
    }

    .salary-swal-confirm,
    .salary-swal-deny,
    .salary-swal-cancel {
        width: 100%;
        min-width: 0;
    }
}

.asap-subtitle ol li, .asap-subtitle ul li, .content-wc ol li, .content-wc ul li, .the-content ol li, .the-content ul li {
    margin: 0px!important;
    padding-left: 2px;
    line-height: 1.6;
    padding: 10px!important;
}
