/* ==========================================================================
   WIDGET AKSESIBILITAS & DISABILITAS (A11Y) - PUSKESMAS KELAPA GADING
   Sesuai Standar Ramah Disabilitas PPID / Dinkes DKI Jakarta & WCAG 2.1 Level AA
   ========================================================================== */

/* 0. Skip to Content (WCAG 2.4.1 Bypass Blocks) */
.skip-to-content {
    position: absolute;
    top: -9999px;
    left: 15px;
    background: #0056b3;
    color: #ffffff !important;
    padding: 12px 22px;
    border: 3px solid #ffcc00;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    z-index: 99999999;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
    text-decoration: none !important;
    transition: top 0.2s ease-in-out;
}

.skip-to-content:focus,
.skip-to-content:focus-visible {
    top: 15px;
    outline: 4px solid #ffcc00;
    outline-offset: 2px;
}

/* 0.1 Utility Screen Reader Only (WCAG 4.1.3) */
.sr-only,
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* 0.2 Universal Keyboard Focus Ring (WCAG 2.4.7 Focus Visible) */
:focus-visible {
    outline: 3px solid #0056b3;
    outline-offset: 3px;
}

/* 1. Tombol Mengambang (Floating Action Button) */
.a11y-trigger-btn {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    color: #ffffff;
    border: 3px solid #ffffff;
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999990;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    outline: none;
    padding: 0;
}

.a11y-trigger-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.6);
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
}

.a11y-trigger-btn:focus-visible {
    outline: 4px solid #ffcc00;
    outline-offset: 4px;
}

.a11y-trigger-btn svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
    transition: transform 0.3s ease;
}

.a11y-trigger-btn:hover svg {
    transform: rotate(-10deg) scale(1.05);
}

.a11y-trigger-tooltip {
    position: absolute;
    left: 70px;
    background: #1e293b;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    pointer-events: none;
}

.a11y-trigger-tooltip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -5px;
    transform: translateY(-50%);
    border-width: 5px 5px 5px 0;
    border-style: solid;
    border-color: transparent #1e293b transparent transparent;
}

.a11y-trigger-btn:hover .a11y-trigger-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* 2. Overlay Latar Belakang */
.a11y-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 999998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.a11y-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 3. Panel Menu Aksesibilitas (Drawer Offcanvas) */
.a11y-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 380px;
    max-width: 92vw;
    height: 100vh;
    background: #ffffff;
    box-shadow: 5px 0 35px rgba(0, 0, 0, 0.25);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    color: #1e293b;
    box-sizing: border-box;
}

.a11y-panel * {
    box-sizing: border-box;
}

.a11y-panel.active {
    transform: translateX(0);
}

/* 4. Header Panel */
.a11y-header {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    padding: 16px 20px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.a11y-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.a11y-title {
    font-size: 16.5px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    letter-spacing: 0.2px;
}

.a11y-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
}

.a11y-close-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.08);
}

.a11y-close-btn:focus-visible {
    outline: 3px solid #ffcc00;
}

.a11y-sub-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.a11y-sub-action-btn {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 16px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.a11y-sub-action-btn:hover {
    background: #ffffff;
    color: #0056b3;
    border-color: #ffffff;
}

.a11y-sub-action-btn:focus-visible {
    outline: 3px solid #ffcc00;
}

#a11y-reset-btn:hover {
    color: #dc2626;
}

/* 5. Konten Body (Grid Kartu Fitur) */
.a11y-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: #f8fafc;
}

.a11y-body::-webkit-scrollbar {
    width: 6px;
}

.a11y-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

/* 5.1 Section Title & Presets Grid (Fitur Inovatif 1-Klik) */
.a11y-section-title {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 8px;
}

