/* ==========================================================================
   CHEMOIL INDIA - CAREERS PORTAL FRONTEND CSS
   ========================================================================== */

:root {
    --chemoil-navy: #031B33;
    --chemoil-dark: #020F1E;
    --chemoil-blue: #3b82f6;
    --chemoil-blue-hover: #2563eb;
    --chemoil-slate: #0f172a;
    --chemoil-gray: #64748b;
    --chemoil-light: #f8fafc;
    --chemoil-border: #e2e8f0;
    --chemoil-radius: 12px;
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.chemoil-careers-container {
    width: 100%;
    font-family: var(--font-body);
    color: #334155;
    background: #ffffff;
    box-sizing: border-box;
}

.chemoil-careers-container *,
.chemoil-careers-container *::before,
.chemoil-careers-container *::after {
    box-sizing: border-box;
}

/* ==========================================================================
   FULL-WIDTH CONTAINER BREAKOUT (The7 Theme & Generic WP Containers)
   ========================================================================== */
body.page-template-template-careers #main,
body.page-template-template-careers #main .wf-wrap,
body.page-template-template-careers .wf-container-main,
body.page-template-template-careers #content,
body.page-template-template-careers #primary,
body.page-id-4970 #main,
body.page-id-4970 #main .wf-wrap,
body.page-id-4970 .wf-container-main,
body.page-id-4970 #content,
body.page-id-4970 #primary,
body:has(.chemoil-careers-container) #main,
body:has(.chemoil-careers-container) #main .wf-wrap,
body:has(.chemoil-careers-container) .wf-container-main,
body:has(.chemoil-careers-container) #content,
body:has(.chemoil-careers-container) #primary {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    flex: 0 0 100% !important;
    border: none !important;
    box-sizing: border-box !important;
}

body.page-template-template-careers aside#sidebar,
body.page-id-4970 aside#sidebar,
body:has(.chemoil-careers-container) aside#sidebar {
    display: none !important;
    width: 0 !important;
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.chemoil-careers-hero {
    background: var(--chemoil-dark);
    background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px),
                      radial-gradient(circle at 70% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
                      linear-gradient(135deg, #020F1E 0%, #0B2239 50%, #031B33 100%);
    background-size: 18px 18px, 18px 18px, auto, auto;
    color: #ffffff;
    padding: 60px 20px 65px 20px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.chemoil-hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

.chemoil-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 18px;
}

.chemoil-hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
}

.chemoil-hero-badge span {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #60a5fa;
    text-transform: uppercase;
}

.chemoil-hero-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 16px 0;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.chemoil-hero-desc {
    font-size: 17px;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0 auto 10px auto;
    max-width: 740px;
}

.chemoil-hero-perks {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.chemoil-perk-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    color: #e2e8f0;
    backdrop-filter: blur(5px);
}

/* --------------------------------------------------------------------------
   CONTENT WRAPPER
   -------------------------------------------------------------------------- */
.chemoil-careers-content-wrap {
    max-width: 1300px;
    margin: -35px auto 60px auto;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

/* --------------------------------------------------------------------------
   FILTER CARD
   -------------------------------------------------------------------------- */
.chemoil-filter-card {
    background: #ffffff;
    border: 1px solid var(--chemoil-border);
    border-radius: var(--chemoil-radius);
    padding: 20px 24px;
    box-shadow: 0 10px 30px rgba(3, 27, 51, 0.06);
    margin-bottom: 30px;
}

.chemoil-filter-row {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.chemoil-filter-col {
    flex: 1;
    min-width: 180px;
}

.chemoil-filter-col.search-col {
    flex: 2;
    min-width: 260px;
}

.chemoil-filter-col.btn-col {
    flex: 0 0 auto;
    min-width: auto;
}

.chemoil-input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.chemoil-input-with-icon svg {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    pointer-events: none;
}

.chemoil-input-with-icon input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border-radius: 8px;
    border: 1px solid var(--chemoil-border);
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--chemoil-navy);
    background: #ffffff;
    transition: all 0.2s;
}

.chemoil-select-filter {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid var(--chemoil-border);
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--chemoil-navy);
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s;
}

