body {
    background: linear-gradient(135deg, #cfe3ff, #e9f3ff);

    background-attachment: fixed;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
}

.dashboard-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    padding: 2rem 1rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.dashboard-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.dashboard-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #f3f3f3;
}

.modern-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.chart-container {
    max-width: 700px;
    margin: 2rem auto;
}

.album-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}
.jml {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

.album-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: 0.3s;
}

.album-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.album-card .card-body {
    padding: 1rem;
}

.album-card h6 {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.album-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}

#mapid {
    height: 400px;
    width: 100%;
}

.row-flex-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 2rem;
}

.chart-box, .map-box {
    flex: 1 1 48%;
    background: #f9f9f9;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#kelurahanWaveChart {
    width: 100%;
    height: 400px;
}

#mapid {
    width: 100%;
    height: 400px;
    border-radius: 10px;
}

/* <!-- ====================== FILTER + SEARCH ======================= -->*/

/* Container utama */
.filter-modern {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: end;
    background: #ffffffaa;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin: 20px auto;
    max-width: 900px;
}

/* Group input */
.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 220px;
}

.filter-group label {
    font-size: 14px;
    margin-bottom: 5px;
    color: #333;
    font-weight: 600;
}

/* Dropdown & Input Style */
.filter-modern select,
.filter-modern input {
    padding: 10px 12px;
    font-size: 15px;
    border: 1px solid #d1d1d1;
    border-radius: 10px;
    background: #f9f9f9;
    transition: 0.25s ease;
}

.filter-modern select:focus,
.filter-modern input:focus {
    border-color: #5a6afe;
    box-shadow: 0 0 6px rgba(90,106,254,0.3);
    background: #fff;
}

/* Tombol */
.btn-modern {
    padding: 12px 25px;
    background: linear-gradient(135deg, #5a6afe, #7b4bff);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.25s ease;
    min-width: 120px;
}

.btn-modern:hover {
    background: linear-gradient(135deg, #4a58e8, #6a3be8);
    transform: translateY(-2px);
}
/* MAIN CONTAINER */
.filter-modern-ultra {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    padding: 25px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    
}

/* LABEL */
.field label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

/* INPUT WRAPPER WITH ICON */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 12px;
    color: #6a6a6a;
    font-size: 15px;
}

/* SELECT & INPUT STYLE */
.filter-modern-ultra select,
.filter-modern-ultra input {
    width: 230px;
    padding: 12px 12px 12px 36px;
    font-size: 15px;
    border-radius: 12px;
    background: #f8f9ff;
    border: 1px solid #d7d7e8;
    transition: 0.3s ease;
}

.filter-modern-ultra select:focus,
.filter-modern-ultra input:focus {
    border-color: #647bff;
    box-shadow: 0 0 8px rgba(80,102,255,0.25);
    background: #fff;
    outline: none;
}

/* BUTTON MODERN */
.btn-ultra {
    padding: 13px 28px;
    border: none;
    background: linear-gradient(135deg, #5568fe, #8f4cff);
    color: white;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: 0 4px 14px rgba(80,102,255,0.3);
}

.btn-ultra:hover {
    background: linear-gradient(135deg, #4e60f0, #823df0);
    transform: translateY(-3px);
}

/* RESPONSIVE */
@media (max-width: 650px) {

    .filter-modern-ultra {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-modern-ultra select,
    .filter-modern-ultra input {
        width: 100%;
    }

    .btn-ultra {
        width: 100%;
    }
}


/*////////*/
/* ===== ANIMASI KARTU GALERI ===== */
.album-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
    cursor: pointer;
    position: relative;
}

/* Animasi ngebounce + glow */
.album-card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 15px 30px rgba(0, 0, 0, .15);
}

/* Animasi gambar ikut halus */
.album-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform .4s ease;
}

.album-card:hover img {
    transform: scale(1.08);
}

/* Body kartu */
.album-card .card-body {
    padding: 12px 15px;
    transition: .2s ease;
}

/* Efek glow border saat hover */
.album-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;

    opacity: 0;
    transition: .4s ease;
    pointer-events: none;
}

.album-card:hover::after {
    opacity: 1;
}

.album-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.album-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