.a11y-presets-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.a11y-presets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.a11y-preset-btn {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.a11y-preset-btn:hover {
    background: #eff6ff;
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.a11y-preset-btn:focus-visible {
    outline: 2.5px solid #ffcc00;
}

.a11y-preset-btn.active {
    background: #dbeafe;
    border-color: #0d6efd;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
}

.a11y-preset-icon {
    font-size: 18px;
    line-height: 1;
}

.a11y-preset-label {
    font-size: 10.5px;
    font-weight: 700;
    color: #334155;
    text-align: center;
    line-height: 1.15;
}

.a11y-preset-btn.active .a11y-preset-label {
    color: #0d6efd;
}

.a11y-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* 6. Kartu Fitur Aksesibilitas */
.a11y-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.22s ease;
    position: relative;
    min-height: 98px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    outline: none;
}

.a11y-card:hover {
    border-color: #93c5fd;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(13, 110, 253, 0.08);
}

.a11y-card:focus-visible {
    outline: 3px solid #ffcc00;
    outline-offset: 2px;
}

.a11y-card:active {
    transform: translateY(0);
}

.a11y-card.active {
    background: #eff6ff;
    border-color: #0d6efd;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.2);
}

.a11y-card-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e293b;
    transition: color 0.2s ease, transform 0.2s ease;
}

.a11y-card.active .a11y-card-icon {
    color: #0d6efd;
    transform: scale(1.1);
}

.a11y-card-icon svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.a11y-card-title {
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    line-height: 1.25;
}

.a11y-card.active .a11y-card-title {
    color: #0d6efd;
    font-weight: 700;
}

.a11y-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #0d6efd;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    display: none;
}

.a11y-card.active .a11y-badge {
    display: inline-block;
}

/* 7. Footer Panel */
.a11y-footer {
    padding: 12px 16px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.a11y-footer-actions {
    display: flex;
    justify-content: center;
}

.a11y-footer-btn {
    background: #f1f5f9;
    color: #0369a1;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.a11y-footer-btn:hover {
    background: #e0f2fe;
    border-color: #38bdf8;
    color: #0284c7;
}

.a11y-footer-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #64748b;
}

.a11y-footer-info strong {
    color: #0d6efd;
}