.chemoil-input-with-icon input:focus,
.chemoil-select-filter:focus {
    outline: none;
    border-color: var(--chemoil-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.chemoil-btn-reset {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid var(--chemoil-border);
    background: var(--chemoil-light);
    color: #475569;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.chemoil-btn-reset:hover {
    background: #e2e8f0;
    color: var(--chemoil-navy);
}

.chemoil-filter-summary {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    font-size: 13px;
    color: #64748b;
}

.chemoil-filter-summary strong {
    color: var(--chemoil-navy);
}

/* --------------------------------------------------------------------------
   JOB CARDS GRID
   -------------------------------------------------------------------------- */
.chemoil-jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.chemoil-job-card {
    background: #ffffff;
    border: 1px solid var(--chemoil-border);
    border-radius: var(--chemoil-radius);
    padding: 26px 28px;
    box-shadow: 0 4px 15px rgba(3, 27, 51, 0.02);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
}

.chemoil-job-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(3, 27, 51, 0.08);
    border-color: #cbd5e1;
}

.chemoil-job-card-meta-top {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 14px;
}

.chemoil-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.chemoil-badge-dept {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.chemoil-badge-type {
    background: #f1f5f9;
    color: #475569;
}

.chemoil-badge-urgent {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.chemoil-job-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--chemoil-navy);
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.chemoil-job-specs-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 15px;
    font-size: 13px;
    color: #475569;
}

.chemoil-spec-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.chemoil-spec-item svg {
    color: #3b82f6;
    flex-shrink: 0;
}

.chemoil-job-skills-bar {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.chemoil-skill-tag {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 500;
}

.chemoil-job-card-body {
    flex-grow: 1;
    margin-bottom: 16px;
}

.chemoil-job-excerpt {
    font-size: 14px;
    line-height: 1.55;
    color: #64748b;
    margin: 0;
}

/* Footer buttons */
.chemoil-job-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
    gap: 12px;
}

.chemoil-btn-view-job {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
    color: #031B33 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 8px 16px !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.chemoil-btn-view-job svg {
    color: #0284c7;
    flex-shrink: 0;
}

.chemoil-btn-view-job:hover {
    background: #e2e8f0 !important;
    border-color: #94a3b8 !important;
    color: #031B33 !important;
}

.chemoil-btn-apply-job {
    background: var(--chemoil-navy) !important;
    color: #ffffff !important;
    border: 1px solid var(--chemoil-navy) !important;
    padding: 8px 18px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.2s ease !important;
}

.chemoil-btn-apply-job:hover {
    background: var(--chemoil-blue) !important;
    border-color: var(--chemoil-blue) !important;
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   EMPTY STATE
   -------------------------------------------------------------------------- */
.chemoil-no-jobs-card {
    grid-column: span 2;
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border: 1px dashed var(--chemoil-border);
    border-radius: var(--chemoil-radius);
}

.chemoil-no-jobs-card .no-jobs-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.chemoil-no-jobs-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--chemoil-navy);
    margin: 0 0 8px 0;
}

.chemoil-no-jobs-card p {
    color: #64748b;
    margin: 0;
    font-size: 14.5px;
}

/* --------------------------------------------------------------------------
   SPONTANEOUS APPLICATION BANNER
   -------------------------------------------------------------------------- */
.chemoil-general-apply-banner {
    background: #031B33;
    border-radius: var(--chemoil-radius);
    padding: 35px 40px;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(3, 27, 51, 0.1);
    position: relative;
    overflow: hidden;
}

.chemoil-general-apply-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: radial-gradient(circle at 100% 50%, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.general-apply-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.general-apply-text .eyebrow {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    color: #60a5fa;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 6px;
}

.general-apply-text h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.general-apply-text p {
    color: #cbd5e1;
    font-size: 14.5px;
    line-height: 1.5;
    margin: 0;
    max-width: 600px;
}

.chemoil-btn-large {
    padding: 14px 28px !important;
    font-size: 14.5px !important;
    background: var(--chemoil-blue) !important;
    border-color: var(--chemoil-blue) !important;
    border-radius: 8px !important;
    white-space: nowrap;
}

.chemoil-btn-large:hover {
    background: #2563eb !important;
    border-color: #2563eb !important;
}

/* --------------------------------------------------------------------------
   APPLICATION MODAL
   -------------------------------------------------------------------------- */
.chemoil-modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.chemoil-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 15, 30, 0.75);
    backdrop-filter: blur(5px);
}

