:root {
    --gec-green-950: #0b3d27;
    --gec-green-900: #105235;
    --gec-green-800: #176b43;
    --gec-green-700: #1b7b4e;
    --gec-green-600: #238b59;
    --gec-green-500: #2e9b68;
    --gec-green-100: #dff3e8;
    --gec-green-50: #eff9f3;

    --page-background: #f4f7f5;
    --surface-primary: #ffffff;
    --surface-secondary: #f8faf9;
    --surface-tertiary: #f1f5f3;

    --text-primary: #17221c;
    --text-secondary: #5f6d64;
    --text-muted: #87928b;

    --border-primary: #dfe5e1;
    --border-secondary: #e9edea;

    --blue-600: #2563eb;
    --blue-50: #eff6ff;

    --amber-600: #d97706;
    --amber-50: #fff7ed;

    --purple-600: #7c3aed;
    --purple-50: #f5f3ff;

    --red-600: #dc2626;
    --red-50: #fef2f2;

    --shadow-small:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 3px 10px rgba(15, 23, 42, 0.035);

    --shadow-card:
        0 1px 3px rgba(15, 23, 42, 0.04),
        0 10px 28px rgba(15, 23, 42, 0.055);

    --shadow-raised:
        0 4px 8px rgba(15, 23, 42, 0.05),
        0 18px 42px rgba(15, 23, 42, 0.08);
}

/* =========================================================
   Base
   ========================================================= */

html {
    min-height: 100%;
    font-size: 16px;
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;

    background: var(--page-background);
    color: var(--text-primary);

    font-family:
        Inter,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    font-size: 1rem;
    line-height: 1.55;

    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

a {
    color: var(--gec-green-700);
    text-decoration: none;
}

a:hover {
    color: var(--gec-green-900);
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;

    color: var(--text-primary);

    font-weight: 730;
    letter-spacing: -0.022em;
}

h1 {
    font-size: clamp(2rem, 2.5vw, 2.75rem);
    line-height: 1.12;
}

h2 {
    font-size: 1.65rem;
}

h3 {
    font-size: 1.3rem;
}

p:last-child {
    margin-bottom: 0;
}

hr {
    border-color: var(--border-secondary);
    opacity: 1;
}

/* Eliminate nested Bootstrap container restrictions. */

.page-container > .container,
.page-container > .container-sm,
.page-container > .container-md,
.page-container > .container-lg,
.page-container > .container-xl,
.page-container > .container-xxl {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-right: 0;
    padding-left: 0;
}

/* =========================================================
   Shared cards
   ========================================================= */

.card {
    overflow: hidden;

    border: 1px solid var(--border-primary);
    border-radius: 16px;

    background: var(--surface-primary);
    box-shadow: var(--shadow-card);
}

.card-header {
    min-height: 56px;
    padding: 15px 20px;

    display: flex;
    align-items: center;

    border-bottom: 1px solid var(--border-secondary);
    background: var(--surface-primary);

    color: #344139;

    font-size: 0.92rem;
    font-weight: 720;
}

.card-body {
    padding: 20px;
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
    min-height: 42px;
    padding: 9px 16px;

    border-radius: 10px;

    font-size: 0.88rem;
    font-weight: 680;

    transition:
        transform 120ms ease,
        box-shadow 120ms ease,
        color 120ms ease,
        background-color 120ms ease,
        border-color 120ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(35, 139, 89, 0.15);
}

.btn-primary,
.btn-success {
    border-color: var(--gec-green-700);
    background: var(--gec-green-700);
    color: #ffffff;
}

.btn-primary:hover,
.btn-success:hover,
.btn-primary:focus,
.btn-success:focus {
    border-color: var(--gec-green-900);
    background: var(--gec-green-900);
    color: #ffffff;
}

.btn-outline-primary {
    border-color: var(--gec-green-600);
    color: var(--gec-green-800);
    background: #ffffff;
}

.btn-outline-primary:hover {
    border-color: var(--gec-green-700);
    background: var(--gec-green-50);
    color: var(--gec-green-900);
}

.btn-outline-secondary {
    border-color: #d4dad6;
    color: #536159;
    background: #ffffff;
}

.btn-outline-secondary:hover {
    border-color: #c0c8c3;
    color: #243128;
    background: #f4f6f5;
}

.btn-light {
    border-color: #dfe4e1;
    background: #ffffff;
    color: #536159;
}

.btn-sm {
    min-height: 34px;
    padding: 6px 11px;

    border-radius: 8px;

    font-size: 0.78rem;
}

/* =========================================================
   Forms
   ========================================================= */

.form-control,
.form-select {
    min-height: 44px;

    border: 1px solid #d8dfda;
    border-radius: 10px;

    background-color: #ffffff;
    color: var(--text-primary);

    font-size: 0.92rem;
}

textarea.form-control {
    min-height: 148px;
    padding: 12px 14px;
    resize: vertical;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gec-green-600);
    box-shadow: 0 0 0 4px rgba(35, 139, 89, 0.13);
}

