/* ═══════════════════════════════════════════════════════
   GOrecruitAI – Utility classes
   ═══════════════════════════════════════════════════════ */

/* ── Text ── */
.u-text-heading  { color: var(--g-text-heading); }
.u-text-body     { color: var(--g-text-body); }
.u-text-muted    { color: var(--g-text-muted); }
.u-text-success  { color: var(--g-success-text); }
.u-text-error    { color: var(--g-error-text); }

/* ── Font weights ── */
.u-fw-400 { font-weight: 400; }
.u-fw-500 { font-weight: 500; }
.u-fw-600 { font-weight: 600; }
.u-fw-700 { font-weight: 700; }
.u-fw-800 { font-weight: 800; }

/* ── Spacing helpers ── */
.u-gap-4  { gap: 4px; }
.u-gap-8  { gap: 8px; }
.u-gap-12 { gap: 12px; }
.u-gap-16 { gap: 16px; }
.u-gap-24 { gap: 24px; }

/* ── Display ── */
.u-flex       { display: flex; }
.u-flex-col   { display: flex; flex-direction: column; }
.u-flex-center { display: flex; align-items: center; justify-content: center; }
.u-items-center { align-items: center; }

/* ── Truncate ── */
.u-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Screen-reader only ── */
.u-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Typography helpers ── */
.u-page-title {
    font-size: var(--g-fs-page-title);
    font-weight: var(--g-fw-bold);
    color: var(--g-text-heading);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: var(--g-lh-tight);
}

.u-section-title {
    font-size: var(--g-fs-section-title);
    font-weight: var(--g-fw-bold);
    color: var(--g-text-heading);
    margin: 0;
    line-height: var(--g-lh-tight);
}

.u-card-title {
    font-size: var(--g-fs-card-title);
    font-weight: var(--g-fw-bold);
    color: var(--g-text-heading);
    margin: 10px 0;
    line-height: var(--g-lh-tight);
}

.u-subtitle {
    font-size: var(--g-fs-sm);
    color: var(--g-text-secondary);
    margin: 0;
    line-height: var(--g-lh-normal);
}

.u-label {
    font-size: var(--g-fs-xs);
    font-weight: var(--g-fw-semibold);
    color: var(--g-text-label);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