.chemoil-modal-dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
}

.chemoil-modal-box {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 92vh;
}

/* Modal Header */
.chemoil-modal-header {
    background: #020F1E;
    background-image: linear-gradient(135deg, #020F1E 0%, #0B2239 50%, #031B33 100%);
    color: #ffffff;
    padding: 20px 28px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chemoil-modal-header-main {
    flex-grow: 1;
}

.chemoil-modal-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.chemoil-modal-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 4px;
}

.chemoil-modal-badge.badge-dept {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.chemoil-modal-badge.badge-type {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.chemoil-modal-badge.badge-urgent {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.chemoil-modal-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px 0;
    line-height: 1.25;
}

.chemoil-modal-specs {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: #cbd5e1;
}

.chemoil-modal-specs .spec-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.chemoil-modal-specs .spec-pill svg {
    color: #60a5fa;
    flex-shrink: 0;
}

body .chemoil-modal-wrapper .chemoil-modal-header .chemoil-modal-close-btn,
body .chemoil-modal-header button.chemoil-modal-close-btn,
button.chemoil-modal-close-btn,
.chemoil-modal-close-btn {
    appearance: none !important;
    -webkit-appearance: none !important;
    background: rgba(255, 255, 255, 0.12) !important;
    background-color: rgba(255, 255, 255, 0.12) !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    padding: 0 !important;
    margin: 0 0 0 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #e2e8f0 !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    flex-shrink: 0 !important;
    outline: none !important;
}

body .chemoil-modal-wrapper .chemoil-modal-header .chemoil-modal-close-btn:hover,
body .chemoil-modal-header button.chemoil-modal-close-btn:hover,
button.chemoil-modal-close-btn:hover,
.chemoil-modal-close-btn:hover {
    background: #ef4444 !important;
    background-color: #ef4444 !important;
    border-color: #dc2626 !important;
    color: #ffffff !important;
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.45) !important;
}

body .chemoil-modal-close-btn::before,
body .chemoil-modal-close-btn::after,
body .chemoil-modal-close-btn:hover::before,
body .chemoil-modal-close-btn:hover::after,
.chemoil-modal-close-btn::before,
.chemoil-modal-close-btn::after,
.chemoil-modal-close-btn:hover::before,
.chemoil-modal-close-btn:hover::after {
    display: none !important;
    content: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    right: -9999px !important;
}

.chemoil-modal-close-btn svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    stroke: currentColor !important;
    stroke-width: 2.2 !important;
    pointer-events: none !important;
}

/* Mobile switcher tabs */
.chemoil-modal-mobile-tabs {
    display: none;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    padding: 6px;
    gap: 6px;
}

.modal-tab-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 6px;
    border: none;
    background: transparent;
    font-size: 13.5px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-tab-btn.active {
    background: #ffffff;
    color: #031B33;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.modal-tab-btn svg {
    color: #3b82f6;
}

/* 2-Column Split Wrap */
.chemoil-modal-split-wrap {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    max-height: calc(92vh - 125px);
    overflow: hidden;
}

.chemoil-modal-pane {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f8fafc;
}

.pane-details {
    padding: 26px 30px;
    border-right: 1px solid #e2e8f0;
    background: #ffffff;
}

.pane-apply {
    padding: 26px 28px;
    background: #f8fafc;
}

/* Left Pane Details Typography */
.job-detail-section {
    margin-bottom: 22px;
}

.job-detail-section:last-child {
    margin-bottom: 0;
}

.job-detail-section .section-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: #031B33;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 6px;
}

.job-detail-body {
    font-size: 14px;
    line-height: 1.65;
    color: #475569;
}

.job-detail-body p {
    margin: 0 0 12px 0;
}

.job-detail-body ul {
    margin: 0 0 12px 18px;
    padding: 0;
}

.job-detail-body li {
    margin-bottom: 5px;
}

