/* ==========================================================================
   Tolbakter - Career Page & Job Vacancy Styles (Modern, Clean & Professional)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Page Header & Hero Elements
   -------------------------------------------------------------------------- */
.page-header-career .page-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.page-header-career .page-header-subtitle {
    max-width: 680px;
    margin: 0 auto var(--spacing-md);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.6;
}

.page-header-career-single .career-single-hero-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.65rem;
    margin: 1.25rem auto 1.5rem;
    max-width: 800px;
}

.page-header-career-single .career-single-hero-pills .career-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1.05rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.2;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.page-header-career-single .career-single-hero-pills .career-pill:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
}

.page-header-career-single .career-single-hero-pills .career-pill i {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.82rem;
}

.page-header-career-single .career-single-hero-pills .career-pill.badge-status-open {
    background: rgba(16, 185, 129, 0.25);
    border-color: rgba(52, 211, 153, 0.5);
    color: #ffffff !important;
    font-weight: 600;
}

.page-header-career-single .career-single-hero-pills .career-pill.badge-status-open .status-dot {
    background-color: #34d399;
    box-shadow: 0 0 8px #34d399;
}

.page-header-career-single .career-single-hero-pills .career-pill.badge-status-closed {
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(248, 113, 113, 0.5);
    color: #ffffff !important;
    font-weight: 600;
}

.page-header-career-single .career-single-hero-pills .career-pill.badge-status-closed .status-dot {
    background-color: #f87171;
    box-shadow: 0 0 8px #f87171;
}

.page-header-career-single .career-single-hero-pills .career-pill.badge-dept,
.page-header-career-single .career-single-hero-pills .career-pill.badge-type,
.page-header-career-single .career-single-hero-pills .career-pill.badge-loc {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   2. Main Layout & Container
   -------------------------------------------------------------------------- */
.career-section,
.career-single-section {
    padding: 3.5rem 0 5rem;
    background-color: #f8fafc;
}

/* Career Intro Block (if editor has text) */
.career-intro-block {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 2.5rem;
}

.career-intro-body {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   3. Search & Filter Bar
   -------------------------------------------------------------------------- */
.career-filter-wrapper {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem 2.25rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    margin-bottom: 3rem;
    position: relative;
}

.career-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.career-filter-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-icon-badge {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(189, 8, 8, 0.08);
    color: var(--primary-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.career-filter-title h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.15rem;
}

.career-filter-title p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0;
}

.career-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 999px;
}

.career-count-badge .count-number {
    background: var(--primary-maroon);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    min-width: 24px;
    text-align: center;
}

.career-count-badge .count-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
}

.filter-fields-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 1.25rem;
}

.filter-field-col {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.filter-field-col label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.filter-field-col label i {
    color: var(--primary-maroon);
    font-size: 0.85rem;
}

.filter-field-col input,
.filter-field-col select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
    font-family: inherit;
    color: #1e293b;
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.filter-field-col select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 1rem;
    padding-right: 2.2rem;
    cursor: pointer;
}

.filter-field-col input:focus,
.filter-field-col select:focus {
    outline: none;
    background-color: #ffffff;
    border-color: var(--primary-maroon);
    box-shadow: 0 0 0 3px rgba(189, 8, 8, 0.12);
}

.filter-action-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f1f5f9;
}

.btn-filter-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-maroon);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(189, 8, 8, 0.2);
}

.btn-filter-submit:hover {
    background: #960606;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(189, 8, 8, 0.25);
    color: var(--white);
}

.btn-filter-reset {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1.25rem;
    background: transparent;
    color: #64748b;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-filter-reset:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
}

/* --------------------------------------------------------------------------
   4. Career Job Vacancy Cards Grid
   -------------------------------------------------------------------------- */
.career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 1.75rem;
    margin-bottom: 4rem;
}

.career-job-card {
    background: var(--white);
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.career-job-card:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.07);
}

.career-job-card.is-closed {
    background: #fafafa;
    opacity: 0.82;
}

.career-pill-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.career-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
}