.form-label {
    margin-bottom: 7px;

    color: #47534c;

    font-size: 0.85rem;
    font-weight: 680;
}

.form-check-input:checked {
    border-color: var(--gec-green-700);
    background-color: var(--gec-green-700);
}

/* =========================================================
   Tables
   ========================================================= */

.table {
    margin-bottom: 0;
    color: var(--text-primary);
}

.table > :not(caption) > * > * {
    padding: 13px 15px;
}

.table thead th {
    border-bottom: 1px solid #dce2de;

    color: #647168;
    background: #f8faf9;

    font-size: 0.74rem;
    font-weight: 760;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.table-hover tbody tr {
    transition: background-color 120ms ease;
}

.table-hover tbody tr:hover {
    background: #f1f8f4;
}

/* =========================================================
   Badges and application statuses
   ========================================================= */

.badge {
    padding: 6px 10px;

    border-radius: 999px;

    font-size: 0.72rem;
    font-weight: 740;
}

.application-status {
    display: inline-flex;
    align-items: center;

    padding: 4px 9px;

    border-radius: 999px;

    font-size: 0.67rem;
    font-weight: 760;
    white-space: nowrap;
}

.application-status-new {
    background: var(--blue-50);
    color: #1d4ed8;
}

.application-status-reviewing {
    background: var(--amber-50);
    color: #c2410c;
}

.application-status-interview {
    background: var(--purple-50);
    color: #6d28d9;
}

.application-status-interviewed {
    background: #eef2ff;
    color: #4338ca;
}

.application-status-offer {
    background: #fdf4ff;
    color: #a21caf;
}

.application-status-hired {
    background: #ecfdf5;
    color: #047857;
}

.application-status-rejected {
    background: var(--red-50);
    color: #b91c1c;
}

.application-status-default {
    background: #f3f4f6;
    color: #4b5563;
}

/* =========================================================
   Dashboard
   ========================================================= */

.dashboard-page {
    width: 100%;
}

.dashboard-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;

    margin-bottom: 28px;
}

.dashboard-eyebrow {
    margin-bottom: 7px;

    color: var(--gec-green-700);

    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dashboard-title {
    margin: 0;

    font-size: clamp(2.15rem, 2.6vw, 2.9rem);
    line-height: 1.08;
}

.dashboard-description {
    max-width: 690px;
    margin: 10px 0 0;

    color: var(--text-secondary);

    font-size: 0.95rem;
}

.dashboard-header-action {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    white-space: nowrap;
}

/* Dashboard statistics */

.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;

    margin-bottom: 20px;
}

.metric-card {
    position: relative;

    display: block;

    min-width: 0;
    min-height: 148px;
    padding: 21px;

    overflow: hidden;

    border: 1px solid var(--border-primary);
    border-radius: 16px;

    background: var(--surface-primary);
    color: var(--text-primary);

    text-align: left;

    box-shadow: var(--shadow-card);

    cursor: pointer;

    appearance: none;

    transition:
        transform 140ms ease,
        box-shadow 140ms ease,
        border-color 140ms ease;
}

