/* Canvas Medical Job Board Custom CSS */
/* Simplified version with Canvas branding and better readability */

:root {
    /* Canvas Brand Colors */
    --canvas-cyan: #00ECFF;
    --canvas-blue: #01A4FF;
    --canvas-green: #55F7A9;
    --canvas-dark: #0A1F3D;

    /* Readable text colors on light background */
    --text-dark: #1F2937;
    --text-medium: #4B5563;
    --text-light: #6B7280;

    /* Backgrounds */
    --bg-light: #FFFFFF;
    --bg-card: #F9FAFB;
    --border-light: #E5E7EB;

    /* Typography */
    --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica", "Arial", sans-serif;
}

/* Canvas Logo at top of job board */
.ashby-job-board-heading::before {
    content: '';
    display: block;
    width: 180px;
    height: 45px;
    background-image: url('https://images.prismic.io/canvas-website/aWxJ7AIvOtkhBrah_canvas_logo_black.png?auto=format,compress');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    margin-bottom: 2rem;
}

/* Job Board Header */
.ashby-job-board-heading {
    font-family: var(--font-family);
    color: var(--text-dark);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.ashby-job-board-heading-count {
    font-family: var(--font-family);
    color: var(--text-medium);
    font-size: 1rem;
}

/* Filters */
.ashby-job-board-filters-label {
    font-family: var(--font-family);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ashby-job-board-filter {
    font-family: var(--font-family);
    border: 1px solid var(--border-light);
    border-radius: 0.5rem;
    background: var(--bg-light);
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.ashby-job-board-filter:hover {
    border-color: var(--text-medium);
}

.ashby-job-board-filter:focus {
    outline: none;
    border-color: var(--text-medium);
    box-shadow: 0 0 0 3px rgba(75, 85, 99, 0.1);
}

.ashby-job-board-reset-filters-label {
    font-family: var(--font-family);
    color: var(--text-dark);
    font-weight: 500;
    cursor: pointer;
}

.ashby-job-board-reset-filters-label:hover {
    opacity: 0.8;
}

/* Job Posting Cards */
.ashby-job-posting-brief {
    font-family: var(--font-family);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.ashby-job-posting-brief:hover {
    border-color: var(--text-medium);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.ashby-job-posting-brief-title {
    font-family: var(--font-family);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.ashby-job-posting-brief-details {
    font-family: var(--font-family);
    color: var(--text-medium);
    font-size: 0.875rem;
}

/* Department/Team Headings */
.ashby-department-heading,
.ashby-job-posting-brief-department-heading {
    font-family: var(--font-family);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.ashby-department-heading-level,
.ashby-job-posting-brief-department-heading-level {
    font-family: var(--font-family);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.125rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Job Posting Page */
.ashby-job-posting-header {
    font-family: var(--font-family);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.ashby-job-posting-heading {
    font-family: var(--font-family);
    color: var(--text-dark);
    font-weight: 700;
    font-size: 2rem;
}

.ashby-job-board-back-to-all-jobs-button {
    font-family: var(--font-family);
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.ashby-job-board-back-to-all-jobs-button:hover {
    opacity: 0.8;
}

/* Tabs */
.ashby-job-posting-right-pane-tab-slider {
    font-family: var(--font-family);
    border-bottom: 2px solid var(--border-light);
}

.ashby-job-posting-right-pane-overview-tab,
.ashby-job-posting-right-pane-application-tab {
    font-family: var(--font-family);
    color: var(--text-medium);
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.ashby-job-posting-right-pane-overview-tab:hover,
.ashby-job-posting-right-pane-application-tab:hover {
    color: var(--text-dark);
}

.ashby-job-posting-right-pane-overview-tab[data-state="active"],
.ashby-job-posting-right-pane-application-tab[data-state="active"] {
    color: var(--text-dark);
    border-bottom-color: var(--text-dark);
}

/* Application Form */
.ashby-application-form-container {
    font-family: var(--font-family);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 0.75rem;
    padding: 2rem;
}

.ashby-application-form-section-header-title {
    font-family: var(--font-family);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.ashby-application-form-section-header-description {
    font-family: var(--font-family);
    color: var(--text-medium);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.ashby-application-form-question-title {
    font-family: var(--font-family);
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.ashby-application-form-question-description {
    font-family: var(--font-family);
    color: var(--text-medium);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.ashby-application-form-field-entry input,
.ashby-application-form-field-entry textarea,
.ashby-application-form-field-entry select {
    font-family: var(--font-family);
    border: 1px solid var(--border-light);
    border-radius: 0.5rem;
    background: var(--bg-light);
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    transition: all 0.2s ease;
    width: 100%;
}

.ashby-application-form-field-entry input:hover,
.ashby-application-form-field-entry textarea:hover,
.ashby-application-form-field-entry select:hover {
    border-color: var(--text-medium);
}

.ashby-application-form-field-entry input:focus,
.ashby-application-form-field-entry textarea:focus,
.ashby-application-form-field-entry select:focus {
    outline: none;
    border-color: var(--text-medium);
    box-shadow: 0 0 0 3px rgba(75, 85, 99, 0.1);
}

/* Submit Button */
.ashby-application-form-submit-button {
    font-family: var(--font-family);
    background: var(--canvas-cyan);
    color: #030814;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.ashby-application-form-submit-button:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    opacity: 0.9;
}

.ashby-application-form-submit-button:active {
    transform: translateY(0);
}

.ashby-application-form-submit-button[disabled] {
    background: var(--text-light);
    cursor: not-allowed;
    opacity: 0.5;
}

/* Autofill Input */
.ashby-application-form-autofill-input-root {
    font-family: var(--font-family);
    border: 2px dashed var(--border-light);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.2s ease;
    background: var(--bg-light);
}

.ashby-application-form-autofill-input-root:hover,
.ashby-application-form-autofill-input-root[data-state="drag"] {
    border-color: var(--text-medium);
    background: rgba(249, 250, 251, 0.5);
}

.ashby-application-form-autofill-input-title {
    font-family: var(--font-family);
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ashby-application-form-autofill-input-description {
    font-family: var(--font-family);
    color: var(--text-medium);
    font-size: 0.875rem;
}

.ashby-application-form-autofill-input-icon {
    font-family: var(--font-family);
    color: var(--text-medium);
}

/* Form Alerts */
.ashby-application-form-autofill-input-form-alert[data-highlight="positive"] {
    font-family: var(--font-family);
    color: var(--canvas-green);
    background: rgba(85, 247, 169, 0.1);
    border: 1px solid var(--canvas-green);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

.ashby-application-form-autofill-input-form-alert[data-highlight="negative"] {
    font-family: var(--font-family);
    color: #EF4444;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #EF4444;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

/* Success/Failure Messages */
.ashby-application-form-success-container {
    font-family: var(--font-family);
    text-align: center;
    padding: 3rem 2rem;
    color: var(--canvas-green);
}

.ashby-application-form-failure-container {
    font-family: var(--font-family);
    text-align: center;
    padding: 3rem 2rem;
    color: #EF4444;
}

/* Texting Consent */
.ashby-application-form-texting-consent-description {
    font-family: var(--font-family);
    color: var(--text-light);
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

/* Survey Form */
.ashby-survey-form-container {
    font-family: var(--font-family);
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

/* Job Posting Left Pane */
.ashby-job-posting-left-pane {
    font-family: var(--font-family);
    color: var(--text-medium);
}
