/* ===== Filters bar ===== */
.filter-bar {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    padding: 20px 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    background-color: white;
    border-radius: 20px;
}

.filter-search {
    flex: 2;
    position: relative;
    min-width: 250px;
}
.filter-search svg {
    position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
}
.filter-search input {
    padding-left: 44px;
    border-radius: 30px;
    margin-bottom: 0;
}

.filter-dropdown { flex: 1; min-width: 150px; }
.filter-dropdown label { font-size: 12px; color: var(--text-secondary); margin-bottom: 6px; display: block;}

.select-wrapper { position: relative; }
.select-wrapper::after {
    content: '';
    position: absolute;
    right: 16px; top: 50%; transform: translateY(-50%);
    width: 10px; height: 6px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23BE5985' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: cover;
    pointer-events: none;
}
.filter-dropdown select {
    appearance: none;
    border-radius: 30px;
    padding-right: 40px;
    font-size: 14px;
    border-color: var(--border-soft);
    color: var(--text-main);
    margin-bottom: 0;
}

.reset-filter-btn { border-radius: 30px; height: 50px; padding: 0 24px;}

/* ===== Table ===== */
.mini-dashboard { margin-bottom: 32px; }

.table-container {
    overflow-x: auto;
    border-radius: 20px;
    background-color: white;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
}

.data-table th {
    background-color: var(--bg-soft);
    color: var(--pink-dark);
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-soft);
}

.data-table td {
    padding: 20px 24px;
    vertical-align: middle;
    border-bottom: 1px solid #F8F9FA;
    font-size: 14px;
}

.data-table tbody tr:hover { background-color: #FAFAFC; }
.data-table tbody tr:last-child td { border-bottom: none; }

.td-id { color: var(--text-secondary); font-weight: 500; font-size: 13px;}

.td-judul-lokasi { display: flex; align-items: center; gap: 16px; }
.table-img { width: 80px; height: 50px; border-radius: 8px; object-fit: cover; background-color: var(--bg-main); }
.judul-text { font-weight: 600; color: var(--text-main); margin-bottom: 4px;}
.lokasi-text { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-secondary); }
.lokasi-text svg { width: 12px; height: 12px; }

.td-kategori { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--text-main);}
.kategori-icon {
    width: 32px; height: 32px; border-radius: 50%;
    background-color: var(--bg-main); color: var(--pink-dark);
    display: flex; align-items: center; justify-content: center;
}
.kategori-icon svg { width: 16px; height: 16px; }

.td-tanggal { display: flex; flex-direction: column; }
.td-tanggal span:last-child { font-size: 12px; color: var(--text-secondary); }

.table-actions { display: flex; gap: 8px; }
.btn-action {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 500;
    cursor: pointer; background: white; transition: all 0.2s;
}
.btn-edit { border: 1px solid var(--border-soft); color: var(--pink-dark); }
.btn-edit:hover { border-color: var(--pink-main); background: var(--bg-main); }
.btn-detail { border: 1px solid var(--border-soft); color: var(--text-secondary); }
.btn-detail:hover { border-color: var(--text-main); color: var(--text-main); }
.btn-delete { border: none; color: var(--color-red); background: none; padding: 6px; }
.btn-delete:hover { background: var(--bg-red); border-radius: 50%; }

.table-pagination {
    padding: 16px 24px;
    border-top: 1px solid var(--border-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-secondary);
}