.job-detail-section .section-desc {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

.modal-skills-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.modal-skill-pill {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.modal-mobile-apply-trigger {
    display: none;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.chemoil-btn-mobile-switch-apply {
    width: 100%;
    background: var(--chemoil-blue);
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Right Pane Apply Form Header */
.modal-apply-card-header {
    margin-bottom: 18px;
}

.modal-apply-card-header h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #031B33;
    margin: 0 0 4px 0;
}

.modal-apply-card-header p {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .chemoil-modal-mobile-tabs {
        display: flex;
    }
    
    .chemoil-modal-split-wrap {
        display: block;
        max-height: calc(90vh - 170px);
        overflow-y: auto;
    }

    .pane-details {
        border-right: none;
        padding: 20px;
    }

    .pane-apply {
        padding: 20px;
        background: #ffffff;
    }

    .modal-mobile-apply-trigger {
        display: block;
    }
}

.chemoil-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.chemoil-form-group {
    display: flex;
    flex-direction: column;
}

.chemoil-form-group.full-width {
    grid-column: span 2;
}

.chemoil-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--chemoil-navy);
    margin-bottom: 6px;
}

.chemoil-form-group label .required {
    color: #dc2626;
}

.chemoil-form-group input[type="text"],
.chemoil-form-group input[type="email"],
.chemoil-form-group input[type="tel"],
.chemoil-form-group input[type="url"],
.chemoil-form-group select,
.chemoil-form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: 7px;
    border: 1px solid var(--chemoil-border);
    font-size: 13.5px;
    font-family: var(--font-body);
    color: #1e293b;
    background: #ffffff;
    transition: all 0.2s ease;
}

