/* ============ JOB PORTAL V2 (RE-DESIGN) ============ */
:root {
    --accent-teal: #00a884;
    --accent-teal-dark: #008f6f;
}

.job-filters-v2 {
    background: #ffffff;
    padding: 24px 32px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(11, 60, 109, 0.08);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 40px;
    border: 1px solid #f1f5f9;
}

.filter-group-v2 {
    flex: 1;
    min-width: 200px;
}

.filter-group-v2 label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
}

.filter-select-v2 {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    color: #334155;
    background: #ffffff;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    transition: all 0.3s;
}

.filter-select-v2:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px rgba(0, 168, 132, 0.1);
}

.job-card-v2 {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(11, 60, 109, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.job-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(11, 60, 109, 0.18);
}

.job-v2-header {
    height: 220px;
    position: relative;
    background: #f8fafc;
}

.job-v2-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-v2-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 20%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.9) 100%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.job-v2-cat {
    color: var(--accent-teal);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.job-v2-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    line-height: 1.3;
}

.job-v2-loc-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    color: #0B3C6D;
    display: flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 2px 8px rgba(11, 60, 109, 0.08);
    z-index: 10;
}

.job-v2-loc-badge i {
    color: var(--accent-teal);
}

.job-v2-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.job-v2-salary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.job-v2-salary {
    font-size: 18px;
    font-weight: 800;
    color: #0B3C6D;
    margin: 0;
}

.job-v2-vacancies {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-v2-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.v2-spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #475569;
    font-weight: 500;
}

.v2-spec-item i {
    color: var(--accent-teal);
    font-size: 14px;
    width: 16px;
    text-align: center;
}

.job-v2-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.v2-status-pill {
    background: #f8fafc;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e2e8f0;
}

.job-v2-ptime-box {
    background: #f0fdf9;
    border: 1.5px dashed var(--accent-teal);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    margin-top: auto;
}

.ptime-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.ptime-val {
    font-size: 19px;
    font-weight: 800;
    color: var(--accent-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-teal {
    background: var(--accent-teal);
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-teal:hover {
    background: var(--accent-teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 168, 132, 0.25);
}

@media (max-width: 768px) {
    .job-filters-v2 {
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
    }
    .filter-group-v2 {
        min-width: 100%;
    }
}

.featured-job-box {
    width: 100%;
    background: #f8fafc;
    padding: 40px 20px;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.featured-job-img-wrap {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1 / 1;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(11,60,109,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-job-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.4s;
}

.featured-job-img:hover {
    transform: scale(1.05);
}

.stats-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-tab-v2 {
    padding: 30px 15px; 
    border-right: 1px solid #f1f5f9; 
    text-align: center;
}
.stat-tab-v2:last-child {
    border-right: none;
}

.jd-header-premium {
    padding: 40px 0;
    background: transparent;
    text-align: left;
    color: var(--primary);
}

.jd-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    margin-bottom: 24px;
    color: #64748b;
}

.jd-title-main {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    color: var(--primary);
}

.jd-header-meta {
    justify-content: flex-start;
}



.jd-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12px;
    margin-bottom: 24px;
}

.jd-title-main {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.jd-header-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.jd-meta-pill {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(4px);
}

.detail-card-v2 {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(11, 60, 109, 0.05);
    border: 1px solid #f1f5f9;
    margin-bottom: 30px;
}

.jd-section-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.jd-section-title i {
    color: var(--accent-teal);
}

.jd-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.jd-grid-item {
    background: #f8fafc;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid #f1f5f9;
}

.jd-icon-box {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-teal);
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.jd-info-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.jd-info-val {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}

.doc-tag-v2 {
    background: var(--white);
    border: 1px solid #e2e8f0;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    color: #475569;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.jd-sidebar-card {
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(11, 60, 109, 0.05);
    border: 1px solid #f1f5f9;
    overflow: hidden;
    margin-bottom: 0;
    flex: 1 1 340px;
    max-width: 100%;
    min-height: 210px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.speed-card-v2 {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-teal-dark));
    padding: 24px;
    border-radius: 20px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 168, 132, 0.3);
    flex: 1 1 340px;
    max-width: 100%;
    min-height: 210px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 0;
}

.speed-card-v2 i.bg-icon {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 100px;
    opacity: 0.15;
}

.wa-btn-large {
    background: #25d366;
    color: var(--white);
    padding: 16px 24px;
    border-radius: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: 16px;
    border: none;
    width: 100%;
}

.wa-btn-large:hover {
    background: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
    color: var(--white);
}

.benefit-list-v2 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-item-v2 {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
}

.benefit-item-v2:last-child {
    border-bottom: none;
}

.benefit-item-v2 i {
    font-size: 16px;
}

.benefit-item-v2 i.fa-check-circle {
    color: var(--accent-teal);
}

.benefit-item-v2 i.fa-times-circle {
    color: #cbd5e1;
}

@media (max-width: 768px) {
    .jd-title-main {
        font-size: 32px;
    }
    .jd-header-premium {
        padding: 40px 20px;
    }
    .detail-card-v2 {
        padding: 24px;
    }
    .stats-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-tab-v2 {
        padding: 20px 10px;
    }
    .stat-tab-v2:nth-child(2) {
        border-right: none;
    }
    .stat-tab-v2:nth-child(1), .stat-tab-v2:nth-child(2) {
        border-bottom: 1px solid #f1f5f9;
    }
}

@media (max-width: 480px) {
    .stats-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .jd-info-grid {
        grid-template-columns: 1fr;
    }
    .jd-sidebar-card, .speed-card-v2 {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .jd-header-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .featured-job-img-wrap {
        border-radius: 12px;
    }
}
