/* stylelint-disable */

/*
 * k-ID Ashby Job Board — Custom CSS
 * Matches the current k-id.com light-themed brand (2026)
 *
 * Color palette extracted from k-id.com:
 *   Primary:  #f3edfe / #e6d9fd / #bf9dfc / #a476fb / #8a4efa / #7026f9 / #4f18b6 / #2e0973
 *   Neutral:  #d5d5d8 / #c0c0c5 / #81818b / #5f5f71 / #464657 / #1b1b25
 *   Teal:     #00becc
 *   Font:     Inter, sans-serif
 */

:root {
    /* Darker primary color
       WARNING — can be set in the Ashby admin under theme settings!
       Make sure these colors work with the settings there. */
    --colorPrimary900: #7026f9;

    --colorNeutral100: #f3edfe;
    --colorNeutral000: #ffffff;
    --colorNeutral800: #5f5f71;
    --colorNeutral700: #7026f9;

    /* Lighter primary color
       WARNING — can be set in the Ashby admin under theme settings! */
    --colorPrimary600: #8a4efa;

    --widthMaxJobBoard: 100%;

    --borderRadiusContainer: 12px;
    --borderRadiusControl: 8px;
    --borderRadiusButton: 2rem;

    --fontFamily: "Inter", "-apple-system", "BlinkMacSystemFont", "Segoe UI",
        "Helvetica", "Arial", sans-serif;

    --colorAppBackground: #ffffff;
}

/* ───────────────────────────────────────────────
   Global — Link Styling
   ─────────────────────────────────────────────── */

a {
    text-decoration: none;
    color: #7026f9;
    transition: color 0.15s ease;
}

a:hover {
    color: #8a4efa;
}

a:focus-visible {
    outline: 2px solid #a476fb;
    outline-offset: 2px;
    border-radius: 2px;
}

/* ───────────────────────────────────────────────
   Job Board — Listing Page
   ─────────────────────────────────────────────── */

.ashby-job-board-heading {
    color: #1b1b25;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.ashby-job-board-heading-count {
    color: #5f5f71;
    font-weight: 400;
}

.ashby-job-board-filter {
    background: #f3edfe;
    border: 1px solid #e6d9fd;
    color: #1b1b25;
    border-radius: 8px;
    transition: border-color 0.15s ease;
}

.ashby-job-board-filter:hover {
    border-color: #bf9dfc;
}

.ashby-job-board-filter:focus {
    border-color: #7026f9;
    outline: none;
    box-shadow: 0 0 0 3px rgba(112, 38, 249, 0.12);
}

.ashby-job-board-filters-label {
    color: #5f5f71;
    font-weight: 500;
}

.ashby-job-board-reset-filters-label {
    color: #7026f9;
    cursor: pointer;
}

.ashby-job-board-reset-filters-label:hover {
    color: #8a4efa;
}

/* ───────────────────────────────────────────────
   Job Board — Department / Team Headings
   ─────────────────────────────────────────────── */

.ashby-department-heading {
    color: #1b1b25;
}

.ashby-department-heading-level {
    font-size: 2em;
    line-height: 1;
    margin-bottom: 24px;
    color: #1b1b25;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.ashby-job-posting-brief-department-heading-level {
    color: #1b1b25;
    font-weight: 600;
}

/* ───────────────────────────────────────────────
   Job Board — Posting Brief Cards
   ─────────────────────────────────────────────── */

.ashby-job-posting-brief-list {
    border: 1px solid #e6d9fd;
    border-radius: 16px;
    padding: 1.5em;
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    background-color: transparent;
}

