/* ==========================================================================
   CAREER / RECRUITMENT PAGE STYLESHEET - Minimalist, Real & Professional
   ========================================================================== */

.career-page-main {
    background-color: #f8fafc;
    min-height: 85vh;
    color: #334155;
}

/* 1. Hero Section */
.career-hero {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 32px 0 45px;
}
.career-hero-content {
    max-width: 820px;
    margin: 20px auto 0;
    text-align: center;
}
.career-tag {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 16px;
    border: 1px solid #e2e8f0;
}
.career-title {
    font-size: 2.35rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}
.career-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 28px;
}
.career-hero-meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 14px 32px;
    border-radius: 8px;
}
.meta-point {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.meta-num {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}
.meta-txt {
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 3px;
}
.meta-divider {
    width: 1px;
    height: 28px;
    background: #cbd5e1;
}

/* 2. Benefits / Culture */
.career-benefits-section {
    padding: 55px 0 45px;
}
.section-intro {
    max-width: 680px;
    margin: 0 auto 36px;
    text-align: center;
}
.sec-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}
.sec-sub {
    font-size: 0.98rem;
    color: #64748b;
    margin: 0;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.benefit-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.benefit-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}
.b-index {
    display: inline-block;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0080e1;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.b-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.35;
}
.b-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* 3. Job Openings List */
.career-jobs-section {
    padding: 30px 0 60px;
}
.job-filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}
.job-filter-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.job-filter-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
}
.job-filter-btn.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}
.job-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 960px;
    margin: 0 auto;
}
.job-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 24px 28px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: border-color 0.2s ease;
}
.job-card:hover {
    border-color: #cbd5e1;
}
.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 12px;
}
.job-cat-badge {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
}
.job-title {
    font-size: 1.28rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
    line-height: 1.3;
}
.job-meta-row {
    font-size: 0.86rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.job-meta-row .dot {
    color: #cbd5e1;
}
.job-header-right {
    text-align: right;
    flex-shrink: 0;
}
.job-salary {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0080e1;
    white-space: nowrap;
}
.job-deadline {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 4px;
}
.job-summary-text {
    font-size: 0.94rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 16px;
}
.job-details-accordion {
    display: none;
    border-top: 1px dashed #e2e8f0;
    padding-top: 18px;
    margin-top: 14px;
    margin-bottom: 18px;
}
.job-details-accordion.open {
    display: block;
}
.details-section {
    margin-bottom: 14px;
}
.details-section:last-child {
    margin-bottom: 0;
}
.details-sub {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}
.details-list {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}
.details-list li {
    font-size: 0.88rem;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 4px;
}
.job-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
    gap: 12px;
    flex-wrap: wrap;
}
.btn-toggle-detail {
    background: transparent;
    border: none;
    color: #0284c7;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-toggle-detail:hover {
    text-decoration: underline;
}
.btn-apply-job {
    display: inline-block;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
}
.btn-apply-job:hover {
    background: #0080e1;
    color: #ffffff;
}

/* 4. Apply Section */
.career-apply-section {
    padding: 20px 0 70px;
}
.apply-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 36px 32px;
    max-width: 860px;
    margin: 0 auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}
.apply-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 30px;
}
.apply-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}
.apply-sub {
    font-size: 0.94rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}
.apply-success-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 24px;
}
.apply-success-box h4 {
    color: #15803d;
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 6px;
}
.apply-success-box p {
    color: #166534;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}
.apply-error-box {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.apply-form-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.form-field {
    display: flex;
    flex-direction: column;
}
.form-field label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}
.form-field .req {
    color: #dc2626;
}
.form-field input,
.form-field select,
.form-field textarea {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.92rem;
    color: #0f172a;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    background: #ffffff;
    border-color: #0080e1;
    box-shadow: 0 0 0 3px rgba(0, 128, 225, 0.15);
}
.form-field textarea {
    resize: vertical;
}
.field-hint {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 5px;
}
.form-submit-wrap {
    margin-top: 6px;
    text-align: center;
}
.btn-submit-cv {
    background: #0080e1;
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 800;
    border: none;
    border-radius: 6px;
    padding: 13px 36px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.btn-submit-cv:hover {
    background: #0066b3;
}
.hr-direct-box {
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
    font-size: 0.86rem;
    color: #64748b;
    line-height: 1.6;
}
.hr-direct-box strong {
    color: #0f172a;
}

/* 5. Responsive */
@media (max-width: 900px) {
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .career-title { font-size: 1.85rem; }
    .career-hero-meta { flex-direction: column; gap: 12px; padding: 14px 20px; }
    .meta-divider { display: none; }
    .benefits-grid { grid-template-columns: 1fr; }
    .job-card-header { flex-direction: column; gap: 10px; }
    .job-header-right { text-align: left; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .apply-card { padding: 24px 18px; }
    .btn-submit-cv { width: 100%; }
}
