:root {
    --primary: #1a56db;
    --primary-light: #3f83f8;
    --secondary: #0e9f6e;
    --secondary-light: #31c48d;
    --accent: #9061f9;
    --accent-light: #ac94fa;
    --light: #f9fafb;
    --dark: #1f2937;
    --gray: #6b7280;
    --gray-light: #e5e7eb;

    --secondary-color: #2c5282;
    --accent-color: #2ecc71;
    --text-color: #333;
    --light-bg: #f5f7fa;
    --card-bg: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 16px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 30px 0;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.proaksi-header {
    background: linear-gradient(135deg, #00335b, #0073a8);
    color: white;
    text-align: center;
    padding: 100px 30px;
}

.proaksi-header h1 {
    font-size: 2.7rem;
    font-weight: 600;
}

.proaksi-header p {
    margin-top: 12px;
    font-size: 1.15rem;
    opacity: 0.9;
}

.split-layout {
    display: flex;
    min-height: 700px;
    margin: 60px auto;
    max-width: 1350px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* LEFT MENU STYLES - Pastikan ini ada */
.menu-panel {
    flex: 0 0 300px;
    background: linear-gradient(135deg, #1a56db, #3f83f8);
    padding: 30px 0;
}

.menu-item {
    padding: 20px 30px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.menu-item.active {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: white;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* CONTENT PANEL STYLES - Pastikan ini ada */
.content-panel {
    flex: 1;
    padding: 40px;
    overflow: hidden;
    /* Tambahkan ini */
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

/* SLIDER STYLES YANG DIPERBAIKI */
.slider-container {
    position: relative;
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    /* Perbaiki overflow */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    /* Pastikan lebar 100% */
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    /* Pastikan lebar 100% */
}

.slide {
    flex: 0 0 100%;
    /* Setiap slide mengambil 100% lebar container */
    display: flex;
    background: white;
    min-width: 0;
    /* Penting: mencegah slide melebar */
}

.slide-image {
    flex: 0 0 40%;
    /* Kurangi sedikit agar lebih proporsional */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    min-width: 0;
    /* Penting: mencegah image container melebar */
}

.slide-image img {
    max-width: 100%;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.slide-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    /* Penting: mencegah content melebar */
    overflow: hidden;
    /* Pastikan content tidak overflow */
}

.slide-title {
    font-size: 1.5rem;
    color: #1a56db;
    margin-bottom: 15px;
    font-weight: 600;
    word-wrap: break-word;
    /* Handle long text */
}

.slide-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    word-wrap: break-word;
    /* Handle long text */
}

/* SLIDER CONTROLS */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
}

.slider-btn {
    background: #1a56db;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 86, 219, 0.3);
}

.slider-btn:hover {
    background: #3f83f8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 86, 219, 0.4);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #1a56db;
    transform: scale(1.2);
}

/* RESPONSIVE - DIPERBAIKI */
@media (max-width: 968px) {
    .split-layout {
        flex-direction: column;
    }

    .menu-panel {
        flex: none;
        width: 100%;
    }

    .menu-item {
        display: inline-flex;
        width: 33.33%;
        text-align: center;
        justify-content: center;
        border-left: none;
        border-bottom: 4px solid transparent;
    }

    .menu-item.active {
        border-left: none;
        border-bottom-color: white;
    }

    .slide {
        flex-direction: column;
    }

    .slide-image {
        flex: none;
        height: 250px;
        /* Kurangi tinggi di mobile */
    }

    .slide-image img {
        height: 200px;
        /* Sesuaikan tinggi gambar di mobile */
    }

    .slide-content {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .menu-item {
        width: 100%;
        display: flex;
    }

    .content-panel {
        padding: 25px;
    }

    .slide-content {
        padding: 20px;
    }

    .slider-container {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .slider-controls {
        gap: 10px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .slide-title {
        font-size: 1.3rem;
    }
}

/* Makna Logo CSS */
.header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
}

.header h1 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
}

.header p {
    font-size: 1rem;
    color: #7f8c8d;
    max-width: 700px;
    margin: 0 auto;
}

.makna-logo-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.makna-logo-card {
    display: flex;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 150px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.makna-logo-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.makna-logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.makna-logo-card-image {
    flex: 0 0 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: #f8f9fa;
}

.makna-logo-card-image img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.makna-logo-card:hover .makna-logo-card-image img {
    transform: scale(1.1);
}

.makna-logo-card-content {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.makna-logo-card-title {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: 600;
}

.makna-logo-card-description {
    color: #555;
    font-size: 0.85rem;
    line-height: 1.4;
}

.color-section {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.color-section.animate {
    opacity: 1;
    transform: translateY(0);
}

.color-section h2 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
}

.color-palette {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.color-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 120px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
}

.color-section.animate .color-item {
    opacity: 1;
    transform: scale(1);
}

.color-section.animate .color-item:nth-child(1) {
    transition-delay: 0.1s;
}

.color-section.animate .color-item:nth-child(2) {
    transition-delay: 0.2s;
}

.color-section.animate .color-item:nth-child(3) {
    transition-delay: 0.3s;
}

.color-box {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.color-box:hover {
    transform: scale(1.1);
}

.color-name {
    font-size: 0.85rem;
    color: #555;
    text-align: center;
    font-weight: 500;
}

.color-description {
    font-size: 0.75rem;
    color: #7f8c8d;
    text-align: center;
}

@media (max-width: 768px) {
    .makna-logo-card-grid {
        grid-template-columns: 1fr;
    }

    .header h1 {
        font-size: 1.8rem;
    }

    .color-palette {
        gap: 10px;
    }

    .color-item {
        width: 100px;
    }
}

@media (max-width: 480px) {
    .makna-logo-card {
        height: auto;
        flex-direction: column;
    }

    .makna-logo-card-image {
        flex: 0 0 auto;
        padding: 10px;
    }

    .makna-logo-card-image img {
        width: 40px;
        height: 40px;
    }
}

/* Chart capaian tota */
.chart-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: center;
}

.chart-total-capaian-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 450px;
    max-width: 450px;
    position: relative;
}

.chart-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
    width: 100%;
}

.total-value {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
    margin-bottom: 5px;
}

.total-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

.legend-container {
    flex: 0 0 350px;
    margin-top: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.2s;
}

.legend-item:hover {
    background-color: #f8f9fa;
}

.legend-item.hidden {
    text-decoration: line-through;
    opacity: 0.6;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
}

.legend-text {
    flex: 1;
    font-size: 0.9rem;
    color: #333;
    line-height: 1.4;
}

.legend-value {
    font-weight: 600;
    margin-left: 5px;
}

.legend-unit {
    color: #666;
    font-size: 0.8rem;
    margin-left: 2px;
}

@media (max-width: 768px) {
    .chart-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .total-value {
        font-size: 2.5rem;
    }

    .legend-container {
        flex: none;
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .total-value {
        font-size: 2rem;
    }
}

/* ------------- */

/* LEFT MENU */
.menu-panel {
    background: #004a7c;
    color: white;
    width: 32%;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.menu-item {
    padding: 22px 35px;
    cursor: pointer;
    border-left: 5px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
}

.menu-item i {
    font-size: 20px;
    color: #f5c542;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-item.active {
    background: #f1f7fc;
    color: #004a7c;
    font-weight: 600;
    border-left: 5px solid #f5c542;
}

.menu-item.active i {
    color: #004a7c;
}

/* RIGHT CONTENT */
.content-panel {
    flex: 1;
    padding: 60px 60px 20px;
    position: relative;
}

.content-section {
    display: none;
    animation: fadeIn 0.4s ease;
}

.content-section.active {
    display: block;
}

.content-section h2 {
    font-size: 2rem;
    color: #004a7c;
    margin-bottom: 18px;
}

.content-section p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

ul.proaksi-list {
    list-style: none;
    padding-left: 0;
}

ul.proaksi-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    line-height: 1.7;
}

ul.proaksi-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #f5c542;
    font-weight: bold;
}

.highlight {
    color: #004a7c;
    font-weight: 600;
}

@media(max-width: 992px) {
    .split-layout {
        flex-direction: column;
    }

    .menu-panel {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
    }

    .menu-item {
        flex: 1;
        justify-content: center;
        padding: 18px;
        border-left: none;
        border-bottom: 4px solid transparent;
    }

    .menu-item.active {
        border-left: none;
        border-bottom: 4px solid #f5c542;
    }
}

.video-header {
    background: linear-gradient(135deg, #00335b, #0073a8);
    color: white;
    text-align: center;
    padding: 90px 30px;
}

.video-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.video-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Video grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    padding: 60px 40px;
    max-width: 1300px;
    margin: 0 auto;
}

.video-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.video-card iframe,
.video-card video {
    width: 100%;
    height: 220px;
    border: none;
    display: block;
}

.video-info {
    padding: 20px 22px;
}

.video-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #004a7c;
    margin-bottom: 8px;
}

.video-info p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* Highlight text */
.highlight {
    color: #f5c542;
    font-weight: 600;
}

/* Optional filter bar */
.filter-bar {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.filter-btn {
    background: #fff;
    border: 2px solid #004a7c;
    color: #004a7c;
    border-radius: 25px;
    padding: 8px 22px;
    margin: 0 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #004a7c;
    color: white;
}

header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 30px 0;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* Dampak ekonomi */
.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: bold;
    margin-right: 15px;
    font-size: 1.5rem;
}

.header-text h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.header-text p {
    font-size: 1rem;
    opacity: 0.9;
}

.date-info {
    text-align: right;
}

.date-info p {
    margin-bottom: 5px;
}

.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

.stat-card.primary::before {
    background: var(--primary);
}

.stat-card.secondary::before {
    background: var(--secondary);
}

.stat-card.accent::before {
    background: var(--accent);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 10px;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-card.primary .stat-value {
    color: var(--primary);
}

.stat-card.secondary .stat-value {
    color: var(--secondary);
}

.stat-card.accent .stat-value {
    color: var(--accent);
}

.stat-description {
    font-size: 0.85rem;
    color: var(--gray);
}

.section {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-light);
    color: var(--primary);
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 10px;
}

.chart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.chart-card {
    background: white;
    border-radius: 8px;
    /* padding: 15px; */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.chart-card:hover {
    transform: translateY(-3px);
}

.chart-card .chart-container {
    height: 250px;
    margin-bottom: 10px;
}

.chart-title {
    color: #1f3c88;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
}

.chart-note {
    font-size: 0.8rem;
    color: var(--gray);
    text-align: center;
    margin-top: 10px;
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.three-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--gray-light);
}

th {
    background-color: var(--light);
    font-weight: 600;
    color: var(--dark);
}

tr:hover {
    background-color: var(--light);
}

.progress-bar {
    height: 8px;
    background-color: var(--gray-light);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 5px;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.color-primary {
    background-color: var(--primary);
}

.color-secondary {
    background-color: var(--secondary);
}

.color-accent {
    background-color: var(--accent);
}

/* .recommendations {
    background: #f0f9ff;
    border-left: 4px solid var(--primary);
    padding: 15px 20px;
    margin: 15px 0;
    border-radius: 0 8px 8px 0;
}

.recommendations h3 {
    color: var(--primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.recommendations h3 i {
    margin-right: 8px;
}

.recommendations ul {
    padding-left: 20px;
}

.recommendations li {
    margin-bottom: 8px;
} */

.highlight-box {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.highlight-value {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 5px 0;
}

@media (max-width: 768px) {
    .two-columns, .three-columns {
        grid-template-columns: 1fr;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        margin-bottom: 15px;
    }

    .date-info {
        text-align: center;
    }

    .chart-grid {
        grid-template-columns: 1fr;
    }

    .tab-header {
        flex-wrap: wrap;
    }

    .tab-button {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .tab-content {
        padding: 20px 15px;
    }
}

/* Galeri CSS */
/* Filter Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    color: #495057;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #1a56db;
    color: #1a56db;
}

.filter-btn.active {
    background: #1a56db;
    border-color: #1a56db;
    color: white;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-media {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.gallery-media img,
.gallery-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-media .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item.video:hover .play-icon {
    opacity: 1;
}

.media-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.gallery-info {
    padding: 15px;
}

.gallery-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.gallery-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.gallery-date, .gallery-location {
    color: #999;
    font-size: 0.8rem;
    margin-top: 8px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10001;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-media {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.modal-video {
    width: 100%;
    max-height: 70vh;
}

.modal-info {
    padding: 20px;
    background: white;
}

.modal-title {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.modal-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.modal-date {
    color: #999;
    font-size: 0.9rem;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s ease;
    z-index: 1001;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s ease;
    z-index: 1001;
}

.modal-nav:hover {
    background: rgba(0, 0, 0, 0.9);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }

    .header {
        padding: 30px 20px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .filter-tabs {
        gap: 8px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .modal-content {
        max-width: 95%;
        max-height: 95%;
    }

    .modal-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .filter-tabs {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 200px;
        text-align: center;
    }
}

/* Aktivasi Kolaborasi CSS */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.form-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.form-description {
    text-align: justify;
    line-height: 1.7;
    color: #555;
    font-size: 1.1rem;
    margin: 20px 0 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.form-description p {
    margin-bottom: 0;
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.form-title i {
    margin-right: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-light);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-file {
    padding: 10px;
    border: 2px dashed var(--gray-light);
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.form-file:hover {
    border-color: var(--primary);
}

.form-file input {
    display: none;
}

.form-file-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--gray);
    cursor: pointer;
}

.form-file-label i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.form-radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-radio {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.form-radio input {
    margin-right: 8px;
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-light);
}

.form-section-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.form-section-title i {
    margin-right: 8px;
}

.btn-submit {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-submit:hover {
    background: var(--primary-light);
}

.btn-submit i {
    margin-right: 8px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.form-checkbox {
    display: flex;
    align-items: center;
}

.form-checkbox input {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-radio-group {
        flex-direction: column;
        gap: 10px;
    }
}

/* Percepatan Registrasi CSS */
.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s;
    border: 2px solid transparent;
    font-size: 0.85rem;
    font-weight: 500;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.legend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.legend-item.active {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.legend-item.inactive {
    opacity: 0.4;
    background: #95a5a6 !important;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.chart-wrapper-kegiatan {
    position: relative;
    height: 500px;
}

.pdf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.pdf-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pdf-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.pdf-preview {
    height: 160px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.pdf-icon {
    font-size: 3.5rem;
    color: white;
    opacity: 0.9;
}

.page-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.pdf-info {
    padding: 20px;
}

.pdf-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f3c88;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pdf-meta {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.pdf-actions {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
    justify-content: center;
}

.btn-primary {
    background: #1f3c88;
    color: white;
}

.btn-primary:hover {
    background: #152a6e;
}

.btn-secondary {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background: #e9ecef;
}

/* Modal Styles */
.modal-materi {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    padding: 20px;
}

.modal-materi.active {
    display: flex;
}

.modal-materi-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-materi-header {
    padding: 20px;
    background: #1f3c88;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-materi-title {
    font-size: 1.3rem;
    font-weight: 600;
}

.modal-materi-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

.modal-materi-body {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pdf-viewer {
    width: 100%;
    height: 500px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
}

.pdf-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .pdf-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .pdf-actions {
        flex-direction: column;
    }

    .modal-materi-content {
        width: 95%;
    }

    .pdf-viewer {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.8rem;
    }

    .pdf-grid {
        grid-template-columns: 1fr;
    }

    .pdf-viewer {
        height: 300px;
    }
}

/* Edukasi Informasi CSS */
/* Grid Layout */
.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-title {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: clamp(1.3rem, 4vw, 1.6rem);
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 3px solid #f0f4f8;
    line-height: 1.3;
}

.card-title i {
    color: var(--secondary-color);
    background: linear-gradient(135deg, var(--primary), var(--secondary-color));
    background-clip: text;
    -webkit-text-fill-color: transparent;
    flex-shrink: 0;
}

/* Chart & Links Layout */
.chart-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

/* Description Styles */
.description-text {
    font-size: clamp(1rem, 3vw, 1.15rem);
    line-height: 1.7;
    color: #555;
}

.description-text p {
    margin-bottom: 16px;
}

.highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary-color));
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Schedule Styles */
.schedule-list {
    list-style: none;
}

.schedule-item {
    padding: 18px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border-left: 5px solid var(--primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.schedule-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(31, 60, 136, 0.1), transparent);
    transition: left 0.5s ease;
}

.schedule-item:hover::before {
    left: 100%;
}

.schedule-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 15px rgba(31, 60, 136, 0.15);
}

.schedule-date {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    flex-wrap: wrap;
}

.schedule-activity {
    color: #444;
    margin-bottom: 8px;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    font-weight: 600;
    line-height: 1.4;
}

.schedule-location {
    color: #666;
    font-size: clamp(0.85rem, 2.5vw, 0.95rem);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* Links Grid */
.links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
}

.link-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
    min-height: 90px;
}

.link-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.link-card:hover::before {
    left: 50%;
    top: 50%;
}

.link-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 25px rgba(31, 60, 136, 0.4);
}

.link-icon {
    font-size: 1.6rem;
    z-index: 2;
    flex-shrink: 0;
}

.link-text {
    flex: 1;
    z-index: 2;
}

.link-title {
    font-weight: 700;
    margin-bottom: 6px;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.3;
}

.link-desc {
    font-size: clamp(0.8rem, 2.5vw, 0.92rem);
    opacity: 0.9;
    line-height: 1.4;
}

/* Chart Styles */
.chart-container {
    height: clamp(300px, 50vh, 400px);
    margin-top: 20px;
    position: relative;
    min-height: 300px;
}

/* Media Queries */
@media (min-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .chart-links-grid {
        grid-template-columns: 2fr 1fr;
        gap: 30px;
    }

    .program-header {
        padding: 40px 30px;
        margin-bottom: 40px;
    }

    .card {
        padding: 30px;
    }

    .links-grid {
        gap: 18px;
    }
}

@media (min-width: 1024px) {
    .program-logo {
        width: 100px;
        height: 100px;
    }

    .program-logo i {
        font-size: 3rem;
    }

    .chart-container {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .program-header {
        padding: 24px 16px;
        margin-bottom: 24px;
    }

    .logo-container {
        gap: 15px;
    }

    .program-logo {
        width: 70px;
        height: 70px;
    }

    .program-logo i {
        font-size: 2rem;
    }

    .card {
        padding: 20px 16px;
    }

    .schedule-item {
        padding: 16px;
    }

    .link-card {
        padding: 16px;
        min-height: 80px;
    }

    .link-icon {
        font-size: 1.4rem;
    }

    .chart-container {
        height: 280px;
        min-height: 280px;
    }
}

@media (max-width: 360px) {
    .links-grid {
        grid-template-columns: 1fr;
    }

    .program-title {
        font-size: 1.6rem;
    }

    .card-title {
        font-size: 1.2rem;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .card:hover {
        transform: none;
    }

    .schedule-item:hover {
        transform: none;
    }

    .link-card:hover {
        transform: none;
    }
}

/* Logo Styles - No Caption Version */
.program-logo-container {
    text-align: center;
    margin: 20px 0 30px 0;
    padding: 0;
    line-height: 0;
}

.program-logo-image {
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Alternatif dengan Flexbox */
.program-logo-flex {
    display: flex;
    justify-content: center;
    margin: 20px 0 30px 0;
    padding: 0;
}

.program-logo-flex img {
    max-width: 400px;
    height: auto;
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {

    .program-logo-image,
    .program-logo-flex img {
        max-width: 150px;
    }
}

@media (max-width: 480px) {

    .program-logo-image,
    .program-logo-flex img {
        max-width: 120px;
    }
}

/* Table uraian capaian per kegiatan */
.table-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.table-title {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.table-container {
    border: 1px solid #ecf0f1;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

/* DataTables Custom Styling */
#activitiesTable {
    margin: 0 !important;
}

#activitiesTable thead th {
    background: #34495e;
    color: white;
    font-weight: 600;
    border: none;
    padding: 12px 8px;
}

#activitiesTable tbody td {
    padding: 10px 8px;
    border-color: #ecf0f1;
}

#activitiesTable tbody tr:hover {
    background-color: #f8f9fa !important;
}

.text-center {
    text-align: center;
}

/* Badge Styling */
.badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-selesai {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.badge-berlangsung {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.badge-terjadwal {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.badge-default {
    background: #e2e3e5;
    color: #383d41;
    border: 1px solid #d6d8db;
}

/* FIX: Pagination Styling - Horizontal Layout */
.dataTables_wrapper .dataTables_paginate {
    margin-top: 20px !important;
    text-align: center !important;
    float: none !important;
    display: block !important;
}

.dataTables_wrapper .dataTables_paginate .pagination {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    display: inline-block !important;
    border: 1px solid #ddd !important;
    padding: 8px 12px !important;
    margin: 0 2px !important;
    border-radius: 6px !important;
    color: #34495e !important;
    background: white !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    min-width: 40px !important;
    text-align: center !important;
    line-height: 1 !important;
    float: none !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #34495e !important;
    color: white !important;
    border-color: #34495e !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #34495e !important;
    color: white !important;
    border-color: #34495e !important;
    font-weight: 600 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: #2c3e50 !important;
    border-color: #2c3e50 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    color: #95a5a6 !important;
    background: #f8f9fa !important;
    border-color: #ddd !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Search and Info Styling */
.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    margin-left: 10px !important;
}

.dataTables_wrapper .dataTables_length select {
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    padding: 6px 12px !important;
    margin-left: 10px !important;
    margin-right: 10px !important;
}

.dataTables_wrapper .dataTables_info {
    color: #7f8c8d !important;
    padding-top: 12px !important;
    font-size: 0.9rem !important;
    text-align: center !important;
}

/* FIX: Container layout untuk controls */
.dataTables_wrapper .dataTables_filter {
    float: right !important;
    margin-bottom: 15px !important;
}

.dataTables_wrapper .dataTables_length {
    float: left !important;
    margin-bottom: 15px !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .table-card {
        padding: 16px;
    }

    .table-title {
        font-size: 1.3rem;
    }

    #activitiesTable {
        font-size: 0.85rem;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button {
        padding: 6px 10px !important;
        font-size: 0.8rem !important;
        min-width: 35px !important;
    }

    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        float: none !important;
        text-align: center !important;
        margin-bottom: 10px !important;
    }

    .dataTables_wrapper .dataTables_length select,
    .dataTables_wrapper .dataTables_filter input {
        margin: 5px !important;
        width: 120px !important;
    }

    /* Untuk mobile, buat pagination bisa scroll horizontal jika perlu */
    .dataTables_wrapper .dataTables_paginate {
        overflow-x: auto !important;
        white-space: nowrap !important;
    }

    .dataTables_wrapper .dataTables_paginate .pagination {
        display: inline-flex !important;
        flex-wrap: nowrap !important;
    }
}

/* Clear floats */
.dataTables_wrapper:after {
    content: "";
    display: table;
    clear: both;
}