/* ============================================================
   Desa Bungur — Shared Theme (Redesain 2026)
   Font: Plus Jakarta Sans | Design: Premium Modern Village
   Plain CSS — dipakai bareng Bootstrap 5 + Font Awesome.
   ============================================================ */

/* ---- Google Font ---- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ---- Animations ---- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatY {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
    /* Warna utama */
    --hijau-tua:  #1b4332;
    --hijau-mid:  #2d6a4f;
    --hijau-muda: #52b788;
    --emas:       #c9991f;
    --emas-muda:  #e9c46a;
    --putih:      #f5f4f0;
    --abu:        #6b7a72;
    --gelap:      #111816;
    --gelap-alt:  #081b0f;

    /* Shadows */
    --shadow-soft:    0 4px 24px rgba(0,0,0,.08);
    --shadow-soft-sm: 0 2px 12px rgba(0,0,0,.06);
    --shadow-card:    0 2px 16px rgba(0,0,0,.06);

    /* Border radius */
    --radius-xl: 24px;
    --radius-lg: 20px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --radius-xs: 8px;
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
    background: var(--putih);
    color: var(--gelap);
}

a, a:hover { text-decoration: none; color: inherit; }
input, textarea, select, button { font-family: inherit; }

/* ============================================================
   KOMPONEN BERSAMA
   ============================================================ */

/* Cards */
.card-soft {
    background: #fff;
    border: 1px solid rgba(0,0,0,.05);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}
.card-soft-sm {
    background: #fff;
    border: 1px solid rgba(0,0,0,.05);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft-sm);
}

/* Buttons */
.btn-brand {
    background: var(--hijau-tua);
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 14px;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .2s;
    cursor: pointer;
}
.btn-brand:hover {
    background: var(--hijau-mid);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(27,67,50,.3);
}

