/**
 * Disabilitas Page Styles
 * Styling untuk halaman index dan detail peraturan disabilitas
 */

/* ============================================
   COMMON STYLES
   ============================================ */

.disabilitas-page,
.section-content {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    /* Base font increased */
}

.disabilitas-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    /* Padding increased */
}

/* ============================================
   CUSTOM BANNER
   ============================================ */

.disabilitas-banner {
    position: relative;
    min-height: 250px;
    /* Increased height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.disabilitas-banner figure {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
}

.disabilitas-banner .banner-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 50%, #3b82f6 100%);
}

.disabilitas-banner .text-banner {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 3rem;
}

.disabilitas-banner .text-banner h3 {
    font-size: 3rem;
    /* Increased from 2rem */
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.disabilitas-banner .text-banner p {
    font-size: 1.35rem;
    /* Increased from 1rem */
    opacity: 0.95;
    margin: 0;
}

/* ============================================
   INDEX PAGE - FILTER BOX
   ============================================ */

.disabilitas-filter-box {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.filter-form .filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

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

.filter-group.search-group {
    flex: 2;
    min-width: 320px;
    position: relative;
}

.filter-input {
    width: 100%;
    padding: 1rem 3.5rem 1rem 1.25rem;
    /* Padding increased */
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    /* Increased */
    background: rgba(255, 255, 255, 0.95);
}

.filter-input::placeholder {
    color: #94a3b8;
}

.btn-search {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: #3b82f6;
    border: none;
    border-radius: 8px;
    padding: 0.75rem;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-search svg {
    width: 24px;
    height: 24px;
}

.btn-search:hover {
    background: #2563eb;
}

.filter-select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    /* Increased */
    background: rgba(255, 255, 255, 0.95);
    cursor: pointer;
}

/* Result Info */
.result-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #f1f5f9;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #64748b;
}

.reset-filter {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}

.reset-filter:hover {
    text-decoration: underline;
}

/* ============================================
   INDEX PAGE - PERATURAN LIST
   ============================================ */

.peraturan-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.peraturan-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #e2e8f0;
}

.peraturan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.peraturan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.peraturan-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.peraturan-number {
    font-size: 1rem;
    /* Increased */
    color: #94a3b8;
}

.peraturan-jenis {
    background: #1e3a5f;
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    /* Increased */
    font-weight: 600;
    text-transform: uppercase;
}

.peraturan-status {
    padding: 0.35rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    /* Increased */
    font-weight: 600;
}

.peraturan-status.berlaku {
    background: #dcfce7;
    color: #166534;
}

.peraturan-status.tidak-berlaku {
    background: #fee2e2;
    color: #991b1b;
}

.peraturan-body {
    padding: 1.5rem;
}

.peraturan-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.peraturan-title {
    font-size: 1.4rem;
    /* Increased significantly */
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.75rem 0;
    line-height: 1.5;
}

.peraturan-desc {
    font-size: 1.15rem;
    /* Increased */
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

.peraturan-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: #fafafa;
    border-top: 1px solid #e2e8f0;
}

.peraturan-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
    /* Increased */
    font-weight: 600;
}

.badge svg {
    width: 16px;
    height: 16px;
}

.badge-audio {
    background: #fef3c7;
    color: #92400e;
}

.badge-translate {
    background: #dbeafe;
    color: #1e40af;
}

.badge-braille {
    background: #e0e7ff;
    color: #3730a3;
}

.badge-video {
    background: #fce7f3;
    color: #9d174d;
}