.chemoil-form-group input:focus,
.chemoil-form-group select:focus,
.chemoil-form-group textarea:focus {
    outline: none;
    border-color: var(--chemoil-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* DROPZONE */
.chemoil-file-dropzone {
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.chemoil-file-dropzone:hover,
.chemoil-file-dropzone.dragover {
    border-color: var(--chemoil-blue);
    background: #eff6ff;
}

.chemoil-file-dropzone input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.chemoil-upload-icon svg {
    color: #3b82f6;
    margin-bottom: 6px;
}

.chemoil-dropzone-text {
    display: block;
    font-size: 13px;
    color: #475569;
}

.chemoil-dropzone-text strong {
    color: var(--chemoil-blue);
}

.chemoil-dropzone-hint {
    display: block;
    font-size: 11.5px;
    color: #94a3b8;
    margin-top: 3px;
}

.chemoil-file-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    color: var(--chemoil-navy);
    font-size: 13px;
}

.chemoil-file-info .btn-remove-file {
    background: #fee2e2;
    color: #dc2626;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}

/* Feedback alert */
.chemoil-form-feedback {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 13.5px;
    line-height: 1.4;
}

.chemoil-form-feedback.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.chemoil-form-feedback.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Submit row */
.chemoil-modal-submit-row {
    margin-top: 20px;
}

.chemoil-submit-btn {
    width: 100%;
    background: #0a355c;
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.chemoil-submit-btn:hover {
    background: #0284c7;
}

.chemoil-submit-btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

/* Spinner */
.chemoil-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: chemoil-spin 0.8s linear infinite;
}

@keyframes chemoil-spin {
    to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .chemoil-hero-title {
        font-size: 32px;
    }
    .chemoil-jobs-grid {
        grid-template-columns: 1fr;
    }
    .general-apply-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .chemoil-general-apply-banner {
        padding: 28px 24px;
    }

    /* Unified Modal Mobile Responsiveness */
    .chemoil-modal-wrapper {
        padding: 8px;
    }
    .chemoil-modal-dialog {
        max-width: 100%;
        max-height: 96vh;
    }
    .chemoil-modal-box {
        max-height: 96vh;
    }
    .chemoil-modal-header {
        padding: 16px 18px;
    }
    .chemoil-modal-title {
        font-size: 20px;
    }
    .chemoil-modal-mobile-tabs {
        display: flex;
    }
    .modal-tab-btn {
        padding: 9px 8px;
        font-size: 12.5px;
    }
    .chemoil-modal-split-wrap {
        display: block;
        max-height: none;
        overflow: visible;
    }
    .chemoil-modal-pane {
        max-height: calc(96vh - 170px);
        overflow-y: auto;
        padding: 20px 18px;
    }
    .pane-details {
        border-right: none;
    }
    .modal-mobile-apply-trigger {
        display: block;
    }
}

@media (max-width: 767px) {
    .chemoil-careers-hero {
        padding: 50px 15px 65px 15px;
    }
    .chemoil-hero-title {
        font-size: 26px;
    }
    .chemoil-hero-desc {
        font-size: 15px;
    }
    .chemoil-filter-card {
        padding: 16px;
    }
    .chemoil-filter-row {
        flex-direction: column;
    }
    .chemoil-filter-col,
    .chemoil-filter-col.search-col {
        width: 100%;
        min-width: 100%;
    }
    .chemoil-btn-reset {
        width: 100%;
        justify-content: center;
    }
    .chemoil-form-grid {
        grid-template-columns: 1fr;
    }
    .chemoil-form-group.full-width {
        grid-column: span 1;
    }
    .chemoil-modal-content {
        padding: 18px;
    }
    .chemoil-job-card {
        padding: 20px;
    }
}

/* --------------------------------------------------------------------------
   DEDICATED SINGLE JOB OPENING PAGE STYLES
   -------------------------------------------------------------------------- */
body.single-chemoil_job {
    background-color: #f8fafc !important;
}

body.single-chemoil_job #main,
body.single-chemoil_job .wf-wrap,
body.single-chemoil_job .wf-container-main,
body.single-chemoil_job .content,
body.single-chemoil_job #primary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.chemoil-single-hero {
    background-color: #020F1E;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(59, 130, 246, 0.18) 0%, transparent 40%),
        radial-gradient(circle at 85% 70%, rgba(30, 58, 138, 0.25) 0%, transparent 50%),
        linear-gradient(135deg, #020F1E 0%, #0B2239 50%, #031B33 100%);
    padding: 50px 20px 75px 20px;
    color: #ffffff;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chemoil-single-hero-inner {
    max-width: 1300px;
    margin: 0 auto;
}

/* Breadcrumbs */
.chemoil-single-breadcrumbs {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.chemoil-single-breadcrumbs a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.chemoil-single-breadcrumbs a:hover {
    color: #ffffff;
}

.chemoil-single-breadcrumbs .sep {
    color: #64748b;
}

.chemoil-single-breadcrumbs .current {
    color: #93c5fd;
    font-weight: 600;
}

.chemoil-single-hero-top {
    margin-bottom: 12px;
}

.chemoil-back-to-careers {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #60a5fa;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.chemoil-back-to-careers:hover {
    color: #93c5fd;
    transform: translateX(-3px);
}

.chemoil-single-job-title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 14px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.chemoil-single-badges-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

/* Single specs grid */
.chemoil-single-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.chemoil-single-specs-grid .spec-col {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 12px 18px;
    backdrop-filter: blur(4px);
}

.chemoil-single-specs-grid .spec-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    margin-bottom: 4px;
}

.chemoil-single-specs-grid .spec-val {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.chemoil-single-specs-grid .spec-val svg {
    color: #60a5fa;
    flex-shrink: 0;
}

/* Single Hero Actions */
.chemoil-single-hero-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.chemoil-btn-hero-apply {
    background: var(--chemoil-blue);
    color: #ffffff !important;
    padding: 13px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
    transition: all 0.25s ease;
}

.chemoil-btn-hero-apply:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.chemoil-share-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chemoil-share-actions .share-label {
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
}

.share-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.share-icon-btn.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
    color: #ffffff;
    transform: translateY(-2px);
}

.share-icon-btn.linkedin:hover {
    background: #0077B5;
    border-color: #0077B5;
    color: #ffffff;
    transform: translateY(-2px);
}

.share-icon-btn.copy-link:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    transform: translateY(-2px);
}

.copy-confirm {
    font-size: 12px;
    font-weight: 600;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.15);
    border: 1px solid rgba(74, 222, 128, 0.3);
    padding: 4px 8px;
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
   SINGLE JOB BODY LAYOUT (2 Columns)
   -------------------------------------------------------------------------- */
.chemoil-single-main-wrap {
    max-width: 1300px;
    margin: -35px auto 70px auto;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

.chemoil-single-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 32px;
    align-items: start;
}

.chemoil-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

/* Left Details Card */
.chemoil-details-card {
    padding: 38px 40px;
}

.job-article-header h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: #031B33;
    margin: 0 0 22px 0;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 14px;
}

.job-article-content {
    font-size: 15px;
    line-height: 1.75;
    color: #334155;
}

.job-article-content p {
    margin: 0 0 16px 0;
}

.job-article-content h4 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: #031B33;
    margin: 28px 0 14px 0;
}