.btn-brand-sm {
    background: var(--hijau-tua);
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: 13px;
    padding: 10px 20px;
    border-radius: var(--radius-xs);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all .2s;
    cursor: pointer;
}
.btn-brand-sm:hover { background: var(--hijau-mid); color: #fff; }

.btn-brand-outline {
    background: transparent;
    color: var(--hijau-mid);
    border: 2px solid var(--hijau-mid);
    font-weight: 700;
    font-size: 14px;
    padding: 11px 26px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .2s;
    cursor: pointer;
}
.btn-brand-outline:hover { background: var(--hijau-mid); color: #fff; }

.btn-gold {
    background: var(--emas);
    color: #0d2818;
    border: none;
    font-weight: 700;
    font-size: 14px;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .2s;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(201,153,31,.32);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(201,153,31,.45);
    color: #0d2818;
}

/* Badges */
.badge-soft {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.badge-soft-success { background: #d8f3dc; color: #1b4332; }
.badge-soft-warning  { background: rgba(201,153,31,.12); color: var(--emas); }
.badge-soft-info     { background: rgba(37,99,235,.08); color: #2563eb; }
.badge-soft-danger   { background: #fee2e2; color: #dc2626; }
.badge-soft-muted    { background: #f5f5f5; color: #9aab9f; }

/* Icon boxes */
.icon-box {
    width: 52px; height: 52px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0;
}
.icon-box-sm {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; flex-shrink: 0;
}
.icon-box-green  { background: rgba(27,67,50,.08); color: var(--hijau-mid); }
.icon-box-blue   { background: rgba(37,99,235,.08); color: #2563eb; }
.icon-box-orange { background: #fff3e0; color: #e65100; }
.icon-box-pink   { background: #fce4ec; color: #c62828; }
.icon-box-gold   { background: rgba(201,153,31,.12); color: var(--emas); }
.icon-box-purple { background: #f3e5f5; color: #6a1b9a; }

/* Empty state */
.empty-state {
    text-align: center;
    color: var(--abu);
    padding: 64px 16px;
    font-size: 14px;
}
.empty-state i {
    font-size: 2.5rem; color: #d8f3dc;
    display: block; margin-bottom: 14px;
}
.empty-state a { color: var(--hijau-mid); font-weight: 600; }

/* Hover lift */
.hover-lift { transition: transform .25s, box-shadow .25s; }
.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,.1);
}

/* ============================================================
   FRONTEND — NAVBAR
   ============================================================ */

.navbar-utama {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--hijau-tua);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: background .4s;
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding: 0;
}
.navbar-utama.scrolled {
    background: rgba(8,27,15,.96);
}
.navbar-utama .container {
    height: 66px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.navbar-brand-wrap {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    margin-right: 12px;
    flex-shrink: 0;
}
.brand-logo {
    width: 40px; height: 40px;
    background: var(--emas);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 13px;
    color: #0d2818;
    box-shadow: 0 4px 12px rgba(201,153,31,.35);
    flex-shrink: 0;
}
.brand-name {
    font-weight: 700; font-size: 14.5px;
    color: #fff; line-height: 1.2;
}
.brand-sub {
    font-size: 10.5px;
    color: rgba(255,255,255,.42);
    margin-top: 1px;
}

/* Nav links */
.navbar-utama .nav-link {
    color: rgba(255,255,255,.76) !important;
    font-size: 13px;
    font-weight: 500;
    padding: 7px 12px !important;
    border-radius: var(--radius-xs);
    transition: all .2s;
    white-space: nowrap;
}
.navbar-utama .nav-link:hover {
    color: rgba(255,255,255,1) !important;
    background: rgba(255,255,255,.09);
}
.navbar-utama .nav-link.active {
    color: var(--emas-muda) !important;
    background: rgba(201,153,31,.15);
}

/* Dropdown */
.navbar-utama .dropdown-menu {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: 0 16px 48px rgba(0,0,0,.18);
    border: 1px solid rgba(0,0,0,.06);
    padding: 8px;
    min-width: 200px;
    margin-top: 8px;
}
.navbar-utama .dropdown-item {
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--gelap);
    padding: 11px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background .15s;
}
.navbar-utama .dropdown-item:hover {
    background: var(--putih);
    color: var(--gelap);
}
.navbar-utama .dropdown-item i {
    color: var(--hijau-mid);
    width: 16px;
    text-align: center;
}

/* Mobile toggler */
.navbar-toggler {
    border-color: rgba(255,255,255,.3);
    padding: 6px 10px;
}
.navbar-toggler-icon { filter: invert(1); }

/* Content offset for fixed navbar */
.navbar-offset {
    padding-top: 66px;
    min-height: 100vh;
}

/* ============================================================
   FRONTEND — SECTION HELPERS
   ============================================================ */

.section-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--emas);
    margin-bottom: 8px;
}
.section-title {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--gelap);
    line-height: 1.2;
}
.section-title span { color: var(--hijau-mid); }
.divider-emas {
    width: 44px; height: 3px;
    background: var(--emas);
    border-radius: 2px;
    margin: 14px 0 24px;
}

/* Page header — dark green */
.page-header {
    background: var(--hijau-tua);
    padding: 52px 0 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    right: 0; top: 0;
    width: 40%; height: 100%;
    background: rgba(255,255,255,.02);
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.page-header h1 {
    font-weight: 800;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    position: relative;
}
.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    position: relative;
}
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    color: rgba(255,255,255,.52);
    font-size: 13.5px;
    text-decoration: none;
    transition: color .15s;
}
.page-header .breadcrumb-item a:hover { color: rgba(255,255,255,.84); }
.page-header .breadcrumb-item.active { color: var(--emas-muda); font-weight: 600; }
.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,.28);
}

@media (max-width: 576px) {
    .page-header { padding: 40px 0 28px; }
    .page-header h1 { font-size: 1.4rem; }
}

/* ============================================================
   FRONTEND — CARDS & COMPONENTS
   ============================================================ */

/* Potensi / Berita card */
.card-item {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0,0,0,.05);
    transition: all .3s;
    height: 100%;
}
.card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,.1);
}
.card-item .card-thumb {
    height: 180px;
    background: #1b4332;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.card-item .card-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.card-item .card-body-inner {
    padding: 22px 24px;
}

/* Perangkat card */
.perangkat-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0,0,0,.05);
    text-align: center;
    transition: all .3s;
}
.perangkat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,0,0,.1);
}
.perangkat-card .card-photo {
    aspect-ratio: 3 / 4;
    background: var(--hijau-tua);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.perangkat-card .card-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
}
.perangkat-card .card-info {
    padding: 20px 24px;
}
.perangkat-card .card-info h5 {
    font-size: 17px;
    font-weight: 800;
    color: var(--gelap);
    margin-bottom: 6px;
}
.perangkat-card .card-info span {
    font-size: 13.5px;
    color: var(--hijau-mid);
    font-weight: 600;
}

/* Download card */
.download-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0,0,0,.05);
    transition: all .3s;
    cursor: pointer;
}
.download-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0,0,0,.1);
}

/* Galeri foto */
.foto-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    position: relative;
    background: var(--hijau-tua);
    transition: all .3s;
}
.foto-item:hover {
    transform: scale(.97);
    opacity: .88;
}
.foto-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.foto-item .overlay {
    position: absolute; inset: 0;
    background: rgba(26,67,49,0);
    display: flex;
    align-items: center; justify-content: center;
    transition: background .2s;
}
.foto-item:hover .overlay { background: rgba(26,67,49,.4); }
.foto-item .overlay i {
    color: #fff; font-size: 2rem;
    opacity: 0; transition: opacity .2s;
}
.foto-item:hover .overlay i { opacity: 1; }
.foto-caption {
    font-size: 12.5px;
    color: var(--abu);
    margin-top: 6px;
    text-align: center;
}