.metric-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;

    height: 4px;

    background: #dce4df;

    content: "";
}

.metric-card:hover {
    transform: translateY(-3px);

    border-color: #cbd6cf;
    box-shadow: var(--shadow-raised);
}

.metric-card:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 4px rgba(35, 139, 89, 0.13),
        var(--shadow-raised);
}

.metric-card-total::before {
    background: var(--gec-green-700);
}

.metric-card-new::before {
    background: var(--blue-600);
}

.metric-card-reviewing::before {
    background: var(--amber-600);
}

.metric-card-interview::before {
    background: var(--purple-600);
}

.metric-card-hired::before {
    background: #059669;
}

.metric-card-header {
    display: flex;
    align-items: center;
    gap: 11px;

    margin-bottom: 17px;
}

.metric-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;
    flex: 0 0 38px;

    border-radius: 11px;

    background: var(--gec-green-50);
    color: var(--gec-green-700);

    font-size: 1rem;
}

.metric-card-new .metric-icon {
    background: var(--blue-50);
    color: var(--blue-600);
}

.metric-card-reviewing .metric-icon {
    background: var(--amber-50);
    color: #c2410c;
}

.metric-card-interview .metric-icon {
    background: var(--purple-50);
    color: var(--purple-600);
}

.metric-card-hired .metric-icon {
    background: #ecfdf5;
    color: #059669;
}

.metric-label {
    color: var(--text-secondary);

    font-size: 0.84rem;
    font-weight: 720;
}

.metric-value {
    margin-bottom: 8px;

    color: var(--text-primary);

    font-size: 2.25rem;
    font-weight: 790;
    line-height: 1;
}

.metric-caption {
    color: var(--text-muted);

    font-size: 0.75rem;
    font-weight: 500;
}

/* Dashboard lower layout */

.dashboard-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(310px, 0.8fr);
    gap: 20px;
    align-items: start;
}

.dashboard-panel {
    min-width: 0;
}

.dashboard-panel-header {
    justify-content: space-between;
    gap: 18px;
}

.panel-title {
    color: #344139;

    font-size: 0.94rem;
    font-weight: 760;
}

.panel-subtitle {
    margin-top: 2px;

    color: var(--text-muted);

    font-size: 0.73rem;
    font-weight: 500;
}

.dashboard-side-column {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 20px;
}

/* Recent applications */

.recent-applications-list {
    min-height: 180px;
}

.recent-application-row {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto 20px;
    gap: 14px;
    align-items: center;

    width: 100%;
    padding: 16px 20px;

    border: 0;
    border-bottom: 1px solid var(--border-secondary);

    background: #ffffff;
    color: var(--text-primary);

    text-align: left;

    appearance: none;
    cursor: pointer;

    transition:
        background-color 120ms ease,
        box-shadow 120ms ease;
}

.recent-application-row:last-child {
    border-bottom: 0;
}

.recent-application-row:hover {
    background: #f5faf7;
}

.recent-application-row:focus-visible {
    position: relative;

    z-index: 1;

    outline: none;
    box-shadow: inset 0 0 0 2px var(--gec-green-600);
}

.applicant-avatar {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border-radius: 12px;

    background: var(--gec-green-100);
    color: var(--gec-green-800);

    font-size: 0.78rem;
    font-weight: 800;
}

.recent-application-main {
    min-width: 0;
}