.ashby-job-posting-brief {
    background-color: #f3edfe;
    border: 1px solid #e6d9fd;
    border-radius: 12px;
    padding: 1.5em;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.ashby-job-posting-brief:hover {
    border-color: #bf9dfc;
    box-shadow: 0 2px 12px rgba(112, 38, 249, 0.08);
}

.ashby-job-posting-brief-title,
.ashby-job-posting-brief-department-heading {
    margin-bottom: 8px;
    color: #7026f9;
    font-weight: 600;
}

.ashby-job-posting-brief-title:hover {
    color: #8a4efa;
}

.ashby-job-posting-brief-details {
    color: #5f5f71;
    font-size: 15px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 0;
}

/* ───────────────────────────────────────────────
   Job Board — Back Button
   ─────────────────────────────────────────────── */

.ashby-job-board-back-to-all-jobs-button {
    color: #7026f9;
    font-weight: 500;
    transition: color 0.15s ease;
}

.ashby-job-board-back-to-all-jobs-button:hover {
    color: #ffffff;
}

/* ───────────────────────────────────────────────
   Job Posting — Detail Page
   ─────────────────────────────────────────────── */

.ashby-job-posting-header {
    color: #1b1b25;
}

.ashby-job-posting-heading {
    color: #1b1b25;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.ashby-job-posting-left-pane {
    color: #464657;
}

.ashby-job-posting-right-pane {
    color: #1b1b25;
}

.ashby-job-posting-right-pane-tab-slider {
    border-color: #e6d9fd;
}

.ashby-job-posting-right-pane-overview-tab,
.ashby-job-posting-right-pane-application-tab {
    color: #1b1b25;
}

/* ───────────────────────────────────────────────
   Application Form
   ─────────────────────────────────────────────── */

.ashby-application-form-container {
    color: #1b1b25;
}

.ashby-application-form-section-container {
    border-color: #e6d9fd;
}

.ashby-application-form-section-header {
    color: #1b1b25;
}

.ashby-application-form-section-header-title {
    color: #1b1b25;
    font-weight: 600;
}

.ashby-application-form-section-header-description {
    color: #5f5f71;
}

.ashby-application-form-question-title {
    color: #1b1b25;
    font-weight: 500;
}

.ashby-application-form-question-description {
    color: #81818b;
}

.ashby-application-form-field-entry {
    color: #1b1b25;
}

.ashby-application-form-submit-button {
    background-color: #7026f9;
    color: #ffffff;
    border: none;
    border-radius: 2rem;
    font-weight: 600;
    padding: 0.75em 2em;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.ashby-application-form-submit-button:hover {
    background-color: #8a4efa;
    box-shadow: 0 2px 8px rgba(112, 38, 249, 0.2);
}

.ashby-application-form-submit-button:active {
    background-color: #4f18b6;
}

.ashby-application-form-submit-button:focus-visible {
    outline: 2px solid #a476fb;
    outline-offset: 2px;
}

/* ───────────────────────────────────────────────
   Application Form — Autofill / Resume Upload
   ─────────────────────────────────────────────── */

.ashby-application-form-autofill-pane {
    color: #1b1b25;
}

.ashby-application-form-autofill-uploader {
    color: #1b1b25;
}

.ashby-application-form-autofill-input-root {
    border: 2px dashed #e6d9fd;
    border-radius: 12px;
    background-color: #f3edfe;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.ashby-application-form-autofill-input-root:hover,
.ashby-application-form-autofill-input-root[data-state="drag"] {
    border-color: #bf9dfc;
    background-color: #e6d9fd;
}

.ashby-application-form-autofill-input-base-layer {
    color: #1b1b25;
}

.ashby-application-form-autofill-input-drag-layer[data-state="active"] {
    background-color: rgba(243, 237, 254, 0.9);
    border-color: #bf9dfc;
}

.ashby-application-form-autofill-input-pending-layer[data-state="active"] {
    background-color: rgba(243, 237, 254, 0.8);
}

.ashby-application-form-autofill-input-title {
    color: #1b1b25;
    font-weight: 600;
}

.ashby-application-form-autofill-input-description {
    color: #5f5f71;
}

.ashby-application-form-autofill-input-icon {
    color: #7026f9;
}

.ashby-application-form-autofill-input-form-alert[data-highlight="negative"] {
    color: #dc2626;
}

.ashby-application-form-autofill-input-form-alert[data-highlight="positive"] {
    color: #059669;
}

/* ───────────────────────────────────────────────
   Application Form — Success / Failure States
   ─────────────────────────────────────────────── */

.ashby-application-form-success-container {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    color: #166534;
    padding: 2em;
}

.ashby-application-form-failure-container {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    color: #991b1b;
    padding: 2em;
}

.ashby-application-form-blocked-application-container {
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    color: #92400e;
    padding: 2em;
}

/* ───────────────────────────────────────────────
   Application Form — Text Consent
   ─────────────────────────────────────────────── */

.ashby-application-form-texting-consent-description {
    color: #81818b;
    font-size: 0.875em;
}

/* ───────────────────────────────────────────────
   Survey Form
   ─────────────────────────────────────────────── */

.ashby-survey-form-container {
    border-top: 1px solid #e6d9fd;
    padding-top: 1.5em;
    color: #1b1b25;
}