/* Form inputs redesign */
.form-control-new {
    width: 100%;
    border: 1.5px solid #e8e6e0;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 14px;
    color: #374840;
    background: #faf9f7;
    transition: border .2s, background .2s;
    font-family: inherit;
    outline: none;
}
.form-control-new:focus {
    border-color: var(--hijau-mid);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(45,106,79,.1);
}

/* Agenda card */
.agenda-card {
    background: var(--putih);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    display: flex;
    gap: 16px;
    align-items: center;
    border-left: 4px solid var(--hijau-mid);
    transition: all .2s;
    cursor: pointer;
    margin-bottom: 12px;
}
.agenda-card:hover {
    background: #edf3ef;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.agenda-date {
    background: var(--hijau-tua);
    color: #fff;
    border-radius: 12px;
    padding: 10px 12px;
    text-align: center;
    flex-shrink: 0;
    min-width: 54px;
}
.agenda-date .day {
    font-size: 22px; font-weight: 800; line-height: 1;
}
.agenda-date .month {
    font-size: 10px; font-weight: 700;
    opacity: .65; text-transform: uppercase;
    margin-top: 2px;
}

/* Stat cards */
.stat-card-new {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0,0,0,.05);
    text-align: center;
}
.stat-card-new .stat-icon {
    margin: 0 auto 12px;
    display: block;
}
.stat-card-new .stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-card-new .stat-lbl {
    font-size: 13px;
    color: var(--abu);
    font-weight: 500;
}

/* Chart cards */
.chart-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0,0,0,.05);
    height: 100%;
}
.chart-card h5 {
    font-weight: 800;
    font-size: 17px;
    color: var(--gelap);
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0f0ee;
}
.chart-card h5 i { color: var(--hijau-mid); }

/* Lightbox */
.lightbox-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.92); z-index: 9999;
    align-items: center; justify-content: center;
    flex-direction: column;
}
.lightbox-overlay.active { display: flex; }
.lightbox-img {
    max-width: 90vw; max-height: 80vh;
    border-radius: 12px; object-fit: contain;
}
.lightbox-caption {
    color: #fff; margin-top: 14px;
    font-size: 14px; text-align: center;
}
.lightbox-close {
    position: absolute; top: 20px; right: 28px;
    color: #fff; font-size: 28px; cursor: pointer;
    background: none; border: none; line-height: 1;
}
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    color: #fff; font-size: 24px; cursor: pointer;
    background: rgba(255,255,255,.1); border: none;
    padding: 10px 16px; border-radius: 10px; transition: background .2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,.25); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* Album filter buttons */
.btn-filter {
    border: none;
    padding: 7px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    background: #f0f0f0;
    color: #555;
}
.btn-filter.active,
.btn-filter:hover {
    background: var(--hijau-tua);
    color: #fff;
}

/* ============================================================
   FRONTEND — FOOTER
   ============================================================ */

footer {
    background: var(--gelap-alt);
    padding: 56px 0 0;
}
.footer-brand-logo {
    width: 38px; height: 38px;
    background: var(--emas);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 13px;
    color: #0d2818;
    flex-shrink: 0;
}
.footer-brand-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}
.footer-desc {
    font-size: 13.5px;
    color: rgba(255,255,255,.42);
    line-height: 1.7;
    max-width: 240px;
}
.footer-heading {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,.35);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.footer-link {
    color: rgba(255,255,255,.55);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    font-size: 13.5px;
    transition: color .15s;
}
.footer-link:hover { color: rgba(255,255,255,.88); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12.5px;
    color: rgba(255,255,255,.3);
}
.sosmed a {
    width: 34px; height: 34px;
    background: rgba(255,255,255,.07);
    border-radius: var(--radius-xs);
    display: inline-flex;
    align-items: center; justify-content: center;
    color: rgba(255,255,255,.6);
    margin-left: 6px;
    text-decoration: none;
    transition: all .2s;
}
.sosmed a:hover {
    background: rgba(255,255,255,.14);
    color: #fff;
}

/* ============================================================
   ADMIN — sidebar, topbar, stat-card
   (TIDAK DIUBAH — hanya copy dari versi lama)
   ============================================================ */