.recent-applicant-name {
    overflow: hidden;

    color: var(--gec-green-800);

    font-size: 0.92rem;
    font-weight: 760;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.recent-application-position {
    overflow: hidden;

    margin-top: 3px;

    color: var(--text-secondary);

    font-size: 0.78rem;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.recent-application-meta {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 6px;

    white-space: nowrap;
}

.recent-application-date {
    color: var(--text-muted);
    font-size: 0.69rem;
}

.recent-application-arrow {
    color: #9ca7a0;
    font-size: 0.78rem;
}

/* Quick actions */

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-action {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 16px;
    gap: 12px;
    align-items: center;

    width: 100%;
    padding: 12px 13px;

    border: 1px solid var(--border-primary);
    border-radius: 12px;

    background: #ffffff;
    color: var(--text-primary);

    text-align: left;

    appearance: none;
    cursor: pointer;

    transition:
        transform 120ms ease,
        border-color 120ms ease,
        background-color 120ms ease;
}

.quick-action:hover {
    transform: translateX(3px);

    border-color: #cbd8d0;
    background: #f6faf8;
}

.quick-action:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(35, 139, 89, 0.13);
}

.quick-action-primary {
    border-color: #cae4d6;
    background: var(--gec-green-50);
}

.quick-action-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    border-radius: 10px;

    background: var(--surface-tertiary);
    color: var(--gec-green-700);
}

.quick-action-primary .quick-action-icon {
    background: var(--gec-green-100);
}

.quick-action-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.quick-action-title {
    color: var(--text-primary);

    font-size: 0.81rem;
    font-weight: 730;
}

.quick-action-description {
    overflow: hidden;

    margin-top: 1px;

    color: var(--text-muted);

    font-size: 0.68rem;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.quick-action > i {
    color: #98a29c;
    font-size: 0.7rem;
}

/* Hiring progress */

.status-summary-panel .card-body {
    padding: 19px 20px;
}

.progress-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 11px;

    color: var(--text-secondary);

    font-size: 0.8rem;
}

.progress-summary-row strong {
    color: var(--text-primary);

    font-size: 1.15rem;
    font-weight: 760;
}

.hiring-progress {
    height: 9px;

    overflow: hidden;

    border-radius: 999px;

    background: #e6ece8;
}

.hiring-progress .progress-bar {
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        var(--gec-green-700),
        var(--gec-green-500));
}

.progress-caption {
    display: flex;
    justify-content: space-between;
    gap: 12px;

    margin-top: 11px;

    color: var(--text-muted);

    font-size: 0.69rem;
}

/* Empty dashboard state */

.dashboard-empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 11px;

    min-height: 270px;
    padding: 36px;

    color: var(--text-muted);

    text-align: center;
}

.empty-state-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    border-radius: 14px;

    background: #edf5f0;
    color: var(--gec-green-700);

    font-size: 1.2rem;
}

.empty-state-title {
    color: var(--text-primary);

    font-size: 0.92rem;
    font-weight: 760;
}

.empty-state-description {
    max-width: 320px;

    font-size: 0.77rem;
}

/* =========================================================
   Application details
   ========================================================= */

.application-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;

    padding: 28px 30px;

    border: 1px solid var(--border-primary);
    border-radius: 17px;

    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.applicant-name {
    margin: 0 0 5px;

    font-size: clamp(2rem, 2.6vw, 2.8rem);
    font-weight: 780;
    line-height: 1.08;
}

.applicant-position {
    color: var(--text-secondary);

    font-size: 1rem;
    font-weight: 540;
}

.application-meta {
    margin-top: 7px;

    color: var(--text-muted);
    font-size: 0.82rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;

    padding: 8px 13px;

    border-radius: 999px;

    background: #e7f5ed;
    color: var(--gec-green-800);

    font-size: 0.78rem;
    font-weight: 760;
}

.info-grid {
    display: grid;
    grid-template-columns: minmax(105px, 135px) minmax(0, 1fr);
    gap: 10px 18px;

    font-size: 0.9rem;
}

.info-grid > div:nth-child(odd) {
    color: #718078;
    font-weight: 660;
}

.info-grid > div:nth-child(even) {
    min-width: 0;

    overflow-wrap: anywhere;

    color: #26332b;
    font-weight: 510;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 11px;

    padding: 11px 12px;

    border: 1px solid var(--border-primary);
    border-radius: 10px;

    background: var(--surface-secondary);
}