.btn-detail {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #3b82f6;
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 1rem;
    /* Increased */
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-detail svg {
    width: 20px;
    height: 20px;
}

.btn-detail:hover {
    background: #2563eb;
}

/* No Data */
.no-data {
    text-align: center;
    padding: 5rem 2rem;
    color: #94a3b8;
}

.no-data svg {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

/* ============================================
   DETAIL PAGE
   ============================================ */

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    /* Increased */
    color: #64748b;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #3b82f6;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Title Section */
.title-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.title-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.badge-jenis {
    background: linear-gradient(135deg, #1e3a5f, #2d5a87);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-size: 1rem;
    /* Increased */
    font-weight: 600;
}

.badge-status {
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-size: 1rem;
    /* Increased */
    font-weight: 600;
}

.badge-status.berlaku {
    background: #dcfce7;
    color: #166534;
}

.badge-status.tidak-berlaku {
    background: #fee2e2;
    color: #991b1b;
}

.main-title {
    font-size: 2rem;
    /* Increased substantially */
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.sub-title {
    font-size: 1.25rem;
    /* Increased */
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Content Grid: PDF + Video */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.section-header {
    margin-bottom: 1.25rem;
}

.section-header h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    /* Increased */
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.section-header h3 svg {
    width: 24px;
    height: 24px;
    color: #3b82f6;
}

/* PDF Section */
.pdf-section,
.video-section {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.pdf-viewer {
    width: 100%;
    height: 500px;
    /* Increased height */
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    background: #f1f5f9;
}

.pdf-viewer iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.pdf-placeholder,
.video-placeholder {
    width: 100%;
    height: 350px;
    background: #f1f5f9;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.pdf-placeholder svg,
.video-placeholder svg {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.btn-open-doc {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #3b82f6;
    color: white;
    padding: 1rem 1.5rem;
    /* Larger button */
    border-radius: 10px;
    font-size: 1.1rem;
    /* Larger font */
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
    width: 100%;
    /* Full width for easier clicking */
    justify-content: center;
}

.btn-open-doc svg {
    width: 20px;
    height: 20px;
}

.btn-open-doc:hover {
    background: #2563eb;
}

/* Video Section */
.video-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   KATALOG SECTION
   ============================================ */

.katalog-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.katalog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .katalog-grid {
        grid-template-columns: 1fr;
    }
}

.katalog-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
}

.katalog-item.full-width {
    grid-column: 1 / -1;
}

.katalog-label {
    font-size: 1rem;
    /* Increased from 0.75rem */
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.katalog-value {
    font-size: 1.25rem;
    /* Increased from 0.9rem to 1.25rem per request */
    color: #1e293b;
    line-height: 1.5;
}

.katalog-value.status-berlaku {
    color: #166534;
    font-weight: 700;
}

.katalog-value.status-tidak-berlaku {
    color: #991b1b;
    font-weight: 700;
}

/* ============================================
   ACCESSIBILITY SECTION
   ============================================ */

.accessibility-section {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 3rem;
}

.accessibility-section .section-header h3 {
    color: white;
    font-size: 1.5rem;
    /* Increased */
}

.accessibility-section .section-header h3 svg {
    color: #93c5fd;
    width: 28px;
    height: 28px;
}

.accessibility-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.acc-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    /* Larger buttons */
    border-radius: 10px;
    font-size: 1.15rem;
    /* Larger font */
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.acc-btn svg {
    width: 24px;
    height: 24px;
}

.acc-btn:not(.disabled):hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.acc-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.acc-audio {
    background: #fef3c7;
    color: #92400e;
}

.acc-translate {
    background: #dbeafe;
    color: #1e40af;
}

.acc-braille {
    background: #e0e7ff;
    color: #3730a3;
}

.acc-download {
    background: #dcfce7;
    color: #166534;
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats-section {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 2.5rem;
    background: #f8fafc;
    border-radius: 14px;
    margin-bottom: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-item svg {
    width: 32px;
    height: 32px;
    color: #3b82f6;
}

.stat-value {
    font-size: 2.5rem;
    /* Increased */
    font-weight: 800;
    color: #1e293b;
}

.stat-label {
    font-size: 1.1rem;
    color: #64748b;
}

/* ============================================
   RELATED SECTION
   ============================================ */

.related-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem;
    background: #f8fafc;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s;
}

.related-item:hover {
    background: #f1f5f9;
}

.related-jenis {
    background: #1e3a5f;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.related-title {
    font-size: 1.1rem;
    /* Increased */
    color: #1e293b;
    font-weight: 500;
}

/* ============================================
   BACK SECTION
   ============================================ */

.back-section {
    text-align: center;
    margin-bottom: 3rem;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.btn-back svg {
    width: 24px;
    height: 24px;
}

.btn-back:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .filter-form .filter-row {
        flex-direction: column;
    }

    .filter-group {
        width: 100%;
    }

    .peraturan-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .stats-section {
        gap: 2rem;
    }

    .accessibility-buttons {
        flex-direction: column;
    }

    .acc-btn {
        width: 100%;
        justify-content: center;
    }

    .disabilitas-banner .text-banner h3 {
        font-size: 2rem;
    }
}