.career-pill.badge-status-open {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.career-pill.badge-status-closed {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.career-pill.badge-dept {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.career-pill.badge-type {
    background: rgba(189, 8, 8, 0.07);
    color: var(--primary-maroon);
    border: 1px solid rgba(189, 8, 8, 0.15);
}

.career-pill.badge-loc {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
    display: inline-block;
}

.career-pill.badge-status-open .status-dot {
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.3);
    }
}

.career-job-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.75rem;
    color: #0f172a;
}

.career-job-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.career-job-title a:hover {
    color: var(--primary-maroon);
}

.career-card-middle {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.career-job-snippet {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 1.25rem;
}

.career-job-specs {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.spec-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid #e2e8f0;
    color: var(--primary-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.spec-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.spec-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
    line-height: 1.2;
    font-weight: 600;
}

.spec-val {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.career-card-bottom {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.btn-job-detail {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1rem;
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-job-detail:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.btn-job-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1.15rem;
    background: var(--primary-maroon);
    color: var(--white);
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-job-apply:hover {
    background: #960606;
    color: var(--white);
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   5. Empty State
   -------------------------------------------------------------------------- */
.career-empty-state {
    text-align: center;
    background: var(--white);
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 4rem 2rem;
    margin-bottom: 4rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.empty-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(189, 8, 8, 0.08);
    color: var(--primary-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    margin: 0 auto 1.5rem;
}

.career-empty-state h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.career-empty-state p {
    color: #64748b;
    max-width: 520px;
    margin: 0 auto 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   6. Culture & Benefits Section (Why Join Us)
   -------------------------------------------------------------------------- */
.career-culture-section,
.career-workflow-section {
    background: var(--white);
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    padding: 3.5rem 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
}

.section-title-wrap {
    margin-bottom: 2.75rem;
}

.section-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    background: rgba(189, 8, 8, 0.08);
    color: var(--primary-maroon);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-title-wrap h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.6rem;
}

.section-title-wrap .section-subtitle {
    color: #64748b;
    max-width: 620px;
    margin: 0 auto;
    font-size: 0.98rem;
    line-height: 1.6;
}

.culture-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.culture-card {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.culture-card:hover {
    background: var(--white);
    border-color: #e2e8f0;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.culture-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(189, 8, 8, 0.09);
    color: var(--primary-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

.culture-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.culture-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   7. Recruitment Workflow Steps
   -------------------------------------------------------------------------- */
.recruitment-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}

.recruitment-step-item {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}

.recruitment-step-item:hover {
    background: var(--white);
    border-color: #e2e8f0;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.step-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: #cbd5e1;
    font-family: var(--font-primary);
    line-height: 1;
}

.step-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-maroon);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 10px rgba(189, 8, 8, 0.25);
}

.recruitment-step-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.recruitment-step-item p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   8. Fraud Alert Card (Himbauan Resmi)
   -------------------------------------------------------------------------- */
.career-fraud-alert {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 16px;
    padding: 1.75rem 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.career-fraud-alert.career-fraud-alert-compact {
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
}

.fraud-alert-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(217, 119, 6, 0.15);
    color: #b45309;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.fraud-alert-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 0.35rem;
}

.fraud-alert-content p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #78350f;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   9. Single Career Details Page Layout
   -------------------------------------------------------------------------- */
.career-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 2.5rem;
    align-items: start;
}

.career-single-main {
    min-width: 0;
}

.career-single-thumbnail {
    margin-bottom: 2rem;
}

.career-single-thumbnail img {
    width: 100%;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.career-single-highlight {
    background: #fef2f2;
    border: 1px solid #fee2e2;
    border-left: 4px solid var(--primary-maroon);
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.career-single-highlight .highlight-icon {
    color: var(--primary-maroon);
    font-size: 1.25rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.career-single-highlight h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #991b1b;
    margin-bottom: 0.35rem;
}

.career-single-highlight p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #7f1d1d;
    margin-bottom: 0;
}

.career-single-body {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 2.5rem 2.75rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.03);
    margin-bottom: 2rem;
}

/* Typography Flow inside Job Article */
.typography-flow h2,
.typography-flow h3,
.typography-flow h4 {
    color: #0f172a;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.typography-flow h2:first-child,
.typography-flow h3:first-child,
.typography-flow h4:first-child {
    margin-top: 0;
}

.typography-flow h2 {
    font-size: 1.5rem;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0.5rem;
}

.typography-flow h3 {
    font-size: 1.25rem;
}

.typography-flow h4 {
    font-size: 1.1rem;
}

.typography-flow p {
    color: #334155;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.typography-flow ul,
.typography-flow ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: #334155;
}

.typography-flow ul li,
.typography-flow ol li {
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.typography-flow ul li::marker {
    color: var(--primary-maroon);
}

/* Share Card */
.career-share-card {
    background: var(--white);
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    padding: 1.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.share-card-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-card-info h4 i {
    color: var(--primary-maroon);
}

.share-card-info p {
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 0;
}

.share-btn-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.btn-share {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.9rem;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-share.share-wa {
    background: #ecfdf5;
    color: #059669;
    border-color: #a7f3d0;
}
.btn-share.share-wa:hover {
    background: #059669;
    color: #ffffff;
}

.btn-share.share-li {
    background: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
}
.btn-share.share-li:hover {
    background: #2563eb;
    color: #ffffff;
}

.btn-share.share-tw {
    background: #f8fafc;
    color: #0f172a;
    border-color: #e2e8f0;
}
.btn-share.share-tw:hover {
    background: #0f172a;
    color: #ffffff;
}

.btn-share.share-copy {
    background: #f1f5f9;
    color: #475569;
    border-color: #cbd5e1;
}
.btn-share.share-copy:hover,
.btn-share.share-copy.copied {
    background: var(--primary-maroon);
    color: #ffffff;
    border-color: var(--primary-maroon);
}

/* --------------------------------------------------------------------------
   10. Sticky Sidebar & Sidebar Cards
   -------------------------------------------------------------------------- */
.career-single-sidebar {
    display: block;
    position: relative;
}

.career-sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    z-index: 10;
}

.career-sidebar-card {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 2rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.03);
}

.sidebar-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.sidebar-card-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0;
}

.sidebar-status-tag {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
}

.sidebar-status-tag.badge-status-open {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.sidebar-status-tag.badge-status-closed {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.job-meta-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.job-meta-list li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.job-meta-list .meta-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--primary-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.job-meta-list .meta-data {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.job-meta-list .meta-title {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

.job-meta-list .meta-val {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
}

.sidebar-action-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-sidebar-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem 1.5rem;
    background: var(--primary-maroon);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(189, 8, 8, 0.25);
    transition: all 0.2s ease;
}

.btn-sidebar-apply:hover {
    background: #960606;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(189, 8, 8, 0.3);
}

.sidebar-closed-box {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
}

.sidebar-closed-box i {
    color: #94a3b8;
    font-size: 1rem;
}

.btn-sidebar-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.75rem 1.25rem;
    background: transparent;
    color: #475569;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-sidebar-back:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
}

/* Support Help Card */
.card-hr-help {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.5rem;
}

.help-card-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.help-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(189, 8, 8, 0.08);
    border: 1px solid rgba(189, 8, 8, 0.15);
    color: var(--primary-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.help-card-header-text h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.15rem;
    line-height: 1.3;
}

.help-badge-active {
    display: inline-block;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.help-card-body p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 1rem;
}

.help-email-btn,
.help-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.9rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    color: #1e293b;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    width: 100%;
    box-sizing: border-box;
}

.help-email-btn i,
.help-link i {
    color: var(--primary-maroon);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.help-email-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3;
}

.help-email-btn:hover,
.help-link:hover {
    background: #ffffff;
    border-color: var(--primary-maroon);
    color: var(--primary-maroon);
    box-shadow: 0 4px 12px rgba(189, 8, 8, 0.1);
    transform: translateY(-1px);
    text-decoration: none;
}

/* Other Vacancies List */
.other-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.other-job-item {
    display: block;
    padding: 0.85rem 1rem;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.other-job-item:hover {
    background: var(--white);
    border-color: #cbd5e1;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.other-job-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.35rem;
    transition: color 0.2s ease;
}

.other-job-item:hover .other-job-title {
    color: var(--primary-maroon);
}

.other-job-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.78rem;
    color: #64748b;
}

.other-job-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.other-job-meta i {
    color: var(--primary-maroon);
    font-size: 0.75rem;
}

/* --------------------------------------------------------------------------
   11. Responsive Styles (Breakpoints)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .filter-fields-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .culture-cards-grid,
    .recruitment-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .career-single-layout {
        grid-template-columns: 1fr;
    }

    .career-sidebar-sticky {
        position: static;
    }
}

@media (max-width: 768px) {
    .career-section,
    .career-single-section {
        padding: 2.5rem 0 3.5rem;
    }

    .career-filter-wrapper {
        padding: 1.5rem;
    }

    .filter-fields-grid {
        grid-template-columns: 1fr;
    }

    .filter-action-row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-filter-submit,
    .btn-filter-reset {
        justify-content: center;
    }

    .career-grid {
        grid-template-columns: 1fr;
    }

    .culture-cards-grid,
    .recruitment-steps-grid {
        grid-template-columns: 1fr;
    }

    .career-culture-section,
    .career-workflow-section {
        padding: 2.5rem 1.5rem;
    }

    .career-single-body {
        padding: 1.75rem 1.5rem;
    }

    .career-share-card {
        flex-direction: column;
        align-items: stretch;
    }

    .share-btn-group {
        justify-content: flex-start;
    }

    .career-fraud-alert {
        flex-direction: column;
        padding: 1.5rem;
    }
}

/* --------------------------------------------------------------------------
   8. Career Application Modal & Interactive Form Styles
   -------------------------------------------------------------------------- */
body.career-modal-open {
    overflow: hidden !important;
}

.career-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.swal2-container {
    z-index: 9999999 !important;
}

.career-modal-backdrop.is-active {
    opacity: 1;
    visibility: visible;
}

.career-modal-dialog {
    width: 100%;
    max-width: 820px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    transform: scale(0.94) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.career-modal-backdrop.is-active .career-modal-dialog {
    transform: scale(1) translateY(0);
}

.career-modal-content {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 90vh;
}

/* Modal Header */
.career-modal-header {
    background: var(--primary-maroon);
    color: #ffffff;
    padding: 1.75rem 2rem 1.5rem;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-shrink: 0;
}

.career-modal-header .modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.35rem 0;
    line-height: 1.2;
}

.career-modal-header .modal-subtitle {
    margin: 0;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.4;
}

.btn-close-modal {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-close-modal:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Modal Body */
.career-modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex-grow: 1;
    -webkit-overflow-scrolling: touch;
}

/* Section Blocks */
.form-section-block {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-section-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.75rem;
}

.form-section-header .section-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-maroon);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 800;
    flex-shrink: 0;
}

.form-section-header h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.form-section-header p {
    margin: 0.15rem 0 0;
    font-size: 0.8rem;
    color: #64748b;
}

/* Form Grids & Groups */
.form-grid {
    display: grid;
    gap: 1rem;
}

.form-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.col-span-2 {
    grid-column: span 2;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group label,
.form-label-with-hint {
    font-size: 0.86rem;
    font-weight: 600;
    color: #334155;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-group label .req,
.form-label-with-hint .req {
    color: #dc2626;
    font-weight: 700;
}

.form-group label .opt,
.form-label-with-hint .opt {
    color: #94a3b8;
    font-weight: 400;
    font-size: 0.78rem;
}

.hint-badge {
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
    background: #e2e8f0;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
}

/* Input Fields with Icon */
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon > i:first-child {
    position: absolute;
    left: 1rem;
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
    transition: color 0.2s ease;
    z-index: 1;
}

.input-with-icon input[type="text"],
.input-with-icon input[type="email"],
.input-with-icon input[type="tel"],
.input-with-icon input[type="url"],
.input-with-icon select {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.65rem;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.92rem;
    color: #0f172a;
    font-family: inherit;
    transition: all 0.2s ease;
    outline: none;
}

.input-with-icon input:focus,
.input-with-icon select:focus {
    border-color: #bd0808;
    box-shadow: 0 0 0 3px rgba(189, 8, 8, 0.12);
}

.input-with-icon input:focus + i,
.input-with-icon:focus-within > i:first-child {
    color: #bd0808;
}

/* Locked / Readonly State */
.input-with-icon.is-locked input {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #475569;
    cursor: not-allowed;
    font-weight: 600;
}

.input-with-icon.is-locked > i {
    color: #64748b;
}

/* Select Styling */
.select-wrapper {
    position: relative;
}

.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 2.2rem;
}

.select-wrapper .select-chevron {
    position: absolute;
    right: 1rem;
    color: #94a3b8;
    font-size: 0.8rem;
    pointer-events: none;
}

/* Textarea */
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.92rem;
    color: #0f172a;
    font-family: inherit;
    resize: vertical;
    outline: none;
    line-height: 1.5;
    transition: all 0.2s ease;
}

.form-group textarea:focus {
    border-color: #bd0808;
    box-shadow: 0 0 0 3px rgba(189, 8, 8, 0.12);
}

/* File Dropzone Box */
.file-input-hidden {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-dropzone-box {
    position: relative;
    background: #ffffff;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-dropzone-box:hover,
.file-dropzone-box.drag-active {
    border-color: #bd0808;
    background: #fef2f2;
}

.file-dropzone-box.is-compact {
    padding: 1rem;
}

.dropzone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    pointer-events: none;
}

.file-dropzone-box.is-compact .dropzone-content {
    flex-direction: row;
    justify-content: center;
    gap: 0.75rem;
}

.dropzone-icon {
    font-size: 1.85rem;
    color: #bd0808;
}

.file-dropzone-box.is-compact .dropzone-icon {
    font-size: 1.25rem;
}

.dropzone-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.dropzone-prompt {
    font-size: 0.92rem;
    color: #0f172a;
    font-weight: 600;
}

.dropzone-meta {
    font-size: 0.78rem;
    color: #64748b;
}

/* File Preview Pill */
.file-preview-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #fee2e2;
    border: 1px solid #fca5a5;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #991b1b;
    position: relative;
    z-index: 3;
    max-width: 100%;
}

.file-preview-pill.mini {
    margin-top: 0.5rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
}

.file-preview-pill .file-size-badge {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: normal;
}

.btn-clear-file {
    background: rgba(0, 0, 0, 0.1);
    border: none;
    color: #991b1b;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    cursor: pointer;
    margin-left: 0.25rem;
    transition: background 0.2s;
}

.btn-clear-file:hover {
    background: #dc2626;
    color: #ffffff;
}

.file-upload-mini-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #bd0808;
    cursor: pointer;
    position: relative;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: background 0.2s;
}

.file-upload-mini-btn:hover {
    background: #fee2e2;
}

/* reCAPTCHA Block */
.recaptcha-section-block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    text-align: center;
    padding: 1.25rem;
}

.recaptcha-section-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.85rem;
}

.recaptcha-wrapper-center {
    display: flex;
    justify-content: center;
}

/* Agreement Checkbox */
.form-agreement-box {
    margin: 1rem 0 1.5rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: 12px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    cursor: pointer;
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.45;
}

.checkbox-container input[type="checkbox"] {
    margin-top: 0.2rem;
    accent-color: #bd0808;
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
}

/* Modal Footer Action Buttons */
.career-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.btn-modal-cancel {
    padding: 0.75rem 1.5rem;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.btn-modal-cancel:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.btn-modal-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.85rem;
    background: var(--primary-maroon);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 4px 14px rgba(189, 8, 8, 0.25);
    transition: all 0.2s ease;
}

.btn-modal-submit:hover {
    background: #960606;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(189, 8, 8, 0.32);
}

.btn-modal-submit:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .career-modal-backdrop {
        padding: 0.75rem;
    }

    .career-modal-header {
        padding: 1.25rem;
    }

    .career-modal-header .modal-title {
        font-size: 1.25rem;
    }

    .career-modal-body {
        padding: 1.25rem;
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
    }

    .col-span-2 {
        grid-column: span 1;
    }

    .career-modal-footer {
        flex-direction: column-reverse;
    }

    .btn-modal-cancel,
    .btn-modal-submit {
        width: 100%;
    }
}