/* 8. Floating Audio Player Indicator (Mode Suara) */
.a11y-voice-bar {
    position: fixed;
    bottom: 90px;
    left: 25px;
    background: #1e293b;
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 30px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 999995;
    font-size: 13px;
    font-weight: 600;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.a11y-voice-bar.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.a11y-voice-bar-stop {
    background: #ef4444;
    color: #ffffff;
    border: none;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.a11y-voice-bar-stop:hover {
    background: #dc2626;
}

/* 9. Reading Ruler (Garis Pembaca) */
.a11y-reading-ruler {
    position: fixed;
    left: 0;
    width: 100vw;
    height: 38px;
    background: rgba(255, 235, 59, 0.25);
    border-top: 2px solid #fbc02d;
    border-bottom: 2px solid #fbc02d;
    pointer-events: none;
    z-index: 999980;
    display: none;
    transform: translateY(-50%);
}

html.a11y-ruler-active .a11y-reading-ruler {
    display: block;
}

/* ==========================================================================
   EFEK AKSESIBILITAS PADA KONTEN WEBSITE (HTML MODIFIER CLASSES)
   ========================================================================== */

/* A. Ukuran Teks (WCAG 1.4.4 Resize text up to 200%) */
html.a11y-font-1 body,
html.a11y-font-1 p,
html.a11y-font-1 span:not(#a11y-panel *):not(#a11y-trigger-btn *),
html.a11y-font-1 a:not(#a11y-panel *):not(#a11y-trigger-btn *),
html.a11y-font-1 li,
html.a11y-font-1 td,
html.a11y-font-1 th,
html.a11y-font-1 button:not(#a11y-panel *):not(#a11y-trigger-btn *),
html.a11y-font-1 input,
html.a11y-font-1 select,
html.a11y-font-1 textarea { font-size: 112% !important; }

html.a11y-font-2 body,
html.a11y-font-2 p,
html.a11y-font-2 span:not(#a11y-panel *):not(#a11y-trigger-btn *),
html.a11y-font-2 a:not(#a11y-panel *):not(#a11y-trigger-btn *),
html.a11y-font-2 li,
html.a11y-font-2 td,
html.a11y-font-2 th,
html.a11y-font-2 button:not(#a11y-panel *):not(#a11y-trigger-btn *),
html.a11y-font-2 input,
html.a11y-font-2 select,
html.a11y-font-2 textarea { font-size: 125% !important; }

html.a11y-font-3 body,
html.a11y-font-3 p,
html.a11y-font-3 span:not(#a11y-panel *):not(#a11y-trigger-btn *),
html.a11y-font-3 a:not(#a11y-panel *):not(#a11y-trigger-btn *),
html.a11y-font-3 li,
html.a11y-font-3 td,
html.a11y-font-3 th,
html.a11y-font-3 button:not(#a11y-panel *):not(#a11y-trigger-btn *),
html.a11y-font-3 input,
html.a11y-font-3 select,
html.a11y-font-3 textarea { font-size: 140% !important; }

html.a11y-font-neg-1 body,
html.a11y-font-neg-1 p,
html.a11y-font-neg-1 span:not(#a11y-panel *):not(#a11y-trigger-btn *) { font-size: 90% !important; }

html.a11y-font-neg-2 body,
html.a11y-font-neg-2 p,
html.a11y-font-neg-2 span:not(#a11y-panel *):not(#a11y-trigger-btn *) { font-size: 82% !important; }

/* B. Mode Easy Read (Baca Sederhana & Bersih) */
html.a11y-easy-read body {
    background-color: #fafaf9 !important;
    color: #1c1917 !important;
    line-height: 1.85 !important;
    font-size: 112% !important;
}

html.a11y-easy-read .container {
    max-width: 960px !important;
}

html.a11y-easy-read .footer-ambient-glow,
html.a11y-easy-read .call-overlay,
html.a11y-easy-read .bg,
html.a11y-easy-read .event-banner-overlay,
html.a11y-easy-read .banner-slider .bg {
    opacity: 0.1 !important;
}

html.a11y-easy-read .pelayanan-card,
html.a11y-easy-read .feature-item,
html.a11y-easy-read .footer-item,
html.a11y-easy-read .card {
    box-shadow: none !important;
    border: 1.5px solid #d6d3d1 !important;
    background: #ffffff !important;
}

/* C. Kejenuhan Warna */
html.a11y-monochrome {
    filter: grayscale(100%) !important;
}

html.a11y-high-sat {
    filter: saturate(220%) !important;
}

/* D. Kontras+ (High Contrast Mode - WCAG 1.4.6 Contrast AAA > 7:1) */
html.a11y-contrast-dark {
    background-color: #000000 !important;
}

html.a11y-contrast-dark body,
html.a11y-contrast-dark div:not(#a11y-panel *):not(#a11y-trigger-btn *):not(.a11y-modal-card *),
html.a11y-contrast-dark section,
html.a11y-contrast-dark header,
html.a11y-contrast-dark nav,
html.a11y-contrast-dark footer {
    background-color: #0f172a !important;
    color: #ffff00 !important;
    border-color: #475569 !important;
}

html.a11y-contrast-dark a:not(#a11y-panel *):not(#a11y-trigger-btn *):not(.a11y-modal-card *) {
    color: #38bdf8 !important;
    text-decoration: underline !important;
}

html.a11y-contrast-dark h1,
html.a11y-contrast-dark h2,
html.a11y-contrast-dark h3,
html.a11y-contrast-dark h4,
html.a11y-contrast-dark h5,
html.a11y-contrast-dark h6,
html.a11y-contrast-dark p,
html.a11y-contrast-dark span:not(#a11y-panel *):not(.a11y-modal-card *),
html.a11y-contrast-dark li,
html.a11y-contrast-dark td,
html.a11y-contrast-dark th {
    color: #ffff00 !important;
}

html.a11y-contrast-dark input,
html.a11y-contrast-dark select,
html.a11y-contrast-dark textarea,
html.a11y-contrast-dark button:not(#a11y-panel *):not(#a11y-trigger-btn *):not(.a11y-modal-card *) {
    background-color: #1e293b !important;
    color: #ffff00 !important;
    border: 2px solid #ffff00 !important;
}

html.a11y-contrast-dark :focus-visible {
    outline: 3px solid #ffff00 !important;
    outline-offset: 3px !important;
}

html.a11y-contrast-light body,
html.a11y-contrast-light div:not(#a11y-panel *):not(#a11y-trigger-btn *):not(.a11y-modal-card *),
html.a11y-contrast-light section,
html.a11y-contrast-light header,
html.a11y-contrast-light nav,
html.a11y-contrast-light footer {
    background-color: #ffffff !important;
    color: #000000 !important;
}

html.a11y-contrast-light a:not(#a11y-panel *):not(#a11y-trigger-btn *) {
    color: #0000ee !important;
    text-decoration: underline !important;
}

/* E. Teks Alt Gambar Badges */
.a11y-alt-badge {
    display: inline-block;
    position: absolute;
    bottom: 6px;
    left: 6px;
    background: rgba(15, 23, 42, 0.94);
    color: #facc15;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    max-width: 92%;
    white-space: normal;
    z-index: 100;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    pointer-events: none;
    border: 1px solid #eab308;
    line-height: 1.3;
}

/* F. Sembunyikan Gambar */
html.a11y-hide-images img:not(#a11y-panel *):not(#a11y-trigger-btn *),
html.a11y-hide-images .slide-item,
html.a11y-hide-images video,
html.a11y-hide-images iframe {
    visibility: hidden !important;
    opacity: 0 !important;
}

html.a11y-hide-images * {
    background-image: none !important;
}

/* G. Rata Tulisan */
html.a11y-align-left body *:not(#a11y-panel *):not(#a11y-trigger-btn *) { text-align: left !important; }
html.a11y-align-center body *:not(#a11y-panel *):not(#a11y-trigger-btn *) { text-align: center !important; }
html.a11y-align-right body *:not(#a11y-panel *):not(#a11y-trigger-btn *) { text-align: right !important; }
html.a11y-align-justify body *:not(#a11y-panel *):not(#a11y-trigger-btn *) { text-align: justify !important; }

/* H. Ramah Disleksia */
html.a11y-dyslexia body,
html.a11y-dyslexia body *:not(#a11y-panel *):not(#a11y-trigger-btn *):not(.fa):not(.fas):not(.far) {
    font-family: 'OpenDyslexic', 'Comic Sans MS', 'Trebuchet MS', Arial, sans-serif !important;
    letter-spacing: 0.05em !important;
    word-spacing: 0.1em !important;
}

/* I. Tinggi Baris */
html.a11y-line-height-1 body,
html.a11y-line-height-1 p,
html.a11y-line-height-1 li,
html.a11y-line-height-1 span:not(#a11y-panel *) {
    line-height: 1.8 !important;
}

html.a11y-line-height-2 body,
html.a11y-line-height-2 p,
html.a11y-line-height-2 li,
html.a11y-line-height-2 span:not(#a11y-panel *) {
    line-height: 2.3 !important;
}

/* J. Animasi Dijeda */
html.a11y-pause-animations *,
html.a11y-pause-animations *::before,
html.a11y-pause-animations *::after {
    animation-play-state: paused !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
}

/* K. Kursor Besar */
html.a11y-big-cursor,
html.a11y-big-cursor * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath fill='%23000000' stroke='%23ffffff' stroke-width='1.5' d='M4 3l14 10-6.5 1.5 4 6-2.5 1.5-4-6-5 5V3z'/%3E%3C/svg%3E"), auto !important;
}

/* L. Spasi Teks */
html.a11y-text-spacing body,
html.a11y-text-spacing p,
html.a11y-text-spacing li,
html.a11y-text-spacing h1,
html.a11y-text-spacing h2,
html.a11y-text-spacing h3,
html.a11y-text-spacing h4,
html.a11y-text-spacing h5,
html.a11y-text-spacing h6,
html.a11y-text-spacing a:not(#a11y-panel *) {
    letter-spacing: 0.14em !important;
    word-spacing: 0.18em !important;
}

/* M. Garis Bawahi Tautan */
html.a11y-underline-links a:not(#a11y-panel *):not(#a11y-trigger-btn) {
    text-decoration: underline !important;
    text-decoration-thickness: 2.5px !important;
    text-underline-offset: 3px !important;
}

/* N. Mode Fokus Keyboard */
html.a11y-focus-outline a:focus,
html.a11y-focus-outline button:focus,
html.a11y-focus-outline input:focus,
html.a11y-focus-outline select:focus,
html.a11y-focus-outline textarea:focus {
    outline: 4px solid #ffcc00 !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 12px rgba(255, 204, 0, 0.85) !important;
}

/* O. Sorotan Baca Mode Suara */
.a11y-speaking-active {
    outline: 3px solid #0d6efd !important;
    background-color: rgba(13, 110, 253, 0.12) !important;
    border-radius: 4px;
}

html.a11y-voice-active p:hover,
html.a11y-voice-active h1:hover,
html.a11y-voice-active h2:hover,
html.a11y-voice-active h3:hover,
html.a11y-voice-active h4:hover,
html.a11y-voice-active li:hover,
html.a11y-voice-active a:hover {
    outline: 2px dashed #0d6efd !important;
    background-color: rgba(13, 110, 253, 0.08) !important;
    cursor: pointer !important;
}

/* ==========================================================================
   MODAL DIALOG AKSESIBILITAS (PANDUAN, LAPORAN, PERNYATAAN)
   ========================================================================== */

.a11y-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 10000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.a11y-modal-backdrop[hidden] {
    display: none !important;
}

.a11y-modal-card {
    background: #ffffff;
    border-radius: 14px;
    max-width: 580px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    border: 1px solid #cbd5e1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: a11yModalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1e293b;
}

@keyframes a11yModalIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.a11y-modal-header {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    color: #ffffff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.a11y-modal-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.a11y-modal-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}

.a11y-modal-body {
    padding: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
}

.a11y-modal-footer {
    padding: 12px 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.a11y-guide-list {
    margin: 12px 0;
    padding-left: 20px;
}

.a11y-guide-list li {
    margin-bottom: 8px;
}

.a11y-guide-list kbd {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-bottom: 2px solid #94a3b8;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
}

.a11y-guide-note {
    background: #eff6ff;
    border-left: 4px solid #0284c7;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 13px;
    color: #0369a1;
    margin-top: 12px;
}

.a11y-contact-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
}

.a11y-contact-pill {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.15s ease;
}

.a11y-contact-pill:hover {
    transform: translateX(4px);
}

.a11y-contact-pill.wa {
    background: #dcfce7;
    color: #15803d !important;
    border: 1px solid #86efac;
}

.a11y-contact-pill.phone {
    background: #e0f2fe;
    color: #0369a1 !important;
    border: 1px solid #7dd3fc;
}

.a11y-contact-pill.email {
    background: #f3e8ff;
    color: #7e22ce !important;
    border: 1px solid #d8b4fe;
}

.a11y-input {
    width: 100%;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 13.5px;
    box-sizing: border-box;
}

.a11y-btn-primary {
    background: #0d6efd;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.a11y-btn-primary:hover {
    background: #0056b3;
}

.a11y-btn-secondary {
    background: #e2e8f0;
    color: #1e293b;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.a11y-btn-secondary:hover {
    background: #cbd5e1;
}

/* Responsif Layar Kecil / Ponsel */
@media (max-width: 480px) {
    .a11y-panel {
        width: 100vw;
    }
    .a11y-trigger-btn {
        bottom: 20px;
        left: 20px;
        width: 52px;
        height: 52px;
    }
    .a11y-trigger-tooltip {
        display: none;
    }
}

/* ==========================================================================
   FITUR INOVASI: ARTICLE AUDIO READER (PEMUTAR SUARA BERITA)
   ========================================================================== */
.article-audio-player-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1.5px solid #7dd3fc;
    border-radius: 12px;
    padding: 12px 16px;
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
}

.audio-player-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.audio-player-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #0369a1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.audio-player-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.audio-btn {
    border: none;
    border-radius: 20px;
    padding: 5px 13px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.audio-btn-play {
    background: #0284c7;
    color: #ffffff;
}

.audio-btn-play:hover {
    background: #0369a1;
}

.audio-btn-stop {
    background: #e2e8f0;
    color: #475569;
}

.audio-btn-stop:hover {
    background: #cbd5e1;
}

.audio-speed-select {
    border: 1px solid #7dd3fc;
    background: #ffffff;
    border-radius: 16px;
    padding: 3px 8px;
    font-size: 11.5px;
    color: #0369a1;
    font-weight: 600;
    cursor: pointer;
}

.audio-player-status {
    font-size: 12px;
    color: #0284c7;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   FITUR INOVASI: VOICE SEARCH (PENCARIAN BERBASIS SUARA)
   ========================================================================== */
.voice-search-btn {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 15px;
    cursor: pointer;
    padding: 6px 10px;
    position: absolute;
    right: 36px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 5;
}

.voice-search-btn:hover {
    color: #0284c7;
    background: rgba(2, 132, 199, 0.12);
}

.voice-search-btn.listening {
    color: #ef4444;
    animation: voicePulse 1s infinite alternate;
}

@keyframes voicePulse {
    from { transform: translateY(-50%) scale(1); }
    to { transform: translateY(-50%) scale(1.3); }
}