.job-article-content ul {
    margin: 0 0 20px 20px;
    padding: 0;
}

.job-article-content li {
    margin-bottom: 8px;
    position: relative;
}

/* Skills Section */
.chemoil-skills-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.chemoil-skills-section h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: #031B33;
    margin: 0 0 14px 0;
}

.chemoil-skills-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chemoil-skill-badge {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
}

/* Qualification Box */
.chemoil-qual-box {
    margin-top: 28px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 18px 22px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.chemoil-qual-box .qual-icon {
    color: var(--chemoil-blue);
    flex-shrink: 0;
    margin-top: 2px;
}

.chemoil-qual-box h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0 0 4px 0;
}

.chemoil-qual-box p {
    font-size: 14px;
    color: #1e40af;
    margin: 0;
    line-height: 1.5;
}

/* Company intro box */
.chemoil-company-intro-box {
    margin-top: 35px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 24px 26px;
}

.chemoil-company-intro-box .company-tag {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.chemoil-company-intro-box h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: #031B33;
    margin: 0 0 10px 0;
}

.chemoil-company-intro-box p {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 16px 0;
}

.company-highlights {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
}

/* Direct HR Inquiry Box */
.chemoil-hr-inquiry-box {
    margin-top: 28px;
    background: #faf5ff;
    border: 1px solid #e9d5ff;
    border-radius: 10px;
    padding: 20px 22px;
}

.hr-box-inner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.hr-avatar {
    background: #f3e8ff;
    color: #7e22ce;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hr-text h5 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #581c87;
    margin: 0 0 4px 0;
}

.hr-text p {
    font-size: 13.5px;
    color: #6b21a8;
    margin: 0;
    line-height: 1.5;
}

.hr-text a {
    color: #7e22ce;
    font-weight: 700;
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   RIGHT COLUMN: STICKY APPLICATION CARD ("HERE APPLY JOB")
   -------------------------------------------------------------------------- */
.chemoil-apply-sticky-card {
    position: sticky;
    top: 90px;
    padding: 30px;
}

.apply-card-header {
    margin-bottom: 22px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 16px;
}

.apply-card-header .eyebrow {
    font-size: 11px;
    font-weight: 700;
    color: var(--chemoil-blue);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 4px;
}

.apply-card-header h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: #031B33;
    margin: 0 0 6px 0;
}

.apply-card-header .role-target {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.single-form-body .form-group {
    margin-bottom: 16px;
}

.single-form-body .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.single-form-body label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.single-form-body label .required {
    color: #ef4444;
}

.single-form-body input[type="text"],
.single-form-body input[type="email"],
.single-form-body input[type="tel"],
.single-form-body input[type="url"],
.single-form-body select,
.single-form-body textarea {
    width: 100% !important;
    padding: 10px 14px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    color: #1e293b !important;
    background-color: #ffffff !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.single-form-body input:focus,
.single-form-body select:focus,
.single-form-body textarea:focus {
    border-color: var(--chemoil-blue) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
    outline: none !important;
}

.single-form-body .privacy-note {
    font-size: 11.5px;
    color: #94a3b8;
    line-height: 1.45;
    margin-top: 14px;
    text-align: center;
}

/* --------------------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES FOR SINGLE JOB PAGE
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .chemoil-single-grid {
        grid-template-columns: 1fr;
    }

    .chemoil-apply-sticky-card {
        position: static;
        top: 0;
    }

    .chemoil-single-job-title {
        font-size: 30px;
    }

    .chemoil-details-card {
        padding: 26px 22px;
    }

    .chemoil-apply-sticky-card {
        padding: 24px 20px;
    }
}

@media (max-width: 767px) {
    .chemoil-single-hero {
        padding: 40px 16px 65px 16px;
    }

    .chemoil-single-job-title {
        font-size: 24px;
    }

    .chemoil-single-specs-grid {
        grid-template-columns: 1fr 1fr;
    }

    .single-form-body .form-row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .chemoil-single-hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .chemoil-btn-hero-apply {
        width: 100%;
        justify-content: center;
    }
}

