body {
    background-color: #f9f9f9;
}

.regulasi-tabs {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 28px;
}

.filter-btn {
    min-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 14px 24px;
    background: #ffffff;
    color: #64748b;
    font-weight: 600;
    transition: all .25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

    .filter-btn i {
        font-size: 18px;
    }

    .filter-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,.08);
    }

    .filter-btn.active {
        background: linear-gradient(135deg,#2563eb,#3b82f6);
        color: #fff;
        border-color: transparent;
        box-shadow: 0 10px 25px rgba(37,99,235,.25);
    }

        .filter-btn.active i {
            color: #fff;
        }

@media (max-width:768px) {

    .regulasi-tabs {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 100%;
        max-width: 300px;
    }
}


#search,
#tahun {
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding: 10px 14px;
    font-size: 14px;
    transition: 0.2s;
}

    #search:focus,
    #tahun:focus {
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
    }


#list-regulasi .card {
    border: none !important;
    border-radius: 18px !important;
    padding: 18px 20px !important;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.25s ease;
}

    #list-regulasi .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    }


.file-icon {
    background: #e8f0ff;
    padding: 10px;
    border-radius: 12px;
}

#list-regulasi h6 {
    font-weight: 600;
    font-size: 15px;
}

#list-regulasi small {
    font-size: 13px;
    color: #6b7280;
}

#list-regulasi .btn-light {
    border-radius: 20px;
    background: #f3f4f6;
    border: none;
    font-size: 13px;
    padding: 6px 14px;
    transition: 0.2s;
}

    #list-regulasi .btn-light:hover {
        background: #e5e7eb;
    }

#list-regulasi .btn-primary {
    border-radius: 20px;
    font-size: 13px;
    padding: 6px 16px;
    border: none;
    background: #3b82f6;
    color: #fff;
    /*    background: linear-gradient(135deg, #3b82f6, #2563eb);*/
    /*    box-shadow: 0 6px 16px rgba(59,130,246,0.25);*/
}

    #list-regulasi .btn-primary:hover {
        opacity: 0.9;
    }

.lampiran-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-radius: 12px;
    background: #f8fafc;
    margin-bottom: 10px;
}

    .lampiran-item span {
        font-size: 14px;
        font-weight: 500;
    }

    .lampiran-item i {
        margin-right: 8px;
    }

.btn-lampiran {
    display: flex;
    align-items: center;
    gap: 6px;
}

    .btn-lampiran i {
        transition: transform .25s ease;
    }

    .btn-lampiran:not(.collapsed) i {
        transform: rotate(180deg);
    }

.regulasi-toggle {
    cursor: pointer;
}

    .regulasi-toggle:hover h6 {
        color: #2563eb;
    }

    .regulasi-toggle:hover .file-icon {
        transform: scale(1.05);
    }

.file-icon {
    transition: all .2s ease;
}

@media (max-width: 768px) {
    #list-regulasi .card {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px;
    }

        #list-regulasi .card > div:last-child {
            width: 100%;
            display: flex;
            gap: 10px;
        }
}