.document-item + .document-item {
    margin-top: 8px;
}

.document-item i {
    color: var(--gec-green-700);
    font-size: 1.1rem;
}

.submission-grid {
    display: grid;
    grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
    gap: 8px 20px;

    font-size: 0.88rem;
}

.field-name {
    color: #647168;
    font-weight: 690;
}

details summary {
    color: #425149;

    cursor: pointer;

    font-size: 0.9rem;
    font-weight: 660;
}

details[open] summary {
    margin-bottom: 14px;
}

.sticky-panel {
    position: sticky;
    top: 24px;
}

/* =========================================================
   Alerts and validation
   ========================================================= */

.alert {
    border: 0;
    border-radius: 12px;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type="checkbox"]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid var(--red-600);
}

.validation-message {
    color: var(--red-600);
}

#blazor-error-ui {
    display: none;

    position: fixed;
    right: 20px;
    bottom: 20px;
    left: 20px;

    z-index: 2000;

    padding: 13px 48px 13px 16px;

    border-radius: 12px;

    background: #7f1d1d;
    color: #ffffff;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

#blazor-error-ui .reload {
    margin-left: 8px;

    color: #ffffff;
    font-weight: 700;
}

#blazor-error-ui .dismiss {
    position: absolute;
    top: 8px;
    right: 14px;

    cursor: pointer;

    font-size: 1.4rem;
}

/* =========================================================
   Responsive behavior
   ========================================================= */

@media (max-width: 1380px) {
    .dashboard-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1120px) {
    .dashboard-content-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-side-column {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .application-header {
        padding: 24px;
    }

    .sticky-panel {
        position: static;
    }
}

@media (max-width: 780px) {
    .dashboard-header {
        align-items: stretch;
        flex-direction: column;
    }

    .dashboard-header-action {
        justify-content: center;
        width: 100%;
    }

    .dashboard-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-side-column {
        display: flex;
    }

    .recent-application-row {
        grid-template-columns: 44px minmax(0, 1fr) 18px;
    }

    .recent-application-meta {
        display: none;
    }
}

@media (max-width: 575px) {
    html {
        font-size: 15px;
    }

    .dashboard-metrics {
        grid-template-columns: 1fr;
    }

    .metric-card {
        min-height: 130px;
    }

    .application-header {
        align-items: flex-start;
        flex-direction: column;

        padding: 20px;
    }

    .info-grid,
    .submission-grid {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .info-grid > div:nth-child(even),
    .submission-grid > div:not(.field-name) {
        margin-bottom: 10px;
    }
}

/* =========================================================
   Application Details: dynamically generated content
   These styles must be global because RenderTreeBuilder
   elements do not receive the component CSS scope attribute.
   ========================================================= */

/* Employment eligibility */

.eligibility-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));

    overflow: hidden;
}

.eligibility-item {
    min-width: 0;
    padding: 18px 20px;

    border-right: 1px solid var(--border-secondary);
    border-bottom: 1px solid var(--border-secondary);

    background: #ffffff;
}

.eligibility-item:last-child {
    border-right: 0;
}

.eligibility-label {
    margin-bottom: 9px;

    color: var(--text-muted);

    font-size: 0.72rem;
    font-weight: 720;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.eligibility-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 54px;
    padding: 6px 11px;

    border-radius: 999px;

    font-size: 0.76rem;
    font-weight: 750;
    line-height: 1;
}

.eligibility-value-positive {
    border: 1px solid #bbebd0;

    background: #ecfdf5;
    color: #047857;
}

.eligibility-value-negative {
    border: 1px solid #fecaca;

    background: #fef2f2;
    color: #b91c1c;
}

.eligibility-value-neutral {
    border: 1px solid #e5e7eb;

    background: #f3f4f6;
    color: #4b5563;
}

/* Education */

.education-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;

    padding: 20px;
}

