/* Section & Header */
.regulasi-section {
    background-color: #fff;
    min-height: 80vh;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: #111827;
}

/* Tabs */
.btn-tab {
    white-space: nowrap;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #4b5563;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-tab:hover {
    background: #eef2ff;
    color: #111827;
    border-color: #e0e7ff;
}

.btn-tab.active {
    background: #111827 !important;
    color: #fff !important;
    border-color: #111827 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Viewer Container */
.pdf-scroll-container {
    height: 75vh;
    overflow-y: auto;
    background-color: #6b7280;
    /* Neutral gray for contrast */
    padding: 2rem;
    -webkit-overflow-scrolling: touch;
}

/* PDF Pages */
.pdf-page {
    display: block;
    margin: 0 auto 1.5rem;
    max-width: 100%;
    height: auto;
    background: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Toolbar Buttons */
.btn-tool {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #4b5563;
    font-size: 1.1rem;
    transition: all 0.2s;
}

.btn-tool:hover {
    background: #f3f4f6;
    color: #111827;
}

.btn-primary-tool {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #111827;
    color: #fff;
    transition: all 0.2s;
}

.btn-primary-tool:hover {
    background: #000;
    transform: scale(1.05);
}

/* Scrollbar Style for Tabs */
#regulasiTabs::-webkit-scrollbar {
    height: 6px;
}

#regulasiTabs::-webkit-scrollbar-track {
    background: transparent;
}

#regulasiTabs::-webkit-scrollbar-thumb {
    background-color: #e5e7eb;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }

    .pdf-scroll-container {
        height: 65vh;
        padding: 1rem;
    }
}