 main { background-color: #f4f7fa; padding: 40px 20px; font-family: system-ui, -apple-system, sans-serif; }
    
    /* 🚀 FIXED: Expanded container width to fit the Sidebar */
    .job-container { max-width: 1200px; margin: 0 auto; }
    
    /* 🚀 ADDED: Grid Layout for Single Job Page */
    .layout-grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; }
    @media (max-width: 992px) { .layout-grid { grid-template-columns: 1fr; } }
    
    .breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #64748b; margin-bottom: 20px; flex-wrap: wrap; }
    .breadcrumb a { color: #475569; text-decoration: none; font-weight: 500; display: flex; align-items: center; gap: 5px; transition: color 0.2s;}
    .breadcrumb a:hover { color: #2563eb; }
    .breadcrumb .separator { color: #cbd5e1; font-size: 12px; }
    .breadcrumb .current { color: #94a3b8; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 350px; }

    .job-header { background: white; padding: 30px; border-radius: 12px; box-shadow: 0 2px 4px rgba(0,0,0,0.02); border: 1px solid #e2e8f0; margin-bottom: 24px; display: flex; gap: 20px; align-items: center;}
    .job-logo { width: 80px; height: 80px; object-fit: contain; border-radius: 8px; border: 1px solid #f1f5f9; padding: 5px; }
    .job-title { font-size: 24px; font-weight: 800; color: #1e293b; margin: 0 0 8px 0; line-height: 1.3;}
    .job-org { font-size: 16px; color: #64748b; font-weight: 600; margin: 0;}
    .job-tags { display: flex; gap: 10px; margin-top: 15px; flex-wrap: wrap;}
    .j-tag { background: #f1f5f9; color: #475569; padding: 4px 10px; border-radius: 6px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 5px;}
    .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
    .grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-bottom: 24px; } /* Changed to 2 for smaller column area */
    
    .info-card { background: white; border-radius: 12px; border: 1px solid #e2e8f0; padding: 24px; box-shadow: 0 2px 4px rgba(0,0,0,0.02); margin-bottom: 24px;}
    .info-card h3 { font-size: 18px; color: #0f172a; margin-top: 0; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; border-bottom: 1px dashed #e2e8f0; padding-bottom: 12px;}
    .list-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #f8fafc; font-size: 15px;}
    .list-row:last-child { border-bottom: none; }
    .list-label { color: #64748b; }
    .list-val { font-weight: 700; color: #1e293b; text-align: right; }
    
    .pattern-box { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 15px; text-align: center; }
    .pattern-box .p-label { font-size: 11px; text-transform: uppercase; color: #64748b; font-weight: 700; margin-bottom: 5px; display: block;}
    .pattern-box .p-val { font-size: 15px; font-weight: 700; color: #0f172a; }
    
    .bg-pink { background: #fff1f2; border-color: #ffe4e6; } .bg-blue { background: #eff6ff; border-color: #dbeafe; color:#1d4ed8; } .bg-green { background: #f0fdf4; border-color: #dcfce7; }
    .age-checker { background: linear-gradient(to right, #eff6ff, #f8fafc); }
    .age-checker-sub { color: #4338ca; font-size: 14px; margin-bottom: 20px; }
    .age-form { display: flex; gap: 15px; align-items: flex-end;}
    .age-form input { padding: 12px; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 16px;}
    .btn-check { background: #4f46e5; color: white; border: none; padding: 12px 24px; border-radius: 6px; font-weight: 700; cursor: pointer; transition: 0.2s;}
    .btn-check:hover { background: #4338ca; }
    #ageResult { margin-top: 15px; font-weight: 600; font-size: 15px; color: #0f172a; }
    
    .link-row { display: flex; justify-content: space-between; align-items: center; background: #f8fafc; padding: 15px 20px; border-radius: 8px; margin-bottom: 10px; border: 1px solid #e2e8f0; text-decoration: none; color: #1e293b; font-weight: 600;}
    .link-primary { background: #2563eb; color: white; border-color: #1d4ed8; }
    .rich-text { color: #334155; line-height: 1.6; font-size: 15px; }
    .rich-text ul { padding-left: 20px; margin-bottom: 15px; }
    .rich-text p { margin-bottom: 15px; }

    /* 🚀 BUTTON GROUPS */
    .btn-group { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
    .btn { padding: 8px 20px; color: #fff; font-weight: bold; font-size: 13px; text-decoration: none; border-radius: 3px; text-align: center; border: 1px solid rgba(0,0,0,0.1); }
    .btn-apply { background: #e60000; } .btn-apply:hover { background: #cc0000; }
    .btn-web { background: #0056b3; } .btn-web:hover { background: #004494; }
    .btn-whatsapp { background: #25D366; color: white; } .btn-whatsapp:hover { background: #1ebd5a; }
    .btn-back { background: #666; } .btn-back:hover { background: #444; }

    /* 🚀 SYLLABUS TABLE */
    .syllabus-table { width: 100%; border-collapse: collapse; margin-top: 5px; font-size: 14px; border: none; }
    .syllabus-table th { background: #f8fafc; color: #1e293b; font-weight: 700; padding: 12px 15px; border-bottom: 2px solid #e2e8f0; text-align: left; }
    .syllabus-table td { padding: 12px 15px; border-bottom: 1px solid #e2e8f0; vertical-align: top; color: #475569; }
    .syllabus-table tr:last-child td { border-bottom: none; }
    .syllabus-table td.s-num { width: 60px; text-align: center; font-weight: 700; color: #94a3b8; }
    .syllabus-table td.s-subj { width: 35%; font-weight: 700; color: #0f172a; }
    .syllabus-list { margin: 0; padding-left: 20px; list-style-type: disc; }
    .syllabus-list li { margin-bottom: 6px; }

    /* 🚀 FAQ CONFIG */
    .faq-container { display: flex; flex-direction: column; gap: 15px; }
    .faq-box { border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; background: #fff; }
    .faq-q { background: #f8fafc; padding: 15px 20px; font-weight: 700; color: #0f172a; border-bottom: 1px solid #e2e8f0; display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
    .faq-q-icon { color: #2563eb; font-weight: 900; }
    .faq-a { padding: 15px 20px 15px 44px; color: #475569; font-size: 14px; line-height: 1.6; }
    .faq-a a { color: #2563eb; text-decoration: underline; font-weight: 600; }

    /* 🚀 DYNAMIC VACANCY RENDER LAYOUT SYSTEM WITH COLLAPSIBLE SUPPORT */
    .vac-block { border-bottom: 1px dashed #e2e8f0; padding-bottom: 24px; margin-bottom: 24px; }
    .vac-block:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
    
    .vac-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; cursor: pointer; user-select: none; transition: 0.2s;}
    .vac-header:hover .vac-title { color: #1d4ed8; text-decoration: underline; }
    .vac-title { font-size: 17px; font-weight: 800; color: #2563eb; margin: 0; line-height: 1.4; transition: 0.2s; }
    
    .vac-total-box { text-align: right; min-width: 80px; }
    .vac-total-label { font-size: 10px; font-weight: 700; color: #94a3b8; text-transform: uppercase; display: block; letter-spacing: 0.5px; }
    .vac-total-val { font-size: 20px; font-weight: 800; color: #0f172a; }
    
    .vac-chevron { margin-left: 15px; font-size: 16px; color: #94a3b8; transition: transform 0.3s ease; }
    
    /* Collapsed State Logic */
    .vac-content { display: block; }
    .vac-block.is-collapsed .vac-content { display: none; }
    .vac-block.is-collapsed .vac-chevron { transform: rotate(180deg); }

    .vac-qual { font-size: 14px; color: #475569; margin-bottom: 16px; display: flex; align-items: flex-start; gap: 8px; font-weight: 500; line-height: 1.5; padding-top: 10px; }
    .vac-qual span { font-weight: 600; color: #64748b;}
    .vac-breakdown-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
    .vac-sub-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 16px; box-shadow: 0 1px 2px rgba(0,0,0,0.01); }
    .vac-card-title { font-size: 11px; font-weight: 800; color: #94a3b8; text-transform: uppercase; margin-bottom: 12px; display: block; letter-spacing: 0.5px; }
    .vac-sub-table { width: 100%; border-collapse: collapse; text-align: center; }
    .vac-sub-table th { font-size: 11px; font-weight: 700; color: #64748b; padding-bottom: 8px; border-bottom: 1px solid #f1f5f9; }
    .vac-sub-table td { font-size: 14px; font-weight: 700; color: #1e293b; padding-top: 10px; }
    .gender-split-container { display: flex; justify-content: space-around; align-items: center; height: 100%; min-height: 48px; }
    .gender-split-box { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
    .gender-label-m { font-size: 13px; font-weight: 700; color: #2563eb; display: flex; align-items: center; gap: 4px; }
    .gender-label-f { font-size: 13px; font-weight: 700; color: #ec4899; display: flex; align-items: center; gap: 4px; }
    .gender-val { font-size: 14px; font-weight: 700; color: #1e293b; }
    .gender-divider { width: 1px; background: #e2e8f0; height: 32px; }

    /* Sidebar specific styling for single view */
    .widget { background: white; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; margin-bottom: 20px; }
    .cat-menu { display: flex; flex-direction: column; gap: 8px; }
    .cat-link { color: #475569; text-decoration: none; font-weight: 600; padding: 6px 0; border-bottom: 1px solid #f1f5f9; transition: 0.2s;}
    .cat-link:hover { color: #2563eb; padding-left: 5px; }
    .cat-link.active { color: #2563eb; font-weight: 800; }
    
    /* 🚀 NEW STYLING FOR DOCUMENTS & CENTERS */
    .docs-card { background: #fffef0; border: 1px solid #fef3c7; border-radius: 12px; padding: 20px; margin-bottom: 24px; }
    .doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 15px; }
    .doc-item { display: flex; align-items: flex-start; gap: 8px; color: #1e293b; font-size: 14px; font-weight: 500; line-height: 1.4; }
    .doc-item i { color: #10b981; font-size: 16px; margin-top: 2px; }
    
    .centers-wrap { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
    .center-pill { background: #f1f5f9; border: 1px solid #e2e8f0; padding: 8px 16px; border-radius: 50px; font-size: 14px; color: #475569; display: inline-flex; align-items: center; gap: 8px; font-weight: 600;}
    .center-pill i { color: #64748b; font-size: 14px; }


                    /* Force button colors so they don't appear white */
                    .btn-group .btn-whatsapp { background-color: #25D366 !important; color: #fff !important; border: none; }
                    .btn-group .btn-whatsapp:hover { background-color: #128C7E !important; }
                    
                    .btn-group .btn-telegram { background-color: #0088cc !important; color: #fff !important; border: none; }
                    .btn-group .btn-telegram:hover { background-color: #0077b5 !important; }
                    
                    .btn-group .btn-facebook { background-color: #1877F2 !important; color: #fff !important; border: none; }
                    .btn-group .btn-facebook:hover { background-color: #166fe5 !important; }
                    
                    .btn-group .btn-share-more { background-color: #64748b !important; color: #fff !important; border: none; cursor: pointer; }
                    .btn-group .btn-share-more:hover { background-color: #475569 !important; }
                    
                    /* Update existing link-row CSS and add the new styles */
.link-row { display: flex; justify-content: space-between; align-items: center; background: #ffffff; padding: 15px 20px; border-radius: 8px; margin-bottom: 10px; border: 1px solid #e2e8f0; text-decoration: none; color: #1e293b; font-weight: 600; transition: 0.2s; }
.link-row:hover { border-color: #cbd5e1; box-shadow: 0 2px 4px rgba(0,0,0,0.02); }

.link-primary { background: #0056b3; color: white !important; border-color: #004494; }
.link-primary:hover { background: #004494; border-color: #003377; box-shadow: 0 4px 6px rgba(0,86,179,0.2); }

/* The new 'NEW' Link Style */
.link-new { border: 2px solid #10b981; color: #0f172a; background: #ffffff; }
.link-new:hover { border-color: #059669; box-shadow: 0 4px 6px rgba(16, 185, 129, 0.1); }
.badge-new { background: #10b981; color: white; padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 800; text-transform: uppercase; margin-right: 8px; letter-spacing: 0.5px; }

/* Ensure right-side text and arrow look correct */
.link-row span:last-child { color: #64748b; font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 5px; }
.link-primary span:last-child { color: rgba(255,255,255,0.9); }

    
    @media (max-width: 768px) {
         .doc-grid { grid-template-columns: 1fr; }
        .grid-2 { grid-template-columns: 1fr; }
        .job-header { flex-direction: column; text-align: center; }
        .syllabus-table th:nth-child(1), .syllabus-table td.s-num { display: none; }
        .faq-a { padding-left: 20px; }
        .vac-breakdown-grid { grid-template-columns: 1fr; }
    }