.education-card {
    min-width: 0;
    min-height: 132px;
    padding: 18px;

    border: 1px solid var(--border-secondary);
    border-radius: 13px;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            var(--surface-secondary) 100%);

    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.025),
        0 5px 15px rgba(15, 23, 42, 0.035);
}

.education-card-title {
    color: var(--gec-green-700);

    font-size: 0.7rem;
    font-weight: 780;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.education-card-school {
    margin-top: 9px;

    color: var(--text-primary);

    font-size: 0.95rem;
    font-weight: 730;
    line-height: 1.35;
}

.education-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;

    margin-top: 15px;
}

.education-card-meta span {
    display: inline-flex;
    align-items: center;

    padding: 5px 9px;

    border: 1px solid var(--border-secondary);
    border-radius: 999px;

    background: #ffffff;
    color: var(--text-secondary);

    font-size: 0.7rem;
    font-weight: 620;
}

/* Employment history */

.employment-history-list {
    display: flex;
    flex-direction: column;
    gap: 15px;

    padding: 20px;
}

.employer-card {
    overflow: hidden;

    border: 1px solid var(--border-secondary);
    border-radius: 13px;

    background: var(--surface-secondary);

    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.025),
        0 4px 12px rgba(15, 23, 42, 0.025);
}

.employer-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;

    padding: 16px 18px;

    border-bottom: 1px solid var(--border-secondary);

    background: #ffffff;
}

.employer-card-header h3 {
    margin: 0;

    color: var(--text-primary);

    font-size: 1rem;
    font-weight: 760;
}

.employer-dates {
    margin-top: 4px;

    color: var(--text-muted);

    font-size: 0.73rem;
    font-weight: 520;
}

.employer-number {
    display: inline-flex;
    align-items: center;

    padding: 5px 9px;

    border: 1px solid #cce7d8;
    border-radius: 999px;

    background: var(--gec-green-50);
    color: var(--gec-green-800);

    font-size: 0.68rem;
    font-weight: 760;
    white-space: nowrap;
}

.employer-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    background: #ffffff;
}

.employer-field {
    min-width: 0;
    padding: 14px 18px;

    border-right: 1px solid var(--border-secondary);
    border-bottom: 1px solid var(--border-secondary);
}

.employer-field:last-child {
    border-right: 0;
}

.employer-field-label {
    margin-bottom: 5px;

    color: var(--text-muted);

    font-size: 0.67rem;
    font-weight: 720;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.employer-field-value {
    overflow-wrap: anywhere;

    color: var(--text-primary);

    font-size: 0.8rem;
    font-weight: 580;
}

.employer-text-block {
    padding: 15px 18px;

    border-bottom: 1px solid var(--border-secondary);

    background: var(--surface-secondary);
    color: #344139;

    font-size: 0.8rem;
    line-height: 1.55;
    white-space: pre-wrap;
}

.employer-text-block:last-child {
    border-bottom: 0;
}

.employer-text-label {
    margin-bottom: 5px;

    color: var(--text-muted);

    font-size: 0.67rem;
    font-weight: 720;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

/* Dynamically generated responsive behavior */

@media (max-width: 1180px) {
    .eligibility-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .eligibility-item:nth-child(3n) {
        border-right: 0;
    }
}

@media (max-width: 820px) {
    .education-grid {
        grid-template-columns: 1fr;
    }

    .eligibility-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eligibility-item:nth-child(3n) {
        border-right: 1px solid var(--border-secondary);
    }

    .eligibility-item:nth-child(2n) {
        border-right: 0;
    }

    .employer-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .employer-field:nth-child(2n) {
        border-right: 0;
    }
}

@media (max-width: 560px) {
    .eligibility-grid,
    .employer-card-grid {
        grid-template-columns: 1fr;
    }

    .eligibility-item,
    .eligibility-item:nth-child(2n),
    .eligibility-item:nth-child(3n),
    .employer-field,
    .employer-field:nth-child(2n) {
        border-right: 0;
    }

    .education-grid,
    .employment-history-list {
        padding: 14px;
    }
}