body.admin-body { background: #f4f6f9; }

.sidebar {
    width: 240px; min-height: 100vh;
    background: var(--hijau-tua);
    position: fixed; top: 0; left: 0;
    z-index: 1000; transition: transform 0.3s;
    overflow-y: auto;
}
.sidebar-brand {
    padding: 20px 16px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.sidebar-brand .brand-name { color: #fff; font-weight: 700; font-size: 15px; }
.sidebar-brand .brand-sub  { color: var(--emas); font-size: 11px; }
.sidebar .nav-link {
    color: rgba(255,255,255,.7);
    padding: 10px 16px; font-size: 13.5px;
    border-radius: 0; transition: all .2s;
    display: flex; align-items: center; gap: 10px;
    text-decoration: none;
}
.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    color: #fff;
    background: rgba(255,255,255,.1);
    border-left: 3px solid var(--emas);
}
.sidebar .nav-link i { width: 18px; text-align: center; }
.sidebar-section {
    font-size: 10px; font-weight: 700;
    color: rgba(255,255,255,.3);
    letter-spacing: 1.5px; text-transform: uppercase;
    padding: 16px 16px 6px;
}

.topbar {
    margin-left: 240px; background: #fff;
    padding: 12px 24px; border-bottom: 1px solid #e9ecef;
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 99;
    gap: 12px;
}
.topbar .page-title { font-weight: 700; font-size: 16px; color: #2d3748; }
.topbar .user-dropdown { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.topbar .avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--hijau-tua); color: #fff;
    font-weight: 700; font-size: 13px;
    display: flex; align-items: center; justify-content: center;
}
.sidebar-toggle {
    display: none;
    background: none; border: none;
    font-size: 18px; color: #2d3748;
    padding: 4px 8px; cursor: pointer;
}

.main-content { margin-left: 240px; padding: 24px; min-height: calc(100vh - 57px); }

.stat-card {
    border: none; border-radius: var(--radius-md); padding: 20px;
    display: flex; align-items: center; gap: 16px;
    box-shadow: var(--shadow-soft-sm);
    background: #fff;
}
.stat-card .icon {
    width: 52px; height: 52px; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0;
}
.stat-card .num { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.stat-card .lbl { font-size: 12px; color: #6c757d; margin-top: 3px; }

.sidebar-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.4); z-index: 999;
}

@media (max-width: 991.98px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.sidebar-open { transform: translateX(0); }
    .topbar, .main-content { margin-left: 0; }
    .sidebar-toggle { display: inline-flex; align-items: center; }
    .sidebar-overlay.show { display: block; }
}

@media (max-width: 576px) {
    .main-content { padding: 16px; }
    .topbar { padding: 10px 16px; }
}

/* ============================================================
   ADMIN — tabel, aksi, thumbnail
   ============================================================ */

.card-header-admin {
    background: #fff;
    border-bottom: 1px solid #eef0f3;
    padding: 18px 22px;
}
.card-header-admin h6 {
    font-weight: 700; font-size: 14px; color: #2d3748;
    display: flex; align-items: center; gap: 8px; margin: 0;
}
.card-header-admin h6 i { color: var(--hijau-mid); font-size: 13px; }

.card-soft-sm > .card-body { padding: 22px; }
.form-label {
    font-size: 13px; font-weight: 600; color: #495057;
    margin-bottom: 8px;
}

.table-admin {
    width: 100%; margin-bottom: 0;
    font-size: 13.5px;
    border-collapse: separate; border-spacing: 0;
}
.table-admin thead th {
    background: #fafbfc; color: #8a94a6;
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .5px;
    padding: 13px 16px;
    border-bottom: 1px solid #eef0f3;
    white-space: nowrap;
}
.table-admin tbody td {
    padding: 12px 16px;
    vertical-align: middle;
    border-bottom: 1px solid #f2f4f7;
    color: #33404e;
}
.table-admin tbody tr:last-child td { border-bottom: none; }
.table-admin tbody tr:hover { background: #f7faf8; }

.table-actions {
    display: inline-flex; gap: 6px;
    align-items: center; justify-content: center;
}
.btn-icon {
    width: 30px; height: 30px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--radius-xs); border: 1px solid #e5e7eb;
    background: #fff; color: #6c757d; font-size: 12px;
    transition: all .15s; text-decoration: none; cursor: pointer;
}
.btn-icon:hover { background: #f1f3f5; color: #333; }
.btn-icon-danger:hover { background: #fdecea; color: #d33; border-color: #f5c6c4; }

.thumb-sm {
    width: 46px; height: 46px; border-radius: 10px;
    object-fit: cover; flex-shrink: 0; display: block;
}
.thumb-sm-circle { border-radius: 50%; }
.thumb-placeholder {
    width: 46px; height: 46px; border-radius: 10px;
    background: #f0f7f3; color: var(--hijau-mid);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; flex-shrink: 0;
}
.thumb-placeholder-circle { border-radius: 50%; }

.table-empty {
    text-align: center; color: var(--abu);
    padding: 56px 16px; font-size: 13px;
}
.table-empty i { font-size: 2rem; color: #ddd; display: block; margin-bottom: 12px; }
.table-empty a { color: var(--hijau-mid); font-weight: 600; }
