/* =========================================
   ATOMIC INDUSTRIES - ASHBY THEME
   Style: Industrial Brutalism / Manifest
   ========================================= */

/* stylelint-disable */

:root {
    /* Primary Colors (From Atomic Industries Branding) */
    --colorPrimary900: #0056a3; 
    --colorPrimary600: #0065BD; /* The distinctive Industrial Blue */

    /* Typography */
    --fontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --fontFamilyMono: "Courier New", Courier, monospace; /* For metadata/specs */

    /* Layout Variables */
    --widthMaxJobBoard: 1000px;
    --colorAppBackground: #ffffff;
    --colorTextMain: #000000;
    --colorTextLight: #555555;
    --colorBorder: #000000;

    /* THE ATOMIC LOOK: Sharp Corners (No Radius) */
    --borderRadiusContainer: 0px;
    --borderRadiusControl: 0px;
    --borderRadiusButton: 0px;
}

/* =========================================
   GLOBAL RESET & TYPOGRAPHY
   ========================================= */

body {
    color: var(--colorTextMain);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    text-transform: uppercase;
    letter-spacing: -0.5px;
    font-weight: 800;
}

/* =========================================
   HEADER SECTION ("Hero")
   ========================================= */

/* The Main Title */
.ashby-job-board-heading {
    font-size: 4rem;
    line-height: 0.9;
    margin-bottom: 2rem;
    color: var(--colorTextMain);
    border-bottom: 4px solid var(--colorBorder);
    padding-bottom: 20px;
}

/* The Job Count Badge */
.ashby-job-board-heading-count {
    font-family: var(--fontFamilyMono);
    font-size: 1rem;
    background: var(--colorTextMain);
    color: white;
    padding: 2px 8px;
    vertical-align: middle;
    margin-left: 10px;
}

/* Filter Controls */
.ashby-job-board-filters-label {
    font-family: var(--fontFamilyMono);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: block;
}

.ashby-job-board-filter {
    border: 1px solid var(--colorBorder);
    background-color: #f4f4f4;
    font-family: var(--fontFamilyMono);
    font-size: 12px;
    text-transform: uppercase;
    padding: 10px;
    border-radius: 0;
}

.ashby-job-board-reset-filters-label {
    text-transform: uppercase;
    text-decoration: underline;
    font-weight: bold;
    font-size: 0.8rem;
    margin-top: 10px;
    display: inline-block;
}

/* =========================================
   JOB LIST ("Manifest Table")
   ========================================= */

/* Department Headers (Blue Bars like "FACILITY 001") */
.ashby-department-heading {
    background-color: var(--colorPrimary600);
    color: white;
    padding: 12px 15px;
    font-family: var(--fontFamilyMono);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 40px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    border: none;
}

/* Job Rows */
.ashby-job-posting-brief {
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 15px;
    transition: all 0.2s ease;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ashby-job-posting-brief:hover {
    background-color: #f0f8ff;
    padding-left: 25px; /* Slight mechanical shift on hover */
    border-left: 5px solid var(--colorPrimary600);
}

.ashby-job-posting-brief-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--colorPrimary600);
    text-transform: none; /* Keep job titles readable */
}

/* Metadata (Location/Type) */
.ashby-job-posting-brief-details {
    font-family: var(--fontFamilyMono);
    font-size: 0.85rem;
    color: var(--colorTextLight);
    text-transform: uppercase;
}

/* =========================================
   JOB DETAIL PAGE
   ========================================= */

/* Back Button */
.ashby-job-board-back-to-all-jobs-button {
    border: 1px solid var(--colorBorder);
    background: transparent;
    font-family: var(--fontFamilyMono);
    text-transform: uppercase;
    padding: 8px 16px;
    font-size: 12px;
    margin-bottom: 20px;
    display: inline-block;
    cursor: pointer;
}

.ashby-job-board-back-to-all-jobs-button:hover {
    background: var(--colorTextMain);
    color: white;
}

.ashby-job-posting-heading {
    font-size: 2.5rem;
    border-bottom: 2px solid var(--colorBorder);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

/* Tab Slider Fixes - The "Weird Bars" Removal */
.ashby-job-posting-right-pane-tab-slider {
    border-bottom: 1px solid #e0e0e0; /* Softer bottom line */
    margin-bottom: 30px;
    display: flex;
    gap: 30px;
}

/* Target SPECIFICALLY the buttons inside the slider */
.ashby-job-posting-right-pane-tab-slider button,
.ashby-job-posting-right-pane-tab-slider [role="tab"] {
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 12px 20px !important; /* INCREASED PADDING TO PUSH BORDER DOWN */
    font-family: var(--fontFamilyMono);
    text-transform: uppercase;
    font-weight: bold;
    color: var(--colorTextLight);
    cursor: pointer;
    border-bottom: 4px solid transparent !important; /* Thick border, transparent by default */
    margin-bottom: -1px; 
    outline: none !important;
    position: relative;
    z-index: 1;
    height: auto !important; /* Prevent collapsed height */
    line-height: normal !important;
    text-decoration: none !important; /* Ensure no strikethrough */
}

/* Active State (Blue Underline) */
.ashby-job-posting-right-pane-tab-slider button[data-state="active"],
.ashby-job-posting-right-pane-tab-slider [role="tab"][aria-selected="true"],
.ashby-job-posting-right-pane-tab-slider button:hover {
    color: var(--colorPrimary600) !important;
    border-bottom: 4px solid var(--colorPrimary600) !important;
    opacity: 1 !important;
    background-color: #ffffff !important; /* White background to cover the grey line behind it */
    z-index: 2;
}

/* =========================================
   APPLICATION FORM
   ========================================= */

/* Inputs */
.ashby-application-form-field-entry input,
.ashby-application-form-field-entry textarea,
.ashby-application-form-field-entry select {
    background-color: #FAFAFA;
    border: 1px solid #CCCCCC;
    font-family: var(--fontFamilyMono);
    padding: 12px;
    transition: border 0.2s;
    border-radius: 0;
}

.ashby-application-form-field-entry input:focus,
.ashby-application-form-field-entry textarea:focus {
    border: 1px solid var(--colorPrimary600);
    outline: none;
    background-color: white;
}

/* Labels */
.ashby-application-form-question-title {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

/* Section Dividers in Form */
.ashby-application-form-section-header-title {
    font-family: var(--fontFamilyMono);
    text-transform: uppercase;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    margin-bottom: 15px;
    margin-top: 20px;
    display: block;
    width: 100%;
    font-size: 1rem;
    color: var(--colorPrimary600);
}

/* Submit Button */
.ashby-application-form-submit-button {
    background-color: #000000;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    padding: 18px 30px;
    border: none;
    width: 100%;
    margin-top: 30px;
    font-family: var(--fontFamily);
    cursor: pointer;
    transition: background-color 0.2s;
}

.ashby-application-form-submit-button:hover {
    background-color: var(--colorPrimary600);
}

/* File Uploader Box */
.ashby-application-form-autofill-uploader {
    border: 1px dashed var(--colorBorder);
    background-color: #f7f8fa;
    padding: 20px;
    text-align: center;
}

/* Messages */
.ashby-application-form-success-container,
.ashby-application-form-failure-container {
    border: 1px solid var(--colorBorder);
    padding: 20px;
    text-align: center;
    background: #f7f8fa;
    font-family: var(--fontFamilyMono);
}
