/* stylelint-disable */

/* ==========================================================================
   Valkai – Ashby Job Board Custom CSS
   Brand-matched to valkai.com
   ========================================================================== */

/* ---------- Brand Tokens ---------- */
@import url('https://fonts.googleapis.com/css2?family=Funnel+Display:wght@400;500;600;700&family=Funnel+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Primary accent – Valkai teal */
    --colorPrimary900: #00775a;
    --colorPrimary600: #00916E;

    /* Layout */
    --widthMaxJobBoard: 820px;

    /* Border radius – Valkai uses sharp/minimal corners */
    --borderRadiusContainer: 6px;
    --borderRadiusControl: 4px;
    --borderRadiusButton: 4px;

    /* Typography – match valkai.com */
    --fontFamily: "Funnel Sans", "Fustat", -apple-system, BlinkMacSystemFont,
        "Segoe UI", Helvetica, Arial, sans-serif;

    /* Background */
    --colorAppBackground: #ffffff;
}

/* ---------- Global Overrides ---------- */

/* Job board heading ("Open Positions") */
.ashby-job-board-heading {
    font-family: "Funnel Display", "Funnel Sans", system-ui, sans-serif;
    font-weight: 700;
    color: #020817;
    letter-spacing: -0.02em;
}

/* Position count badge */
.ashby-job-board-heading-count {
    color: #00916E;
    font-weight: 600;
}

/* Department headings (Engineering, Operations, etc.) */
.ashby-department-heading,
.ashby-job-posting-brief-department-heading {
    font-family: "Funnel Display", "Funnel Sans", system-ui, sans-serif;
    font-weight: 600;
    color: #020817;
    letter-spacing: -0.01em;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 8px;
}

/* ---------- Job Listing Cards ---------- */

.ashby-job-posting-brief {
    margin-bottom: 4px;
    padding: 16px 20px;
    border-radius: 6px;
    transition: background-color 0.15s ease;
}

.ashby-job-posting-brief:hover {
    background-color: #f9fafb;
}

/* Job title links */
.ashby-job-posting-brief-title {
    font-family: "Funnel Sans", system-ui, sans-serif;
    font-weight: 600;
    color: #020817;
    letter-spacing: -0.01em;
}

.ashby-job-posting-brief-title:hover {
    color: #00916E;
}

/* Job details (location, type, etc.) */
.ashby-job-posting-brief-details {
    color: #6b7280;
    font-size: 0.9em;
    font-weight: 400;
}

/* ---------- Individual Job Posting Page ---------- */

.ashby-job-posting-heading {
    font-family: "Funnel Display", "Funnel Sans", system-ui, sans-serif;
    font-weight: 700;
    color: #020817;
    letter-spacing: -0.02em;
}

.ashby-job-posting-header {
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 24px;
    margin-bottom: 24px;
}

/* Left pane (job description) */
.ashby-job-posting-left-pane {
    color: #1f2937;
    line-height: 1.7;
}

/* Right pane (application form) */
.ashby-job-posting-right-pane {
    background-color: #fafafa;
    border-radius: 8px;
    padding: 24px;
}

/* Tab slider for Overview / Application */
.ashby-job-posting-right-pane-tab-slider {
    border-radius: 4px;
}

/* Back button */
.ashby-job-board-back-to-all-jobs-button {
    font-weight: 500;
    color: #00916E;
}

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

/* ---------- Filters ---------- */

.ashby-job-board-filter {
    border-radius: 4px;
    font-family: "Funnel Sans", system-ui, sans-serif;
    font-weight: 400;
}

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

.ashby-job-board-reset-filters-label {
    color: #00916E;
    font-weight: 500;
}

.ashby-job-board-reset-filters-label:hover {
    color: #00775a;
}

/* ---------- Application Form ---------- */

.ashby-application-form-container {
    font-family: "Funnel Sans", system-ui, sans-serif;
}

.ashby-application-form-section-header-title {
    font-family: "Funnel Display", "Funnel Sans", system-ui, sans-serif;
    font-weight: 600;
    color: #020817;
    letter-spacing: -0.01em;
}

.ashby-application-form-section-header-description {
    color: #6b7280;
    line-height: 1.6;
}

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

.ashby-application-form-question-description {
    color: #6b7280;
    font-size: 0.9em;
}

/* Submit button */
.ashby-application-form-submit-button {
    background-color: #00916E !important;
    border-radius: 4px !important;
    font-family: "Funnel Sans", system-ui, sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    padding: 10px 24px !important;
    transition: background-color 0.15s ease;
}

.ashby-application-form-submit-button:hover {
    background-color: #00775a !important;
}

/* Success / failure states */
.ashby-application-form-success-container {
    color: #00916E;
    font-weight: 500;
}

/* ---------- Resume Upload ---------- */

.ashby-application-form-autofill-input-root {
    border-radius: 6px;
    border: 2px dashed #d1d5db;
    transition: border-color 0.15s ease;
}

.ashby-application-form-autofill-input-root:hover {
    border-color: #00916E;
}

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

.ashby-application-form-autofill-input-description {
    color: #6b7280;
    font-size: 0.85em;
}
