:root {
    --brand-primary: #1e3c72;
    --brand-secondary: #2a5298;
}

body {
    background-color: #f4f6f9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --sb-navy-1: #061428;
    --sb-navy-2: #0a2c6e;
    --sb-blue-dark: #0F3D91;
    --sb-blue-bright: #1A73E8;
    --sb-text: #eaf2ff;
    --sb-text-muted: #9fc0f2;
    --sb-accent: #BBD4FF;
    --sb-accent-2: #1A73E8;
}

/* =========================================================
   SIDEBAR — Modern Purple-Black Gradient
   ========================================================= */
#sidebar {
    width: 270px;
    height: 100vh;
    background: linear-gradient(160deg, var(--sb-navy-1) 0%, var(--sb-navy-2) 35%, var(--sb-blue-dark) 70%, var(--sb-blue-bright) 100%);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(0,0,0,.35);
    transition: transform .3s ease, width .3s ease;
    border-right: 1px solid rgba(187,212,255,.15);
}

#sidebar.collapsed {
    transform: translateX(-100%);
}

/* Brand header */

#sidebar .sidebar-brand {
    padding: 1.6rem 1rem 1.2rem;
    text-align: center;
    color: var(--sb-text);
    border-bottom: 1px solid rgba(187,212,255,.15);
    flex-shrink: 0;
    overflow: hidden;
}

#sidebar .sidebar-brand .brand-logo {
    display: block;
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
    margin: 0 auto .6rem;
    object-fit: contain;
    
    
}

#sidebar .sidebar-scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 1.5rem;
}
#sidebar .sidebar-scroll::-webkit-scrollbar { width: 6px; }
#sidebar .sidebar-scroll::-webkit-scrollbar-track { background: transparent; }
#sidebar .sidebar-scroll::-webkit-scrollbar-thumb {
    background: rgba(187,212,255,.35);
    border-radius: 10px;
}
#sidebar .sidebar-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(187,212,255,.6);
}
#sidebar .sidebar-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(187,212,255,.4) transparent;
}
/* Nav links */
#sidebar .nav-header {
    color: rgba(234,242,255,.5);
    font-size: .7rem;
    text-transform: uppercase;
    font-weight: 600;
    padding: 1.1rem 1.4rem .3rem;
    letter-spacing: .09em;
}
#sidebar .nav-item { padding: 0 .7rem; margin-bottom: 2px; }

#sidebar .nav-link {
    position: relative;
    color: var(--sb-text-muted);
    padding: .68rem 1rem;
    font-size: .9rem;
    font-weight: 500;
    border-radius: 999px; /* bentuk oval/pill */
    display: flex;
    align-items: center;
    gap: .7rem;
    overflow: hidden;
    isolation: isolate;
    transition: color .25s ease, transform .18s ease;
    z-index: 1;
}
#sidebar .nav-link i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: transform .25s ease;
}

/* Efek oval/pill yang "menyelimuti" saat hover */
#sidebar .nav-link::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(26,115,232,.9), rgba(15,61,145,.85));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .32s cubic-bezier(.4,0,.2,1);
    z-index: -1;
}
#sidebar .nav-link:hover::before,
#sidebar .nav-link:focus::before {
    transform: scaleX(1);
}
#sidebar .nav-link:hover,
#sidebar .nav-link:focus {
    color: #fff;
    transform: translateX(3px);
    text-decoration: none;
}
#sidebar .nav-link:hover i {
    transform: scale(1.1);
}

/* Active state */
#sidebar .nav-link.active {
    color: #fff;
    background: linear-gradient(90deg, var(--sb-blue-bright), var(--sb-blue-dark));
    box-shadow: 0 4px 14px rgba(26,115,232,.5);
}
#sidebar .nav-link.active::before { display: none; }

/* Logout link */
#sidebar .nav-link.link-logout {
    color: #ffb4c6;
}
#sidebar .nav-link.link-logout::before {
    background: linear-gradient(90deg, rgba(220,53,90,.85), rgba(150,20,50,.8));
}
#sidebar .nav-link.link-logout:hover { color: #fff; }

/* Overlay mobile */
#sidebarOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(6,20,40,.6);
    backdrop-filter: blur(1px);
    z-index: 1035;
}
{
#sidebarOverlay.show { display: block; }
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(6,20,40,.6);
    backdrop-filter: blur(1px);
    z-index: 1035;
}
#sidebarOverlay.show { display: block; }


/* Content wrapper */
#content-wrapper {
    margin-left: 270px;
    min-height: 100vh;
    transition: margin-left .3s ease;
}
#content-wrapper.expanded { margin-left: 0; }

@media (min-width: 992px) {
    #sidebar.collapsed ~ #content-wrapper,
    #content-wrapper.expanded { margin-left: 0; }
}

@media (max-width: 991.98px) {
    #sidebar { transform: translateX(-100%); }
    #sidebar.show { transform: translateX(0); }
    #content-wrapper { margin-left: 0 !important; }
}

@media print {
    #sidebar, #sidebarOverlay { display: none !important; }
    #content-wrapper { margin-left: 0 !important; }
}
/* ===== Topbar ===== */
/* ===== Topbar — modern, senada dengan sidebar ===== */
.topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    box-shadow: 0 1px 0 rgba(15,61,145,.08), 0 4px 18px rgba(15,61,145,.06);
    padding: .75rem 1.4rem;
    border-bottom: 1px solid rgba(187,212,255,.4);
}

/* Tombol toggle sidebar */
.btn-toggle-sidebar {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--db-blue-bright, #1A73E8), var(--db-blue-dark, #0F3D91));
    color: #fff;
    font-size: .95rem;
    margin-right: 1rem;
    box-shadow: 0 4px 12px rgba(15,61,145,.28);
    transition: transform .2s ease, box-shadow .2s ease;
}
.btn-toggle-sidebar:hover {
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 6px 16px rgba(15,61,145,.38);
    color: #fff;
}
.btn-toggle-sidebar:active { transform: translateY(0) scale(.97); }

/* Judul halaman */
.topbar-title h5 {
    font-weight: 700;
    color: var(--db-blue-navy, #0a2c6e);
    letter-spacing: -.01em;
}
.topbar-breadcrumb {
    color: #8ba3c9;
    font-size: .76rem;
    letter-spacing: .02em;
}

/* User chip */
.topbar-user {
    display: flex;
    align-items: center;
    gap: .65rem;
    text-decoration: none;
    padding: .35rem .7rem .35rem .35rem;
    border-radius: 999px;
    background: #eef4ff;
    transition: background .2s ease, box-shadow .2s ease;
}
.topbar-user:hover {
    background: #e0ebff;
    box-shadow: 0 4px 12px rgba(15,61,145,.14);
}
.topbar-user::after { display: none; } /* sembunyikan caret bawaan bootstrap */

.topbar-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--db-blue-bright, #1A73E8), var(--db-blue-dark, #0F3D91));
    color: #fff;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(15,61,145,.3);
}

.topbar-user-name {
    font-weight: 600;
    font-size: .86rem;
    line-height: 1.15;
    color: var(--db-blue-navy, #0a2c6e);
}
.topbar-user-role {
    font-size: .74rem;
    color: #8ba3c9;
}
.topbar-caret {
    font-size: .68rem;
    color: #8ba3c9;
    margin-left: .1rem;
    transition: transform .2s ease;
}
.topbar-user.show .topbar-caret,
.topbar-user[aria-expanded="true"] .topbar-caret {
    transform: rotate(180deg);
}

/* Dropdown menu */
.topbar-dropdown {
    border: none;
    border-radius: 12px;
    padding: .5rem;
    margin-top: .5rem !important;
    box-shadow: 0 12px 32px rgba(15,61,145,.18) !important;
}
.topbar-dropdown .dropdown-item {
    border-radius: 8px;
    padding: .55rem .75rem;
    font-size: .88rem;
    transition: background .15s ease;
}
.topbar-dropdown .dropdown-item:hover { background: #eef4ff; }
.topbar-dropdown .dropdown-item.text-danger:hover { background: #fdeeee; }

@media (max-width: 575.98px) {
    .topbar-breadcrumb { display: none; }
}
/* ===== Cards ===== */
.stat-card {
    border: none;
    border-radius: .8rem;
    color: #fff;
    overflow: hidden;
    position: relative;
}
.stat-card i.bg-icon {
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-size: 5rem;
    opacity: .2;
}
.stat-card.bg-c1 { background: linear-gradient(135deg,#1e3c72,#2a5298); }
.stat-card.bg-c2 { background: linear-gradient(135deg,#11998e,#38ef7d); }
.stat-card.bg-c3 { background: linear-gradient(135deg,#f7971e,#ffd200); color:#3a2c00; }
.stat-card.bg-c4 { background: linear-gradient(135deg,#c31432,#240b36); }

.card { border: none; border-radius: .8rem; box-shadow: 0 .1rem .5rem rgba(0,0,0,.06); }
.card-header { background: #fff; border-bottom: 1px solid #eef0f3; font-weight: 600; border-radius: .8rem .8rem 0 0 !important; }

.progress { border-radius: 1rem; height: .9rem; }

.badge-role { font-size: .75rem; }

footer.app-footer {
    padding: 1rem 1.2rem;
    color: #888;
    font-size: .85rem;
}

/* Public page */
.hero-public {
    background: linear-gradient(135deg, rgba(30,60,114,.9), rgba(42,82,152,.85)), url('https://images.unsplash.com/photo-1438032005730-c779502df39b?auto=format&fit=crop&w=1600&q=60');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 5rem 1rem;
}

@media print {
    #sidebar, .topbar, .no-print { display: none !important; }
    #content-wrapper { margin-left: 0 !important; }
}
/* =========================================================
   DASHBOARD — Modern, tema biru (1A73E8 / 0F3D91 / BBD4FF)
   ========================================================= */
:root {
    --db-blue-bright: #1A73E8;
    --db-blue-dark: #0F3D91;
    --db-blue-navy: #0a2c6e;
    --db-blue-light: #BBD4FF;
}

.db-hero {
    background: linear-gradient(135deg, var(--db-blue-navy) 0%, var(--db-blue-dark) 55%, var(--db-blue-bright) 100%);
    border-radius: 16px;
    padding: 1.4rem 1.6rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 24px rgba(15,61,145,.25);
}
.db-hero h4 { font-weight: 700; }
.db-hero-sub { color: var(--db-blue-light); font-size: .88rem; }
.db-wave { display: inline-block; animation: db-wave 1.8s ease-in-out infinite; transform-origin: 70% 70%; }
@keyframes db-wave {
    0%, 60%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
}
.db-hero-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: rgba(187,212,255,.18);
    align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--db-blue-light);
}

/* Stat cards */
.db-stat {
    border-radius: 16px;
    padding: 1.2rem 1.3rem 1.3rem;
    color: #fff;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 6px 18px rgba(15,61,145,.2);
    transition: transform .25s ease, box-shadow .25s ease;
    cursor: default;
    overflow: hidden;
}
.db-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(15,61,145,.32);
}

.db-stat-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: .9rem;
}
.db-stat-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: rgba(187,212,255,.22);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    transition: transform .35s cubic-bezier(.34,1.56,.64,1);
    flex-shrink: 0;
}
.db-stat:hover .db-stat-icon {
    transform: scale(1.18) rotate(-8deg);
    background: rgba(187,212,255,.35);
}

/* Mini animated bar chart */
.db-stat-chart {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 34px;
}
.db-stat-chart span {
    display: block;
    width: 5px;
    height: calc(var(--h, 40%) * 0.34);
    min-height: 4px;
    border-radius: 3px;
    background: rgba(255,255,255,.4);
    transform-origin: bottom;
    transition: height .5s cubic-bezier(.34,1.56,.64,1), background .3s ease;
}
.db-stat-chart span:nth-child(1) { transition-delay: 0s; }
.db-stat-chart span:nth-child(2) { transition-delay: .04s; }
.db-stat-chart span:nth-child(3) { transition-delay: .08s; }
.db-stat-chart span:nth-child(4) { transition-delay: .12s; }
.db-stat-chart span:nth-child(5) { transition-delay: .16s; }
.db-stat-chart span:nth-child(6) { transition-delay: .2s; }
.db-stat:hover .db-stat-chart span {
    height: calc(var(--h, 40%) * 0.6);
    background: var(--db-blue-light);
}

.db-stat-value { font-size: 1.65rem; font-weight: 700; line-height: 1.15; }
.db-stat-value-sm { font-size: 1.15rem; font-weight: 700; }
.db-stat-label { font-size: .82rem; opacity: .85; margin-top: .15rem; }

.db-stat-a { background: linear-gradient(135deg, var(--db-blue-bright), var(--db-blue-dark)); }
.db-stat-b { background: linear-gradient(135deg, var(--db-blue-dark), var(--db-blue-navy)); }
.db-stat-c { background: linear-gradient(135deg, #2f8de0, var(--db-blue-bright)); }
.db-stat-d { background: linear-gradient(135deg, var(--db-blue-dark), var(--db-blue-bright)); }

/* Cards umum dashboard */
.db-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    overflow: hidden;
}
.db-card-header {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: 1rem 1.2rem;
    font-weight: 600;
    font-size: .95rem;
    color: var(--db-blue-navy);
    border-bottom: 1px solid #eaf1fd;
}
.db-card-header i {
    color: var(--db-blue-bright);
    font-size: 1rem;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.db-card:hover .db-card-header i { transform: scale(1.2) rotate(-8deg); }
.db-link-all {
    margin-left: auto;
    font-size: .8rem;
    color: var(--db-blue-bright);
    text-decoration: none;
    font-weight: 500;
    transition: color .2s ease, transform .2s ease;
}
.db-link-all:hover { color: var(--db-blue-navy); transform: translateX(2px); }
.db-card-body { padding: 1rem 1.2rem; }

/* Empty state */
.db-empty { text-align: center; padding: 1.5rem .5rem; color: #90a8cf; }
.db-empty i { font-size: 1.8rem; display: block; margin-bottom: .5rem; opacity: .6; }
.db-empty p { margin: 0; font-size: .88rem; }

/* Agenda items */
.agenda-item { display: flex; gap: .8rem; align-items: flex-start; padding: .65rem 0; border-bottom: 1px solid #eaf1fd; }
.agenda-item:last-child { border-bottom: none; }
.agenda-time {
    background: linear-gradient(135deg, var(--db-blue-bright), var(--db-blue-dark));
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    padding: .3rem .55rem;
    border-radius: 8px;
    flex-shrink: 0;
    min-width: 50px;
    text-align: center;
    transition: transform .25s ease;
}
.agenda-item:hover .agenda-time { transform: scale(1.08); }
.agenda-date-chip {
    background: #e8f0fe;
    color: var(--db-blue-dark);
    font-size: .75rem;
    font-weight: 600;
    padding: .3rem .5rem;
    border-radius: 8px;
    flex-shrink: 0;
    min-width: 54px;
    text-align: center;
    transition: transform .25s ease;
}
.agenda-item:hover .agenda-date-chip { transform: scale(1.08); }
.agenda-title { font-weight: 600; font-size: .9rem; color: var(--db-blue-navy); }
.agenda-meta { font-size: .78rem; color: #7c94b8; margin-top: .1rem; }
.agenda-meta i { font-size: .7rem; }

/* Progres seksi */
.progres-row { margin-bottom: 1rem; }
.progres-row:last-child { margin-bottom: 0; }
.progres-row-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .35rem; }
.progres-seksi { font-weight: 600; font-size: .88rem; color: var(--db-blue-navy); }
.progres-info { font-size: .8rem; color: #7c94b8; }
.progress-modern {
    height: 9px;
    border-radius: 20px;
    background: #e8f0fe;
    overflow: hidden;
}
.progress-modern-bar {
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(90deg, var(--db-blue-bright), var(--db-blue-dark), var(--db-blue-bright));
    background-size: 200% 100%;
    transition: width .6s ease;
}
.progres-row:hover .progress-modern-bar {
    animation: db-shimmer 1.1s linear infinite;
}
@keyframes db-shimmer {
    0% { background-position: 0% 0; }
    100% { background-position: -200% 0; }
}

/* Event terbaru rows */
.event-row {
    display: flex; align-items: center; gap: .8rem;
    padding: .75rem 1.2rem;
    text-decoration: none;
    border-bottom: 1px solid #eaf1fd;
    transition: background .15s ease;
}
.event-row:last-child { border-bottom: none; }
.event-row:hover { background: #f4f9ff; }
.event-row-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: #e8f0fe;
    color: var(--db-blue-bright);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: .9rem;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.event-row:hover .event-row-icon { transform: scale(1.15) rotate(-6deg); }
.event-row-body { flex: 1; min-width: 0; }
.event-row-title {
    font-weight: 600; font-size: .88rem; color: var(--db-blue-navy);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.event-row-date { font-size: .78rem; color: #7c94b8; }

/* Responsif */
@media (max-width: 575.98px) {
    .db-hero { flex-direction: column; align-items: flex-start; gap: .8rem; }
    .db-stat-value { font-size: 1.4rem; }
}
/* =========================================================
   EVENT PAGE — modern, senada tema sidebar (biru)
   ========================================================= */

/* Hero header */
.ev-hero {
    background: linear-gradient(135deg, var(--db-blue-navy) 0%, var(--db-blue-dark) 55%, var(--db-blue-bright) 100%);
    border-radius: 16px;
    padding: 1.4rem 1.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    color: #fff;
    box-shadow: 0 8px 24px rgba(15,61,145,.25);
}
.ev-hero-left { display: flex; align-items: center; gap: 1rem; }
.ev-hero-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: rgba(187,212,255,.18);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem;
    color: var(--db-blue-light);
    flex-shrink: 0;
}
.ev-hero h4 { font-weight: 700; }
.ev-hero-sub { color: var(--db-blue-light); font-size: .85rem; }

.ev-btn-add {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #fff;
    color: var(--db-blue-dark);
    font-weight: 600;
    font-size: .88rem;
    padding: .6rem 1.1rem;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,0,0,.15);
    transition: transform .2s ease, box-shadow .2s ease;
}
.ev-btn-add:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.2);
    color: var(--db-blue-navy);
}

/* Stat strip / filter chips */
.ev-stat-strip {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}
.ev-stat-chip {
    display: flex;
    align-items: baseline;
    gap: .4rem;
    background: #fff;
    border: 1px solid #eaf1fd;
    border-radius: 999px;
    padding: .5rem 1rem;
    cursor: pointer;
    user-select: none;
    transition: all .2s ease;
    box-shadow: 0 2px 6px rgba(15,61,145,.05);
}
.ev-stat-chip:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(15,61,145,.12); }
.ev-stat-num { font-weight: 700; font-size: .95rem; color: var(--db-blue-navy); }
.ev-stat-label { font-size: .78rem; color: #7c94b8; }
.ev-stat-chip.active {
    background: linear-gradient(135deg, var(--db-blue-bright), var(--db-blue-dark));
    border-color: transparent;
}
.ev-stat-chip.active .ev-stat-num,
.ev-stat-chip.active .ev-stat-label { color: #fff; }

/* Card wrapper */
.ev-card-header {
    flex-wrap: wrap;
    gap: .75rem;
}
.ev-search {
    margin-left: auto;
    position: relative;
    width: 100%;
    max-width: 280px;
}
.ev-search i {
    position: absolute;
    left: .8rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9db3d6;
    font-size: .82rem;
}
.ev-search input {
    width: 100%;
    border: 1px solid #e2ebfb;
    background: #f7faff;
    border-radius: 999px;
    padding: .45rem 1rem .45rem 2.1rem;
    font-size: .84rem;
    color: var(--db-blue-navy);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.ev-search input:focus {
    border-color: var(--db-blue-bright);
    box-shadow: 0 0 0 3px rgba(26,115,232,.12);
    background: #fff;
}

/* Table styling */
.ev-table { font-size: .88rem; }
.ev-table thead th {
    background: #f7faff;
    color: #7c94b8;
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 700;
    border-bottom: 1px solid #eaf1fd;
    padding: .85rem 1rem;
}
.ev-table tbody td {
    padding: .9rem 1rem;
    border-bottom: 1px solid #f0f4fb;
    vertical-align: middle;
}
.ev-row {
    opacity: 0;
    transform: translateY(8px);
    animation: ev-fade-in .45s ease forwards;
}
@keyframes ev-fade-in {
    to { opacity: 1; transform: translateY(0); }
}
.ev-table tbody tr:hover { background: #f7faff; }

.ev-name { font-weight: 600; color: var(--db-blue-navy); }
.ev-tema { font-size: .78rem; color: #7c94b8; margin-top: 2px; }
.ev-tema i { font-size: .68rem; margin-right: 3px; }
.ev-date { font-weight: 600; color: var(--db-blue-navy); font-size: .85rem; }
.ev-date-sub { font-size: .76rem; color: #9db3d6; }
.ev-icon-muted { color: #9db3d6; width: 14px; }

.ev-pj { display: flex; align-items: center; gap: .5rem; }
.ev-pj-avatar {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--db-blue-bright), var(--db-blue-dark));
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* Status badge */
.ev-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .74rem;
    font-weight: 600;
    padding: .32rem .7rem;
    border-radius: 999px;
    white-space: nowrap;
}
.ev-badge i { font-size: .68rem; }
.ev-badge-secondary  { background: #eef1f6; color: #64748b; }
.ev-badge-warning    { background: #fff6e0; color: #b7791f; }
.ev-badge-primary    { background: #e8f0fe; color: var(--db-blue-bright); }
.ev-badge-primary i  { animation: ev-pulse 1.4s ease-in-out infinite; }
.ev-badge-success    { background: #e6f9ee; color: #1e9e5f; }
.ev-badge-danger     { background: #fdeeee; color: #d64545; }
@keyframes ev-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}

/* Action buttons */
.ev-actions, .ev-mcard-actions { display: flex; gap: .4rem; justify-content: flex-end; }
.ev-mcard-actions { justify-content: flex-start; margin-top: .7rem; }
.ev-btn-icon {
    width: 32px; height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    text-decoration: none;
    font-size: .8rem;
    transition: transform .2s ease, box-shadow .2s ease;
}
.ev-btn-icon:hover { transform: translateY(-2px); }
.ev-btn-view   { background: #e8f0fe; color: var(--db-blue-bright); }
.ev-btn-view:hover   { background: var(--db-blue-bright); color: #fff; box-shadow: 0 4px 10px rgba(26,115,232,.35); }
.ev-btn-edit   { background: #fff6e0; color: #b7791f; }
.ev-btn-edit:hover   { background: #f7971e; color: #fff; box-shadow: 0 4px 10px rgba(247,151,30,.35); }
.ev-btn-delete { background: #fdeeee; color: #d64545; }
.ev-btn-delete:hover { background: #d64545; color: #fff; box-shadow: 0 4px 10px rgba(214,69,69,.35); }

/* Mobile card list */
.ev-mcard {
    background: #fff;
    border: 1px solid #eaf1fd;
    border-radius: 14px;
    padding: 1rem;
    margin-bottom: .8rem;
    box-shadow: 0 2px 8px rgba(15,61,145,.05);
}
.ev-mcard:last-child { margin-bottom: 0; }
.ev-mcard-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .6rem;
    margin-bottom: .6rem;
}
.ev-mcard-meta {
    font-size: .82rem;
    color: #55668a;
    display: flex;
    flex-direction: column;
    gap: .3rem;
}
/* =========================================================
   EVENT FORM (Tambah/Edit) — senada tema biru
   ========================================================= */
.ev-btn-back {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.15);
    color: #fff;
    font-weight: 600;
    font-size: .85rem;
    padding: .55rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.25);
    transition: background .2s ease, transform .2s ease;
}
.ev-btn-back:hover { background: rgba(255,255,255,.25); color: #fff; transform: translateX(-2px); }

.ev-form-section {
    opacity: 0;
    transform: translateY(12px);
    animation: ev-fade-in .5s ease forwards;
}

.ev-label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--db-blue-navy);
    margin-bottom: .35rem;
    display: inline-block;
}
.ev-req { color: #d64545; }

.ev-input {
    border: 1px solid #e2ebfb;
    border-radius: 10px;
    padding: .58rem .85rem;
    font-size: .88rem;
    background: #f9fbff;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.ev-input:focus {
    border-color: var(--db-blue-bright);
    box-shadow: 0 0 0 3px rgba(26,115,232,.12);
    background: #fff;
}
textarea.ev-input { resize: vertical; }

.ev-input-icon { position: relative; }
.ev-input-icon > i {
    position: absolute;
    left: .85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9db3d6;
    font-size: .82rem;
    pointer-events: none;
}
.ev-input-icon .ev-input { padding-left: 2.3rem; }

/* Upload banner */
.ev-upload {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 2px dashed #cfe0fb;
    border-radius: 14px;
    background: #f7faff;
    min-height: 200px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: border-color .2s ease, background .2s ease;
}
.ev-upload:hover { border-color: var(--db-blue-bright); background: #eef4ff; }
.ev-upload-preview {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
}
.ev-upload-placeholder { text-align: center; color: #8ba3c9; padding: 1.5rem; }
.ev-upload-placeholder i { font-size: 2rem; color: var(--db-blue-bright); margin-bottom: .6rem; display: block; }
.ev-upload-text { font-weight: 600; font-size: .88rem; color: var(--db-blue-navy); }
.ev-upload-hint { font-size: .76rem; color: #9db3d6; margin-top: .2rem; }

.ev-upload-remove {
    width: 100%;
    margin-top: .75rem;
    border: none;
    background: #fdeeee;
    color: #d64545;
    font-size: .82rem;
    font-weight: 600;
    padding: .5rem;
    border-radius: 9px;
    transition: background .2s ease;
}
.ev-upload-remove:hover { background: #d64545; color: #fff; }

/* Submit / cancel buttons */
.ev-btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    background: linear-gradient(135deg, var(--db-blue-bright), var(--db-blue-dark));
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: .92rem;
    padding: .75rem;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(15,61,145,.28);
    transition: transform .2s ease, box-shadow .2s ease;
}
.ev-btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(15,61,145,.36); color:#fff; }
.ev-btn-submit:active { transform: translateY(0); }

.ev-btn-cancel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: #f1f4f9;
    color: #55668a;
    border: none;
    font-weight: 600;
    font-size: .88rem;
    padding: .68rem;
    border-radius: 12px;
    text-decoration: none;
    transition: background .2s ease;
}
.ev-btn-cancel:hover { background: #e4e9f2; color: #34405c; }
/* =========================================================
   EVENT DETAIL — senada tema biru
   ========================================================= */
.ev-back-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--db-blue-dark);
    font-weight: 600;
    font-size: .85rem;
    text-decoration: none;
    transition: transform .2s ease, color .2s ease;
}
.ev-back-link:hover { color: var(--db-blue-bright); transform: translateX(-3px); }

/* Hero banner */
.ev-detail-hero {
    position: relative;
    min-height: 260px;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(15,61,145,.22);
}
.ev-detail-hero-noimg {
    background: linear-gradient(135deg, var(--db-blue-navy) 0%, var(--db-blue-dark) 55%, var(--db-blue-bright) 100%);
}
.ev-detail-hero-overlay {
    position: relative;
    z-index: 1;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.4rem 1.6rem;
    background: linear-gradient(180deg, rgba(6,20,40,.55) 0%, rgba(6,20,40,.15) 35%, rgba(6,20,40,.85) 100%);
}
.ev-detail-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .7rem;
}
.ev-badge-lg { font-size: .8rem; padding: .45rem .9rem; }
.ev-btn-edit-hero {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #fff;
    color: var(--db-blue-dark);
    font-weight: 600;
    font-size: .85rem;
    padding: .5rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,0,0,.2);
    transition: transform .2s ease;
}
.ev-btn-edit-hero:hover { transform: translateY(-2px); color: var(--db-blue-navy); }

.ev-detail-hero-bottom h3 { color: #fff; font-weight: 700; margin-bottom: .3rem; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.ev-detail-hero-tema {
    color: var(--db-blue-light);
    font-size: .9rem;
    font-weight: 500;
}
.ev-detail-hero-tema i { margin-right: .3rem; }

/* Stat card fade-up */
.ev-fade-up {
    opacity: 0;
    transform: translateY(12px);
    animation: ev-fade-in .5s ease forwards;
}
.ev-stat-percent { font-size: .74rem; color: rgba(255,255,255,.85); margin-top: .35rem; }

/* Deskripsi & info grid */
.ev-desc { font-size: .9rem; color: #45557a; line-height: 1.7; }
.ev-hr { border-color: #eaf1fd; margin: 1rem 0; }

.ev-info-item {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
}
.ev-info-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: #e8f0fe;
    color: var(--db-blue-bright);
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem;
    flex-shrink: 0;
}
.ev-info-label { font-size: .74rem; color: #9db3d6; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.ev-info-value { font-size: .88rem; color: var(--db-blue-navy); font-weight: 600; margin-top: 2px; }

/* Aksi bawah */
.ev-detail-actions {
    display: flex;
    gap: .7rem;
    flex-wrap: wrap;
}
.ev-btn-cancel-inline {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #f1f4f9;
    color: #55668a;
    font-weight: 600;
    font-size: .87rem;
    padding: .65rem 1.2rem;
    border-radius: 12px;
    text-decoration: none;
    transition: background .2s ease;
}
.ev-btn-cancel-inline:hover { background: #e4e9f2; color: #34405c; }

.ev-btn-monitoring {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: linear-gradient(135deg, var(--db-blue-bright), var(--db-blue-dark));
    color: #fff;
    font-weight: 700;
    font-size: .87rem;
    padding: .65rem 1.2rem;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(15,61,145,.28);
    transition: transform .2s ease, box-shadow .2s ease;
}
.ev-btn-monitoring:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(15,61,145,.36); color: #fff; }

@media (max-width: 575.98px) {
    .ev-detail-hero-bottom h3 { font-size: 1.25rem; }
    .ev-detail-actions { flex-direction: column; }
    .ev-detail-actions a { width: 100%; justify-content: center; }
}
/* =========================================================
   MONITORING PAGE — senada tema biru
   ========================================================= */

/* Selector event */
.mon-selector-form { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.mon-selector-label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--db-blue-navy);
    display: flex;
    align-items: center;
    gap: .4rem;
    white-space: nowrap;
}
.mon-selector-wrap { position: relative; min-width: 260px; flex: 1; max-width: 420px; }
.mon-selector {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 2.2rem;
    cursor: pointer;
    font-weight: 600;
}
.mon-selector-caret {
    position: absolute;
    right: .9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--db-blue-bright);
    font-size: .78rem;
    pointer-events: none;
}

/* Mini badge di card header */
.mon-mini-badge {
    margin-left: auto;
    background: #e8f0fe;
    color: var(--db-blue-bright);
    font-size: .74rem;
    font-weight: 700;
    padding: .2rem .6rem;
    border-radius: 999px;
}

/* Progres per seksi */
.mon-seksi-card {
    background: #f9fbff;
    border: 1px solid #eaf1fd;
    border-radius: 14px;
    padding: 1rem 1.1rem;
    transition: transform .2s ease, box-shadow .2s ease;
}
.mon-seksi-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(15,61,145,.1); }
.mon-seksi-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .55rem;
    gap: .5rem;
    flex-wrap: wrap;
}
.mon-seksi-name {
    font-weight: 700;
    font-size: .88rem;
    color: var(--db-blue-navy);
    display: flex;
    align-items: center;
    gap: .45rem;
}
.mon-seksi-name i { color: var(--db-blue-bright); font-size: .8rem; }
.mon-seksi-count { font-size: .78rem; color: #7c94b8; font-weight: 600; }
.mon-seksi-percent { font-size: .76rem; color: #7c94b8; margin-top: .4rem; text-align: right; font-weight: 600; }

/* Scroll area konsisten */
.mon-scroll-area { max-height: 420px; overflow-y: auto; }
.mon-scroll-area::-webkit-scrollbar { width: 6px; }
.mon-scroll-area::-webkit-scrollbar-track { background: transparent; }
.mon-scroll-area::-webkit-scrollbar-thumb { background: #d7e4fb; border-radius: 10px; }
.mon-scroll-area::-webkit-scrollbar-thumb:hover { background: #b9d0f7; }

/* Checklist */
.mon-checklist { display: flex; flex-direction: column; gap: .6rem; }
.mon-check-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .75rem .9rem;
    border-radius: 12px;
    background: #f9fbff;
    border: 1px solid #eef3fc;
    transition: background .2s ease, transform .15s ease;
}
.mon-check-item:hover { background: #f1f6ff; transform: translateX(2px); }
.mon-check-icon {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: #eef1f6;
    color: #94a3b8;
    display: flex; align-items: center; justify-content: center;
    font-size: .78rem;
    flex-shrink: 0;
    transition: background .2s ease, color .2s ease;
}
.mon-check-done .mon-check-icon {
    background: linear-gradient(135deg, #38ef7d, #11998e);
    color: #fff;
}
.mon-check-title { font-weight: 600; font-size: .87rem; color: var(--db-blue-navy); }
.mon-check-done .mon-check-title { color: #7c94b8; text-decoration: line-through; text-decoration-color: #c3d3ec; }
.mon-check-meta { display: flex; gap: .9rem; flex-wrap: wrap; font-size: .76rem; color: #9db3d6; margin-top: .2rem; }
.mon-check-meta i { margin-right: .25rem; }

/* Timeline vertikal */
.mon-timeline { position: relative; padding-left: 1.6rem; }
.mon-timeline::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(180deg, var(--db-blue-bright), #d7e4fb);
}
.mon-timeline-item {
    position: relative;
    padding-bottom: 1.3rem;
}
.mon-timeline-item:last-child { padding-bottom: 0; }
.mon-timeline-dot {
    position: absolute;
    left: -1.6rem;
    top: 3px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--db-blue-bright);
    box-shadow: 0 0 0 4px #eef4ff;
    transition: transform .2s ease;
}
.mon-timeline-item:hover .mon-timeline-dot { transform: scale(1.25); }
.mon-timeline-content {
    background: #f9fbff;
    border: 1px solid #eef3fc;
    border-radius: 12px;
    padding: .7rem .9rem;
    transition: background .2s ease, transform .15s ease;
}
.mon-timeline-item:hover .mon-timeline-content { background: #f1f6ff; transform: translateX(3px); }
.mon-timeline-date {
    display: inline-block;
    background: linear-gradient(135deg, var(--db-blue-bright), var(--db-blue-dark));
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: .22rem .6rem;
    border-radius: 999px;
    margin-bottom: .35rem;
}
.mon-timeline-title { font-weight: 600; font-size: .87rem; color: var(--db-blue-navy); }

@media (max-width: 575.98px) {
    .mon-selector-form { flex-direction: column; align-items: flex-start; }
    .mon-selector-wrap { width: 100%; max-width: none; }
}
/* =========================================================
   REPORTS PAGE — senada tema biru
   ========================================================= */

/* Tombol aksi filter */
.rep-action-buttons {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}
.rep-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border: none;
    font-weight: 600;
    font-size: .84rem;
    padding: .58rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
    white-space: nowrap;
}
.rep-btn:hover { transform: translateY(-2px); }
.rep-btn-primary {
    background: linear-gradient(135deg, var(--db-blue-bright), var(--db-blue-dark));
    color: #fff;
    box-shadow: 0 5px 14px rgba(15,61,145,.28);
}
.rep-btn-primary:hover { color: #fff; box-shadow: 0 8px 18px rgba(15,61,145,.36); }
.rep-btn-excel {
    background: #e6f9ee;
    color: #1e9e5f;
}
.rep-btn-excel:hover { background: #1e9e5f; color: #fff; box-shadow: 0 6px 16px rgba(30,158,95,.3); }
.rep-btn-print {
    background: #eef1f6;
    color: #55668a;
}
.rep-btn-print:hover { background: #55668a; color: #fff; box-shadow: 0 6px 16px rgba(85,102,138,.28); }

/* Chip seksi di tabel kegiatan */
.rep-seksi-chip {
    display: inline-block;
    background: #e8f0fe;
    color: var(--db-blue-dark);
    font-size: .76rem;
    font-weight: 600;
    padding: .25rem .6rem;
    border-radius: 999px;
}

/* Progress cell di tabel */
.rep-progress-cell { display: flex; align-items: center; gap: .6rem; }
.rep-progress-cell .progress-modern { flex: 1; }
.rep-progress-num { font-size: .78rem; font-weight: 700; color: var(--db-blue-navy); min-width: 32px; text-align: right; }

/* Jumlah donasi & total row */
.rep-donasi-jumlah { font-weight: 700; color: #1e9e5f; }
.rep-total-row th {
    background: #f7faff;
    color: var(--db-blue-navy);
    font-size: .9rem;
    padding: .9rem 1rem;
    border-top: 2px solid #e8f0fe;
}
/* Catatan kecil di bawah upload box (edit mode) */
.ev-upload-note {
    font-size: .74rem;
    color: #9db3d6;
    margin-top: .5rem;
    text-align: center;
}
.ev-upload-note i { margin-right: .3rem; }
/* =========================================================
   TOAST NOTIFICATION — mengambang, senada tema biru
   ========================================================= */
.toast-container-custom {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: .7rem;
    max-width: 380px;
    width: calc(100% - 40px);
}

.toast-notif {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    background: #fff;
    border-radius: 12px;
    padding: .9rem 1rem;
    box-shadow: 0 10px 30px rgba(15,61,145,.18);
    border-left: 4px solid var(--db-blue-bright, #1A73E8);
    opacity: 0;
    transform: translateX(40px);
    transition: opacity .35s ease, transform .35s ease;
}
.toast-notif-show {
    opacity: 1;
    transform: translateX(0);
}

.toast-notif-icon {
    width: 34px; height: 34px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .95rem;
    flex-shrink: 0;
    color: #fff;
}
.toast-notif-body {
    flex: 1;
    font-size: .87rem;
    color: #2c3e5c;
    line-height: 1.45;
    padding-top: .15rem;
}
.toast-notif-close {
    background: none;
    border: none;
    color: #b0bfd6;
    font-size: .8rem;
    padding: .2rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: color .2s ease;
}
.toast-notif-close:hover { color: #55668a; }

/* Varian warna per tipe */
.toast-notif-success { border-left-color: #1e9e5f; }
.toast-notif-success .toast-notif-icon { background: linear-gradient(135deg,#38ef7d,#11998e); }

.toast-notif-danger { border-left-color: #d64545; }
.toast-notif-danger .toast-notif-icon { background: linear-gradient(135deg,#e0546a,#c31432); }

.toast-notif-warning { border-left-color: #b7791f; }
.toast-notif-warning .toast-notif-icon { background: linear-gradient(135deg,#f7971e,#ffd200); color:#5a3d00; }

.toast-notif-info { border-left-color: var(--db-blue-bright, #1A73E8); }
.toast-notif-info .toast-notif-icon { background: linear-gradient(135deg, var(--db-blue-bright,#1A73E8), var(--db-blue-dark,#0F3D91)); }

@media (max-width: 575.98px) {
    .toast-container-custom {
        top: 12px;
        right: 12px;
        left: 12px;
        max-width: none;
        width: auto;
    }
}
/* Waktu di tabel jadwal */
.sch-time {
    font-size: .84rem;
    color: var(--db-blue-navy);
    font-weight: 600;
    white-space: nowrap;
}
/* =========================================================
   TASKS PAGE — senada tema biru
   ========================================================= */

/* Chip info seksi milik user (koordinator/anggota) */
.tsk-seksi-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: #e8f0fe;
    color: var(--db-blue-dark);
    font-size: .8rem;
    font-weight: 600;
    padding: .4rem .8rem;
    border-radius: 999px;
    margin-left: .5rem;
}

/* Varian warna chip filter tambahan (dipakai di stat strip tasks) */
.ev-stat-chip.ev-stat-secondary.active,
.ev-stat-chip.ev-stat-primary.active,
.ev-stat-chip.ev-stat-success.active,
.ev-stat-chip.ev-stat-danger.active {
    color: #fff;
}
.ev-stat-secondary .ev-stat-num { color: #64748b; }
.ev-stat-primary .ev-stat-num   { color: var(--db-blue-bright); }
.ev-stat-success .ev-stat-num   { color: #1e9e5f; }
.ev-stat-danger .ev-stat-num    { color: #d64545; }
/* =========================================================
   TASK FORM (Tambah/Edit) — pilihan prioritas visual
   ========================================================= */
.tsk-priority-options {
    display: flex;
    flex-direction: column;
    gap: .7rem;
}
.tsk-priority-option {
    display: flex;
    align-items: center;
    gap: .75rem;
    border: 1.5px solid #e2ebfb;
    border-radius: 12px;
    padding: .75rem .9rem;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .15s ease;
    position: relative;
}
.tsk-priority-option:hover { transform: translateY(-2px); background: #f9fbff; }
.tsk-priority-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0; height: 0;
}
.tsk-priority-dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid #cbd5e1;
    transition: all .2s ease;
}
.tsk-priority-text { display: flex; flex-direction: column; line-height: 1.3; }
.tsk-priority-text strong { font-size: .87rem; color: var(--db-blue-navy); }
.tsk-priority-text small { font-size: .74rem; color: #9db3d6; }

.tsk-priority-rendah .tsk-priority-dot { background: #fff; border-color: #94a3b8; }
.tsk-priority-sedang .tsk-priority-dot { background: #fff; border-color: #f7971e; }
.tsk-priority-tinggi .tsk-priority-dot { background: #fff; border-color: #d64545; }

.tsk-priority-option:has(input:checked) {
    border-color: var(--db-blue-bright);
    background: #f1f6ff;
    box-shadow: 0 0 0 3px rgba(26,115,232,.1);
}
.tsk-priority-rendah:has(input:checked) .tsk-priority-dot { background: #94a3b8; border-color: #94a3b8; }
.tsk-priority-sedang:has(input:checked) .tsk-priority-dot { background: #f7971e; border-color: #f7971e; }
.tsk-priority-tinggi:has(input:checked) .tsk-priority-dot { background: #d64545; border-color: #d64545; }
/* =========================================================
   UPDATE PROGRES TUGAS — radial progress
   ========================================================= */
.upr-task-title { font-size: 1.15rem; font-weight: 700; color: var(--db-blue-navy); }
.upr-task-desc { font-size: .88rem; color: #55668a; margin-top: .4rem; line-height: 1.6; }

.upr-bukti-lama {
    margin-top: 1.1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    background: #f7faff;
    border: 1px solid #eaf1fd;
    border-radius: 10px;
    padding: .6rem .9rem;
    font-size: .85rem;
    color: #55668a;
}
.upr-bukti-lama i.fa-paperclip { color: var(--db-blue-bright); }
.upr-bukti-lama a {
    margin-left: auto;
    color: var(--db-blue-bright);
    font-weight: 600;
    text-decoration: none;
}
.upr-bukti-lama a:hover { color: var(--db-blue-dark); text-decoration: underline; }

/* Layout radial + slider */
.upr-progress-layout {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.upr-radial-wrap {
    position: relative;
    width: 140px;
    height: 140px;
    flex-shrink: 0;
}
.upr-radial { width: 140px; height: 140px; transform: rotate(-90deg); }
.upr-radial-track {
    fill: none;
    stroke: #eaf1fd;
    stroke-width: 12;
}
.upr-radial-bar {
    fill: none;
    stroke-width: 12;
    stroke-linecap: round;
    transition: stroke-dashoffset .4s ease, stroke .3s ease;
}
.upr-radial-belum   { stroke: #94a3b8; }
.upr-radial-proses  { stroke: var(--db-blue-bright); }
.upr-radial-selesai { stroke: #1e9e5f; }

.upr-radial-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--db-blue-navy);
}
#uprPercentText { font-size: 2rem; line-height: 1; }
.upr-percent-sign { font-size: 1.1rem; margin-left: 2px; }

.upr-slider-col { flex: 1; min-width: 220px; }
.upr-status-preview { margin-bottom: 1rem; }
.upr-status-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .84rem;
    font-weight: 600;
    padding: .4rem .85rem;
    border-radius: 999px;
}
.upr-status-belum   { background: #eef1f6; color: #64748b; }
.upr-status-proses  { background: #e8f0fe; color: var(--db-blue-bright); }
.upr-status-proses i { animation: ev-pulse 1.2s ease-in-out infinite; }
.upr-status-selesai { background: #e6f9ee; color: #1e9e5f; }

.upr-range {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--db-blue-bright), #eaf1fd);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}
.upr-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--db-blue-bright);
    box-shadow: 0 2px 8px rgba(15,61,145,.35);
    cursor: pointer;
    transition: transform .15s ease;
}
.upr-range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.upr-range::-moz-range-thumb {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--db-blue-bright);
    box-shadow: 0 2px 8px rgba(15,61,145,.35);
    cursor: pointer;
}
.upr-range-marks {
    display: flex;
    justify-content: space-between;
    font-size: .72rem;
    color: #9db3d6;
    margin-top: .4rem;
}

/* Upload bukti */
.upr-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 2px dashed #cfe0fb;
    border-radius: 14px;
    background: #f7faff;
    padding: 1.8rem 1rem;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}
.upr-upload:hover { border-color: var(--db-blue-bright); background: #eef4ff; }
.upr-upload i { font-size: 1.8rem; color: var(--db-blue-bright); margin-bottom: .5rem; }

@media (max-width: 575.98px) {
    .upr-progress-layout { flex-direction: column; }
}
/* =========================================================
   UPDATE PROGRES TUGAS — radial progress
   ========================================================= */
.upr-task-title { font-size: 1.15rem; font-weight: 700; color: var(--db-blue-navy); }
.upr-task-desc { font-size: .88rem; color: #55668a; margin-top: .4rem; line-height: 1.6; }

.upr-bukti-lama {
    margin-top: 1.1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    background: #f7faff;
    border: 1px solid #eaf1fd;
    border-radius: 10px;
    padding: .6rem .9rem;
    font-size: .85rem;
    color: #55668a;
}
.upr-bukti-lama i.fa-paperclip { color: var(--db-blue-bright); }
.upr-bukti-lama a {
    margin-left: auto;
    color: var(--db-blue-bright);
    font-weight: 600;
    text-decoration: none;
}
.upr-bukti-lama a:hover { color: var(--db-blue-dark); text-decoration: underline; }

/* Layout radial + slider */
.upr-progress-layout {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.upr-radial-wrap {
    position: relative;
    width: 140px;
    height: 140px;
    flex-shrink: 0;
}
.upr-radial { width: 140px; height: 140px; transform: rotate(-90deg); }
.upr-radial-track {
    fill: none;
    stroke: #eaf1fd;
    stroke-width: 12;
}
.upr-radial-bar {
    fill: none;
    stroke-width: 12;
    stroke-linecap: round;
    transition: stroke-dashoffset .4s ease, stroke .3s ease;
}
.upr-radial-belum   { stroke: #94a3b8; }
.upr-radial-proses  { stroke: var(--db-blue-bright); }
.upr-radial-selesai { stroke: #1e9e5f; }

.upr-radial-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--db-blue-navy);
}
#uprPercentText { font-size: 2rem; line-height: 1; }
.upr-percent-sign { font-size: 1.1rem; margin-left: 2px; }

.upr-slider-col { flex: 1; min-width: 220px; }
.upr-status-preview { margin-bottom: 1rem; }
.upr-status-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .84rem;
    font-weight: 600;
    padding: .4rem .85rem;
    border-radius: 999px;
}
.upr-status-belum   { background: #eef1f6; color: #64748b; }
.upr-status-proses  { background: #e8f0fe; color: var(--db-blue-bright); }
.upr-status-proses i { animation: ev-pulse 1.2s ease-in-out infinite; }
.upr-status-selesai { background: #e6f9ee; color: #1e9e5f; }

.upr-range {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--db-blue-bright), #eaf1fd);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}
.upr-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--db-blue-bright);
    box-shadow: 0 2px 8px rgba(15,61,145,.35);
    cursor: pointer;
    transition: transform .15s ease;
}
.upr-range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.upr-range::-moz-range-thumb {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--db-blue-bright);
    box-shadow: 0 2px 8px rgba(15,61,145,.35);
    cursor: pointer;
}
.upr-range-marks {
    display: flex;
    justify-content: space-between;
    font-size: .72rem;
    color: #9db3d6;
    margin-top: .4rem;
}

/* Upload bukti */
.upr-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 2px dashed #cfe0fb;
    border-radius: 14px;
    background: #f7faff;
    padding: 1.8rem 1rem;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}
.upr-upload:hover { border-color: var(--db-blue-bright); background: #eef4ff; }
.upr-upload i { font-size: 1.8rem; color: var(--db-blue-bright); margin-bottom: .5rem; }

@media (max-width: 575.98px) {
    .upr-progress-layout { flex-direction: column; }
}
/* Indikator visual untuk input readonly (misal: field Seksi untuk koordinator) */
.ev-input[readonly] {
    background: #f1f4f9;
    color: #7c94b8;
    cursor: not-allowed;
}
.ev-input[readonly]:focus {
    box-shadow: none;
    border-color: #e2ebfb;
}
/* =========================================================
   DOCUMENTS PAGE — icon judul dokumen
   ========================================================= */
.doc-title {
    display: flex;
    align-items: center;
    gap: .65rem;
}
.doc-title-icon {
    width: 34px; height: 34px;
    border-radius: 9px;
    background: #e8f0fe;
    color: var(--db-blue-bright);
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
}
/* =========================================================
   REPOSITORY PAGE — grid kartu dokumen
   ========================================================= */
.repo-filter-active {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
    background: #f0f6ff;
    border: 1px solid #d9e8ff;
    border-radius: 10px;
    padding: .6rem .9rem;
    font-size: .82rem;
    color: #45557a;
}
.repo-filter-active i { color: var(--db-blue-bright); }
.repo-filter-active a {
    margin-left: auto;
    color: var(--db-blue-bright);
    font-weight: 600;
    text-decoration: none;
}
.repo-filter-active a:hover { text-decoration: underline; }

.repo-card {
    background: #fff;
    border: 1px solid #eaf1fd;
    border-radius: 16px;
    padding: 1.2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.repo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(15,61,145,.14);
    border-color: #d9e8ff;
}
.repo-card-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #e8f0fe, #d9e8ff);
    color: var(--db-blue-bright);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: .9rem;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.repo-card:hover .repo-card-icon { transform: scale(1.1) rotate(-4deg); }

.repo-card-title {
    font-weight: 700;
    font-size: .92rem;
    color: var(--db-blue-navy);
    margin-bottom: .5rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
}
.repo-card-meta {
    font-size: .78rem;
    color: #7c94b8;
    margin: 0 0 .25rem;
}
.repo-card-meta i { width: 14px; margin-right: 2px; }

.repo-card-download {
    margin-top: auto;
    padding-top: .9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border-top: 1px dashed #eaf1fd;
    color: var(--db-blue-bright);
    font-weight: 600;
    font-size: .84rem;
    text-decoration: none;
    transition: color .2s ease, gap .2s ease;
}
.repo-card-download:hover {
    color: var(--db-blue-dark);
    gap: .7rem;
}
/* =========================================================
   MODAL KONFIRMASI HAPUS — modern, menggantikan confirm() browser
   ========================================================= */
.confirm-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6,20,40,.55);
    backdrop-filter: blur(2px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}
.confirm-modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.confirm-modal {
    background: #fff;
    border-radius: 18px;
    padding: 2rem 1.8rem 1.6rem;
    width: 100%;
    max-width: 380px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(15,61,145,.25);
    transform: scale(.85) translateY(10px);
    opacity: 0;
    transition: transform .25s cubic-bezier(.34,1.56,.64,1), opacity .2s ease;
}
.confirm-modal-overlay.show .confirm-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.confirm-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    animation: confirm-icon-pop .4s cubic-bezier(.34,1.56,.64,1) .1s both;
}
@keyframes confirm-icon-pop {
    0% { transform: scale(0) rotate(-15deg); }
    100% { transform: scale(1) rotate(0); }
}

.confirm-modal-title {
    font-weight: 700;
    color: var(--db-blue-navy, #0a2c6e);
    margin-bottom: .5rem;
}
.confirm-modal-text {
    color: #64748b;
    font-size: .92rem;
    margin-bottom: 1.6rem;
    line-height: 1.5;
}

.confirm-modal-actions {
    display: flex;
    gap: .7rem;
}
.btn-confirm-cancel,
.btn-confirm-ok {
    flex: 1;
    border: none;
    border-radius: 10px;
    padding: .65rem 1rem;
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-confirm-cancel {
    background: #f1f5f9;
    color: #475569;
}
.btn-confirm-cancel:hover {
    background: #e2e8f0;
}
.btn-confirm-ok {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: #fff;
    box-shadow: 0 4px 14px rgba(220,38,38,.3);
}
.btn-confirm-ok:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(220,38,38,.4);
}
.btn-confirm-ok:active,
.btn-confirm-cancel:active {
    transform: scale(.97);
}
/* =========================================================
   VERIFIKASI DOKUMEN
   ========================================================= */
.ver-pending-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.18);
    color: #fff;
    border: 1px solid rgba(255,255,255,.3);
    font-size: .84rem;
    font-weight: 600;
    padding: .55rem 1rem;
    border-radius: 999px;
}
.ver-pending-badge i { animation: ev-pulse 1.3s ease-in-out infinite; }

.ev-hero-sub-inline {
    margin-left: auto;
    font-size: .76rem;
    color: #9db3d6;
    font-weight: 500;
}

/* List card dokumen pending */
.ver-pending-list { display: flex; flex-direction: column; gap: 1rem; }

.ver-pending-card {
    border: 1px solid #eaf1fd;
    border-radius: 14px;
    padding: 1.1rem 1.2rem;
    background: #fbfdff;
    transition: box-shadow .2s ease, border-color .2s ease;
}
.ver-pending-card:hover {
    box-shadow: 0 8px 22px rgba(15,61,145,.09);
    border-color: #d9e8ff;
}

.ver-pending-top {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}
.ver-pending-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e8f0fe, #d9e8ff);
    color: var(--db-blue-bright);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.ver-pending-info { flex: 1; min-width: 0; }
.ver-pending-title-row {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-wrap: wrap;
    margin-bottom: .4rem;
}
.ver-pending-title { font-weight: 700; font-size: .95rem; color: var(--db-blue-navy); margin: 0; }

.ver-pending-meta {
    display: flex;
    gap: 1.1rem;
    flex-wrap: wrap;
    font-size: .78rem;
    color: #7c94b8;
    margin-bottom: .5rem;
}
.ver-pending-meta i { margin-right: .3rem; color: #9db3d6; }

.ver-pending-desc {
    font-size: .85rem;
    color: #45557a;
    background: #fff;
    border: 1px solid #eef3fc;
    border-radius: 8px;
    padding: .6rem .8rem;
    margin-bottom: .6rem;
}

.ver-view-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .84rem;
    font-weight: 600;
    color: var(--db-blue-bright);
    text-decoration: none;
}
.ver-view-link:hover { color: var(--db-blue-dark); text-decoration: underline; }

/* Form aksi */
.ver-pending-form {
    display: flex;
    gap: .7rem;
    flex-wrap: wrap;
    padding-top: .9rem;
    border-top: 1px dashed #e2ebfb;
}
.ver-catatan-input { flex: 1; min-width: 200px; }
.ver-action-buttons { display: flex; gap: .5rem; }

.ver-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: none;
    font-weight: 700;
    font-size: .85rem;
    padding: .58rem 1.1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
    white-space: nowrap;
}
.ver-btn:hover { transform: translateY(-2px); }
.ver-btn-approve {
    background: linear-gradient(135deg, #38ef7d, #11998e);
    color: #fff;
    box-shadow: 0 5px 14px rgba(17,153,142,.3);
}
.ver-btn-approve:hover { box-shadow: 0 8px 18px rgba(17,153,142,.4); }
.ver-btn-reject {
    background: #fdeeee;
    color: #d64545;
}
.ver-btn-reject:hover { background: #d64545; color: #fff; box-shadow: 0 6px 16px rgba(214,69,69,.3); }

.ver-catatan-cell { font-size: .84rem; color: #55668a; max-width: 220px; }

@media (max-width: 767.98px) {
    .ver-pending-top { flex-direction: column; }
    .ver-pending-form { flex-direction: column; }
    .ver-action-buttons { width: 100%; }
    .ver-action-buttons .ver-btn { flex: 1; justify-content: center; }
}
/* =========================================================
   UPLOAD DOKUMEN — kategori chip & dropzone file
   ========================================================= */

/* Grid kategori */
.doc-kategori-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: .7rem;
}
.doc-kategori-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .5rem;
    border: 1.5px solid #e2ebfb;
    border-radius: 12px;
    padding: .9rem .6rem;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .15s ease;
}
.doc-kategori-option:hover { transform: translateY(-2px); background: #f9fbff; }
.doc-kategori-option input { position: absolute; opacity: 0; width: 0; height: 0; }

.doc-kategori-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: #eef1f6;
    color: #7c94b8;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem;
    transition: all .2s ease;
}
.doc-kategori-text { font-size: .78rem; font-weight: 600; color: var(--db-blue-navy); }

.doc-kategori-active {
    border-color: var(--db-blue-bright);
    background: #f1f6ff;
    box-shadow: 0 0 0 3px rgba(26,115,232,.1);
}
.doc-kategori-active .doc-kategori-icon {
    background: linear-gradient(135deg, var(--db-blue-bright), var(--db-blue-dark));
    color: #fff;
}

/* Upload box file dokumen */
.doc-upload-box { min-height: 180px; }
.doc-upload-selected {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.2rem;
}
.doc-upload-file-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #e8f0fe, #d9e8ff);
    color: var(--db-blue-bright);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: .7rem;
}
.doc-upload-file-name {
    font-weight: 600;
    font-size: .85rem;
    color: var(--db-blue-navy);
    word-break: break-word;
    max-width: 100%;
}
.doc-upload-file-size {
    font-size: .76rem;
    color: #9db3d6;
    margin-top: .2rem;
}

.doc-upload-note {
    font-size: .76rem;
    color: #9db3d6;
    text-align: center;
    margin-top: .6rem;
}
.doc-upload-note i { margin-right: .3rem; 
}
/* =========================================================
   GALERI DOKUMENTASI — grid, overlay, lightbox
   ========================================================= */
.gal-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(15,61,145,.08);
    transition: transform .25s ease, box-shadow .25s ease;
}
.gal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(15,61,145,.16);
}

.gal-media-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #eef1f6;
    overflow: hidden;
}
.gal-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
    cursor: pointer;
}
.gal-card:hover .gal-media { transform: scale(1.08); }
video.gal-media { cursor: default; }

/* Badge tipe */
.gal-type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px; height: 30px;
    border-radius: 8px;
    background: rgba(6,20,40,.55);
    backdrop-filter: blur(4px);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: .78rem;
    z-index: 2;
}
.gal-type-video { background: rgba(198,40,40,.7); }

/* Tombol hapus, muncul saat hover */
.gal-delete-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px; height: 30px;
    border-radius: 8px;
    background: rgba(255,255,255,.9);
    color: #d64545;
    display: flex; align-items: center; justify-content: center;
    font-size: .78rem;
    text-decoration: none;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease, background .2s ease;
    z-index: 2;
}
.gal-card:hover .gal-delete-btn { opacity: 1; transform: translateY(0); }
.gal-delete-btn:hover { background: #d64545; color: #fff; }

/* Overlay keterangan */
.gal-overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 1.6rem .8rem .7rem;
    background: linear-gradient(180deg, transparent, rgba(6,20,40,.85));
    color: #fff;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .25s ease, transform .25s ease;
    pointer-events: none;
}
.gal-card:hover .gal-overlay { opacity: 1; transform: translateY(0); }
.gal-overlay-event {
    display: block;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--db-blue-light);
    margin-bottom: .15rem;
}
.gal-overlay-caption {
    font-size: .8rem;
    font-weight: 500;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Lightbox */
.gal-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(6,20,40,.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease;
    padding: 2rem;
}
.gal-lightbox-show { opacity: 1; visibility: visible; }
.gal-lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.gal-lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,.4);
    transform: scale(.95);
    transition: transform .3s ease;
}
.gal-lightbox-show .gal-lightbox-content img { transform: scale(1); }
.gal-lightbox-caption {
    color: #fff;
    font-size: .9rem;
    margin-top: 1rem;
    text-align: center;
    max-width: 600px;
}
.gal-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.gal-lightbox-close:hover { background: rgba(255,255,255,.2); transform: rotate(90deg); }
/* =========================================================
   GALERI — Album Card (tumpukan foto per event)
   ========================================================= */
.gal-album-card { cursor: pointer; }

.gal-album-stack {
    position: relative;
    aspect-ratio: 4 / 3;
}
.gal-stack-layer {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: #dbe6fa;
    box-shadow: 0 3px 8px rgba(15,61,145,.08);
}
.gal-stack-layer-1 {
    transform: rotate(-4deg) scale(.97);
    background: #cfe0fb;
    z-index: 1;
}
.gal-stack-layer-2 {
    transform: rotate(5deg) scale(.94);
    background: #e4edfc;
    z-index: 0;
}

.gal-album-cover {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: #eef1f6;
    box-shadow: 0 6px 16px rgba(15,61,145,.14);
    transition: transform .25s ease, box-shadow .25s ease;
}
.gal-album-card:hover .gal-album-cover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 30px rgba(15,61,145,.22);
}
.gal-album-cover img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.gal-album-video-cover {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    color: #fff;
    background: linear-gradient(135deg, var(--db-blue-bright), var(--db-blue-navy));
}
.gal-album-count-badge {
    position: absolute;
    top: 10px; right: 10px;
    background: rgba(6,20,40,.65);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: .76rem;
    font-weight: 700;
    padding: .3rem .7rem;
    border-radius: 999px;
    display: flex; align-items: center; gap: .35rem;
}

.gal-album-info { padding: .8rem .2rem 0; }
.gal-album-title {
    font-weight: 700;
    font-size: .92rem;
    color: var(--db-blue-navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gal-album-meta {
    display: flex;
    gap: .8rem;
    font-size: .76rem;
    color: #7c94b8;
    margin-top: .2rem;
}
.gal-album-meta i { margin-right: .25rem; }

/* =========================================================
   GALERI — Lightbox (UKURAN FIXED, tidak ikut menyesuaikan gambar)
   ========================================================= */
.gal-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(6,20,40,.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease;
    padding: 2rem;
}
.gal-lightbox-show { opacity: 1; visibility: visible; }

.gal-lightbox-card {
    display: flex;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    /* UKURAN DIKUNCI — tidak berubah walau isi gambar/video berbeda ukuran */
    width: 920px;
    height: 600px;
    max-width: 92vw;
    max-height: 88vh;
    box-shadow: 0 25px 60px rgba(0,0,0,.4);
    transform: scale(.9);
    opacity: 0;
    transition: transform .3s cubic-bezier(.34,1.2,.64,1), opacity .25s ease;
}
.gal-lightbox-show .gal-lightbox-card {
    transform: scale(1);
    opacity: 1;
}

.gal-lightbox-image-wrap {
    position: relative;
    flex: 1.4;
    background: #0a1524;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 100%; /* kunci tinggi mengikuti card, bukan gambar */
    overflow: hidden;
}
.gal-lightbox-image-wrap img,
.gal-lightbox-image-wrap video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity .18s ease;
}
.gal-lightbox-counter {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(6,20,40,.6);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: .74rem;
    font-weight: 600;
    padding: .3rem .8rem;
    border-radius: 999px;
}

.gal-lightbox-info {
    flex: 1;
    min-width: 260px;
    max-width: 320px;
    height: 100%;
    padding: 1.8rem 1.6rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.gal-lightbox-event-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    align-self: flex-start;
    background: #e8f0fe;
    color: var(--db-blue-dark);
    font-size: .8rem;
    font-weight: 700;
    padding: .4rem .85rem;
    border-radius: 999px;
    margin-bottom: 1.3rem;
}
.gal-lightbox-caption-title {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #9db3d6;
    font-weight: 700;
    margin-bottom: .5rem;
}
.gal-lightbox-caption-text {
    font-size: .92rem;
    color: #33465f;
    line-height: 1.65;
    margin: 0;
}
.gal-lightbox-delete-btn {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: #fdeeee;
    color: #d64545;
    font-weight: 600;
    font-size: .84rem;
    padding: .6rem;
    border-radius: 10px;
    text-decoration: none;
    transition: background .2s ease;
}
.gal-lightbox-delete-btn:hover { background: #d64545; color: #fff; }

.gal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background .2s ease, transform .2s ease;
}
.gal-nav-btn:hover { background: rgba(255,255,255,.25); }
.gal-nav-prev { left: 24px; }
.gal-nav-prev:hover { transform: translateY(-50%) translateX(-3px); }
.gal-nav-next { right: 24px; }
.gal-nav-next:hover { transform: translateY(-50%) translateX(3px); }

.gal-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 11;
    transition: background .2s ease, transform .2s ease;
}
.gal-lightbox-close:hover { background: rgba(255,255,255,.2); transform: rotate(90deg); }

@media (max-width: 767.98px) {
    .gal-lightbox-card {
        flex-direction: column;
        width: 92vw;
        height: 82vh;
        border-radius: 16px;
    }
    .gal-lightbox-image-wrap { flex: none; height: 45%; }
    .gal-lightbox-info { max-width: none; height: 55%; padding: 1.2rem; }
    .gal-nav-btn { width: 40px; height: 40px; font-size: .95rem; }
    .gal-nav-prev { left: 10px; }
    .gal-nav-next { right: 10px; }
}
/* =========================================================
   UPLOAD GALERI — toggle tipe, preview grid multi-file
   ========================================================= */
.gal-tipe-toggle {
    display: flex;
    gap: .6rem;
}
.gal-tipe-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border: 1.5px solid #e2ebfb;
    border-radius: 10px;
    padding: .6rem .5rem;
    font-size: .82rem;
    font-weight: 600;
    color: #7c94b8;
    cursor: pointer;
    transition: all .2s ease;
    position: relative;
}
.gal-tipe-option input {
    position: absolute;
    opacity: 0;
    width: 0; height: 0;
}
.gal-tipe-option:has(input:checked) {
    border-color: var(--db-blue-bright);
    background: #f1f6ff;
    color: var(--db-blue-navy);
    box-shadow: 0 0 0 3px rgba(26,115,232,.1);
}
.gal-tipe-hint { font-size: .68rem; font-weight: 400; color: #9db3d6; }

.gal-note-hint {
    font-size: .74rem;
    color: #9db3d6;
    margin-top: .4rem;
}

.gal-upload-box { min-height: 160px; }

.gal-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: .6rem;
    margin-top: 1rem;
}
.gal-preview-item {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    background: #eef1f6;
    border: 1px solid #eaf1fd;
}
.gal-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gal-preview-video-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--db-blue-bright);
    background: linear-gradient(135deg, #e8f0fe, #d9e8ff);
}
.gal-preview-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(6,20,40,.65);
    color: #fff;
    border: none;
    font-size: .68rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s ease;
}
.gal-preview-remove:hover { background: #d64545; }
.gal-preview-filename {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: rgba(6,20,40,.6);
    color: #fff;
    font-size: .6rem;
    padding: 2px 4px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* Total ukuran file terpilih */
.gal-upload-total {
    font-size: .78rem;
    color: #7c94b8;
    margin-top: .8rem;
    padding: .5rem .7rem;
    background: #f7faff;
    border-radius: 8px;
}
.gal-upload-total i { margin-right: .3rem; color: var(--db-blue-bright); }
.gal-upload-total-error {
    background: #fdeeee;
    color: #d64545;
}
.gal-upload-total-warn { font-weight: 600; }

/* Item preview yang melebihi batas ukuran */
.gal-preview-item-error {
    border: 2px solid #d64545 !important;
}
/* =========================================================
   DONASI — Monitoring & Verifikasi
   ========================================================= */
.don-progress-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .6rem;
}
.don-progress-label {
    font-size: .88rem;
    font-weight: 600;
    color: var(--db-blue-navy);
    display: flex;
    align-items: center;
    gap: .5rem;
}
.don-progress-label i { color: var(--db-blue-bright); }
.don-progress-percent {
    font-size: .95rem;
    font-weight: 700;
    color: var(--db-blue-bright);
}
.don-progress-sub {
    font-size: .78rem;
    color: #7c94b8;
    margin-top: .5rem;
}

.don-jumlah { font-weight: 700; color: #1e9e5f; }

.don-bukti-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--db-blue-bright);
    font-weight: 600;
    font-size: .84rem;
    text-decoration: none;
}
.don-bukti-link:hover { color: var(--db-blue-dark); text-decoration: underline; }

.don-action-form {
    display: flex;
    gap: .4rem;
    justify-content: flex-end;
}
.don-btn-verify { background: #e6f9ee; color: #1e9e5f; border: none; }
.don-btn-verify:hover { background: #1e9e5f; color: #fff; box-shadow: 0 4px 10px rgba(30,158,95,.35); }
/* =========================================================
   HALAMAN PUBLIK — Navbar, Hero, Statistik, Footer (Modern)
   ========================================================= */
.pub-body { background: #f7faff; overflow-x: hidden; }

/* =========================================================
   NAVBAR PUBLIC
   ========================================================= */

.pub-navbar {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1100px, 94%);
    z-index: 1050;
}

.pub-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;

    width: 100%;
    box-sizing: border-box;

    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(26, 115, 232, 0.12);
    border-radius: 999px;

    padding: 0.5rem 0.6rem 0.5rem 1rem;

    box-shadow: 0 8px 30px rgba(15, 61, 145, 0.12);

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease,
        padding 0.3s ease;
}

.pub-navbar.scrolled .pub-navbar-inner {
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 4px 20px rgba(15, 61, 145, 0.08);
}


/* =========================================================
   BRAND
   ========================================================= */

.pub-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;

    text-decoration: none;
    flex-shrink: 1;
    min-width: 0;
}

.pub-brand img {
    width: 38px;
    height: 38px;

    object-fit: contain;
    flex-shrink: 0;

    border-radius: 50%;
    background: #fff;
    padding: 3px;

    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.15);
}

.pub-brand span {
    font-weight: 700;
    color: var(--db-blue-navy, #0a2c6e);
    font-size: 1.02rem;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* =========================================================
   MENU DESKTOP
   ========================================================= */

.pub-nav {
    display: flex;
    align-items: center;
    gap: 0.2rem;

    list-style: none;
    margin: 0;
    padding: 0;
}

.pub-nav-link {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;

    padding: 0.55rem 1.05rem;

    border-radius: 999px;

    color: #4a5a78;
    text-decoration: none;

    font-size: 0.88rem;
    font-weight: 500;

    isolation: isolate;
    overflow: hidden;

    transition: color 0.25s ease;
}

.pub-nav-link i {
    font-size: 0.82rem;
}

.pub-nav-link::before {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: 999px;

    background: linear-gradient(
        90deg,
        var(--db-blue-bright, #1A73E8),
        var(--db-blue-dark, #0F3D91)
    );

    transform: scale(0.4);
    opacity: 0;

    transition:
        transform 0.3s cubic-bezier(.34, 1.56, .64, 1),
        opacity 0.25s ease;

    z-index: -1;
}

.pub-nav-link:hover,
.pub-nav-link.active {
    color: #fff;
}

.pub-nav-link:hover::before,
.pub-nav-link.active::before {
    transform: scale(1);
    opacity: 1;
}


/* =========================================================
   BAGIAN KANAN NAVBAR
   ========================================================= */

.pub-navbar-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;

    flex-shrink: 0;
}


/* =========================================================
   LOGIN DESKTOP
   ========================================================= */

.pub-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;

    background: linear-gradient(
        135deg,
        var(--db-blue-bright, #1A73E8),
        var(--db-blue-dark, #0F3D91)
    );

    color: #fff;

    padding: 0.55rem 1.15rem;

    border-radius: 999px;

    text-decoration: none;

    font-size: 0.85rem;
    font-weight: 600;

    white-space: nowrap;

    box-shadow: 0 4px 14px rgba(26, 115, 232, 0.35);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.pub-login-btn:hover {
    transform: translateY(-1px);

    box-shadow: 0 6px 18px rgba(26, 115, 232, 0.45);

    color: #fff;
}


/* =========================================================
   HAMBURGER
   ========================================================= */

.pub-toggler {
    display: none;

    width: 42px;
    height: 42px;

    flex-shrink: 0;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff;
    border: 1.5px solid #e2ebfb;

    color: var(--db-blue-navy, #0a2c6e);

    cursor: pointer;

    padding: 0;

    font-size: 1.05rem;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.pub-toggler:hover {
    transform: scale(1.05);
    border-color: var(--db-blue-bright, #1A73E8);
}

.pub-toggler:active {
    transform: scale(0.95);
}


/* =========================================================
   LOGIN DI MENU MOBILE
   ========================================================= */

.pub-mobile-login {
    display: none;
}

.pub-login-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;

    width: 100%;
    box-sizing: border-box;

    padding: 0.75rem 1rem;

    border-radius: 14px;

    background: linear-gradient(
        135deg,
        var(--db-blue-bright, #1A73E8),
        var(--db-blue-dark, #0F3D91)
    );

    color: #fff;

    text-decoration: none;

    font-size: 0.9rem;
    font-weight: 600;
}

.pub-login-mobile:hover {
    color: #fff;
}


/* =========================================================
   BACKDROP
   ========================================================= */

.pub-nav-backdrop {
    position: fixed;
    inset: 0;

    background: rgba(6, 20, 40, 0.45);

    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);

    z-index: 1045;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.pub-nav-backdrop.show {
    opacity: 1;
    visibility: visible;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .pub-navbar {
        width: 96%;
    }

    .pub-nav-link {
        padding-left: 0.8rem;
        padding-right: 0.8rem;
    }

    .pub-brand span {
        font-size: 0.95rem;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 991.98px) {

    .pub-navbar {
        top: 12px;
        width: calc(100% - 24px);
    }

    .pub-navbar-inner {
        padding: 0.45rem 0.5rem 0.45rem 0.7rem;
        gap: 0.5rem;

        border-radius: 24px;
    }

    .pub-brand {
        min-width: 0;
        flex: 1;
    }

    .pub-brand img {
        width: 36px;
        height: 36px;
    }

    .pub-brand span {
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .pub-navbar-right {
        flex-shrink: 0;
    }

    /* Login desktop disembunyikan */
    .pub-login-btn {
        display: none;
    }

    /* Hamburger ditampilkan */
    .pub-toggler {
        display: flex;
    }

    /* Menu utama */
    .pub-nav {
        position: fixed;

        top: 70px;
        left: 50%;

        width: min(360px, calc(100vw - 30px));

        box-sizing: border-box;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 0.3rem;

        margin: 0;
        padding: 0.75rem;

        background: #fff;

        border-radius: 20px;

        box-shadow: 0 20px 50px rgba(15, 61, 145, 0.25);

        opacity: 0;
        visibility: hidden;

        transform: translateX(-50%) translateY(-12px);

        transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0.25s ease;

        z-index: 1046;
    }

    .pub-nav.show {
        opacity: 1;
        visibility: visible;

        transform: translateX(-50%) translateY(0);
    }

    .pub-nav-link {
        width: 100%;
        box-sizing: border-box;

        justify-content: flex-start;

        padding: 0.75rem 1rem;

        border-radius: 14px;

        font-size: 0.9rem;
    }

    .pub-nav-link i {
        width: 20px;
        text-align: center;
    }

    /* Login masuk ke dalam menu */
    .pub-mobile-login {
        display: block;

        margin-top: 0.35rem;
        padding-top: 0.35rem;

        border-top: 1px solid #e8eef8;
    }
}


/* =========================================================
   HP KECIL
   ========================================================= */

@media (max-width: 420px) {

    .pub-navbar {
        top: 10px;
        width: calc(100% - 18px);
    }

    .pub-navbar-inner {
        padding: 0.4rem 0.45rem 0.4rem 0.6rem;
    }

    .pub-brand img {
        width: 34px;
        height: 34px;
    }

    .pub-brand span {
        font-size: 0.82rem;
    }

    .pub-toggler {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .pub-nav {
        top: 66px;
        width: calc(100vw - 22px);
    }
}


/* =========================================================
   HP SANGAT KECIL
   ========================================================= */

@media (max-width: 350px) {

    .pub-brand span {
        max-width: 170px;
    }

    .pub-navbar-inner {
        gap: 0.3rem;
    }
}
/* =========================================================
   PUBLIC HOMEPAGE — Modern & Animated
   ========================================================= */

/* Reveal on scroll */
.pub-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1);
    transition-delay: var(--delay, 0s);
}
.pub-reveal.pub-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== HERO ===== */
.pub-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    padding: 6rem 1rem 5rem;
}
@media (max-width: 767.98px) {
    .pub-hero { background-attachment: scroll; min-height: 82vh; padding: 5rem 1rem 4rem; }
}

.pub-hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .35;
    pointer-events: none;
    animation: pub-float 10s ease-in-out infinite;
}
.pub-hero-shape-1 {
    width: 380px; height: 380px;
    background: #1A73E8;
    top: -100px; left: -100px;
    animation-delay: 0s;
}
.pub-hero-shape-2 {
    width: 300px; height: 300px;
    background: #BBD4FF;
    bottom: -80px; right: -60px;
    animation-delay: 2s;
}
@keyframes pub-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -25px) scale(1.08); }
}

.pub-hero-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.pub-particle {
    position: absolute;
    bottom: -10px;
    background: rgba(255,255,255,.5);
    border-radius: 50%;
    animation: pub-particle-rise linear infinite;
}
@keyframes pub-particle-rise {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: .8; }
    90% { opacity: .5; }
    100% { transform: translateY(-100vh) translateX(30px); opacity: 0; }
}

.pub-hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    font-size: .82rem;
    font-weight: 600;
    padding: .5rem 1.1rem;
    border-radius: 999px;
    margin-bottom: 1.3rem;
    animation: pub-pulse-badge 2.4s ease-in-out infinite;
}
@keyframes pub-pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.25); }
    50% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
}

.pub-hero-title {
    color: #fff;
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0,0,0,.35);
    margin-bottom: 1.2rem;
}
.pub-hero-sub {
    color: rgba(255,255,255,.88);
    font-size: clamp(.95rem, 1.6vw, 1.1rem);
    max-width: 620px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0,0,0,.25);
}

.pub-hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.pub-btn-primary, .pub-btn-outline {
    display: inline-flex;
    align-items: center;
    padding: .85rem 1.7rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .92rem;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}
.pub-btn-primary {
    background: linear-gradient(135deg, #1A73E8, #0F3D91);
    color: #fff;
    box-shadow: 0 8px 24px rgba(15,61,145,.4);
}
.pub-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(15,61,145,.5); color: #fff; }
.pub-btn-outline {
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(6px);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.5);
}
.pub-btn-outline:hover { background: rgba(255,255,255,.22); transform: translateY(-3px); color: #fff; }

.pub-hero-scroll-cue {
    position: absolute;
    bottom: 1.8rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.7);
    font-size: 1.2rem;
    animation: pub-bounce 1.8s ease-in-out infinite;
}
@keyframes pub-bounce {
    0%, 100% { transform: translate(-50%, 0); opacity: .5; }
    50% { transform: translate(-50%, 10px); opacity: 1; }
}

/* ===== STATISTIK ===== */
.pub-stats-section {
    padding: 3.5rem 0;
    background: #f4f6f9;
    margin-top: -50px;
    position: relative;
    z-index: 2;
}
.pub-stat-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.6rem 1.2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(15,61,145,.1);
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
    height: 100%;
}
.pub-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(15,61,145,.18);
}
.pub-stat-icon {
    width: 54px; height: 54px;
    margin: 0 auto .9rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #1A73E8, #0F3D91);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.pub-stat-card:hover .pub-stat-icon { transform: scale(1.15) rotate(-6deg); }
.pub-stat-num, .pub-stat-num-text {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 800;
    color: #0a2c6e;
    line-height: 1.2;
}
.pub-stat-label {
    font-size: .82rem;
    color: #7c94b8;
    font-weight: 600;
    margin-top: .3rem;
}

/* ===== CHART ===== */
.pub-chart-section { padding: 1rem 0 4rem; background: #f4f6f9; }
.pub-chart-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow: 0 10px 30px rgba(15,61,145,.08);
}
.pub-chart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.pub-chart-head h4 {
    font-weight: 700;
    color: #0a2c6e;
    margin: 0;
    font-size: 1.1rem;
}
.pub-chart-toggle {
    display: flex;
    gap: .4rem;
    background: #f0f6ff;
    padding: .35rem;
    border-radius: 999px;
}
.pub-chart-toggle button {
    border: none;
    background: transparent;
    color: #7c94b8;
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all .25s ease;
}
.pub-chart-toggle button.active {
    background: linear-gradient(135deg, #1A73E8, #0F3D91);
    color: #fff;
    box-shadow: 0 4px 12px rgba(15,61,145,.3);
}
.pub-chart-canvas-wrap {
    height: 340px;
    position: relative;
}

@media (max-width: 575.98px) {
    .pub-chart-card { padding: 1.2rem; }
    .pub-chart-canvas-wrap { height: 280px; }
}

/* =========================================================
   GPM SOUHURU
   MODERN PUBLIC FOOTER
   ========================================================= */


/* =========================================================
   MAIN FOOTER
   ========================================================= */

.pub-footer {
    position: relative;
    width: 100%;
    margin-top: 3rem;

    overflow: hidden;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 10% 15%,
            rgba(30, 115, 255, 0.16),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 25%,
            rgba(0, 174, 255, 0.12),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #031331 0%,
            #061d4d 45%,
            #082d6d 100%
        );
}


/* =========================================================
   FOOTER CONTENT
   ========================================================= */

.pub-footer-content {
    position: relative;
    z-index: 5;

    padding: 4rem 0 3.5rem;
}


/* =========================================================
   ROW
   ========================================================= */

.footer-row {
    align-items: stretch;
}


/* =========================================================
   FOOTER SECTION
   ========================================================= */

.footer-section {
    position: relative;

    padding: 0 2rem;
}

.footer-section:first-child {
    padding-left: 0;
}

.footer-location-section {
    padding-right: 0;
}


/* Garis pemisah antar bagian */

.footer-section:not(:first-child)::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 1px;
    height: 100%;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(80, 166, 255, 0.30),
            transparent
        );
}


/* =========================================================
   BRAND
   ========================================================= */

.pub-footer-brand {
    display: flex;
    align-items: center;

    gap: 1rem;

    margin-bottom: 1.4rem;
}


/* Logo */

.footer-logo {
    position: relative;

    width: 60px;
    height: 60px;

    flex-shrink: 0;

    padding: 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    border-radius: 50%;

    box-shadow:
        0 0 0 5px rgba(39, 142, 255, 0.10),
        0 10px 25px rgba(0, 0, 0, 0.25);

    animation:
        footerLogoFloat 4s ease-in-out infinite;
}


.footer-logo::after {
    content: "";

    position: absolute;

    inset: -6px;

    border-radius: 50%;

    border: 1px solid rgba(70, 169, 255, 0.35);

    animation:
        footerLogoRing 3s ease-out infinite;
}


.footer-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    border-radius: 50%;
}


/* Brand text */

.footer-brand-text h4 {
    margin: 0 0 .25rem;

    color: #ffffff;

    font-size: 1.4rem;
    font-weight: 800;

    letter-spacing: -.3px;
}


.footer-brand-text span {
    color: #54b6ff;

    font-size: .82rem;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.pub-footer-description {
    max-width: 390px;

    margin: 0;

    color: #a8c6ed;

    font-size: .87rem;

    line-height: 1.8;
}


/* =========================================================
   SOCIAL MEDIA
   ========================================================= */

.pub-social {
    display: flex;

    gap: .7rem;

    margin-top: 1.5rem;
}


.pub-social a {
    position: relative;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;

    text-decoration: none;

    background:
        linear-gradient(
            145deg,
            rgba(25, 113, 224, 0.35),
            rgba(8, 56, 135, 0.45)
        );

    border: 1px solid rgba(75, 169, 255, 0.28);

    border-radius: 50%;

    transition:
        transform .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}


.pub-social a:hover {
    color: #ffffff;

    transform:
        translateY(-7px)
        scale(1.08);

    background:
        linear-gradient(
            145deg,
            #1687f0,
            #0756c7
        );

    box-shadow:
        0 10px 25px rgba(0, 96, 220, 0.40);
}


/* YouTube */

.pub-social .youtube-link:hover {
    background:
        linear-gradient(
            145deg,
            #147ee8,
            #0754bd
        );
}


/* =========================================================
   FOOTER HEADING
   ========================================================= */

.footer-heading {
    display: flex;
    align-items: center;

    gap: .65rem;

    margin: 0 0 1.4rem;

    color: #ffffff;

    font-size: .98rem;

    font-weight: 750;
}


.heading-line {
    position: relative;

    width: 5px;
    height: 20px;

    display: block;

    flex-shrink: 0;

    border-radius: 20px;

    background:
        linear-gradient(
            to bottom,
            #6bd1ff,
            #0875df
        );

    box-shadow:
        0 0 12px rgba(47, 166, 255, 0.65);

    animation:
        headingPulse 2s ease-in-out infinite;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.footer-links {
    padding: 0;
    margin: 0;

    list-style: none;
}


.footer-links li {
    margin-bottom: .8rem;
}


.footer-links a {
    display: inline-flex;
    align-items: center;

    gap: .55rem;

    color: #a8c6ed;

    font-size: .86rem;

    text-decoration: none;

    transition:
        color .25s ease,
        transform .25s ease;
}


.footer-links a i {
    color: #42aaff;

    font-size: .62rem;

    transition:
        transform .25s ease;
}


.footer-links a:hover {
    color: #ffffff;

    transform:
        translateX(6px);
}


.footer-links a:hover i {
    transform:
        translateX(3px);
}


/* =========================================================
   CONTACT
   ========================================================= */

.footer-contact {
    padding: 0;
    margin: 0;

    list-style: none;
}


.footer-contact li {
    display: flex;
    align-items: flex-start;

    gap: .65rem;

    margin-bottom: 1rem;

    color: #a8c6ed;

    font-size: .83rem;

    line-height: 1.5;
}


.contact-icon {
    width: 32px;
    height: 32px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #1375df,
            #0a58c5
        );

    border-radius: 9px;

    box-shadow:
        0 5px 14px rgba(0, 76, 190, 0.30);

    transition:
        transform .3s ease;
}


.footer-contact li:hover .contact-icon {
    transform:
        rotate(-5deg)
        scale(1.08);
}


/* =========================================================
   GOOGLE MAP
   ========================================================= */

.footer-map {
    position: relative;

    overflow: hidden;

    width: 100%;

    border-radius: 18px;

    border: 1px solid rgba(80, 177, 255, 0.30);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.30);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}


.footer-map:hover {
    transform:
        translateY(-5px);

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.40);
}


.footer-map iframe {
    display: block;

    width: 100%;

    filter:
        saturate(.90);
}


/* Map label */

.map-label {
    position: absolute;

    left: 12px;
    bottom: 12px;

    display: flex;
    align-items: center;

    gap: .5rem;

    padding: .55rem .8rem;

    color: #ffffff;

    font-size: .74rem;

    font-weight: 600;

    background:
        rgba(3, 27, 73, 0.94);

    border:
        1px solid rgba(76, 174, 255, 0.35);

    border-radius: 20px;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, .25);

    backdrop-filter:
        blur(8px);
}


.map-label i {
    color: #55baff;
}


/* =========================================================
   WAVE CONTAINER
   ========================================================= */

.footer-waves {
    position: relative;

    width: 100%;

    height: 235px;

    overflow: hidden;

    margin: 0;
    padding: 0;

    background: #061d4d;

    line-height: 0;
}


/* =========================================================
   WAVE BASE
   ========================================================= */

.wave {
    position: absolute;

    left: -15%;

    width: 130%;
    height: 100%;

    bottom: -1px;

    border-radius: 50% 50% 0 0;

    transform-origin: center bottom;

    will-change:
        transform,
        border-radius;
}


/* =========================================================
   WAVE 1
   ========================================================= */

.wave-one {
    z-index: 1;

    bottom: -125px;

    height: 280px;

    background:
        linear-gradient(
            160deg,
            #092e7d,
            #0b4db7
        );

    border-radius:
        45%
        55%
        0
        0;

    animation:
        waveOneAnimation
        7s
        ease-in-out
        infinite;
}


/* =========================================================
   WAVE 2
   ========================================================= */

.wave-two {
    z-index: 2;

    bottom: -145px;

    height: 280px;

    background:
        linear-gradient(
            160deg,
            #0755c4,
            #087ce0
        );

    border-radius:
        55%
        45%
        0
        0;

    animation:
        waveTwoAnimation
        5.5s
        ease-in-out
        infinite;
}


/* =========================================================
   WAVE 3
   ========================================================= */

.wave-three {
    z-index: 3;

    bottom: -170px;

    height: 290px;

    background:
        linear-gradient(
            160deg,
            #159be9,
            #27b5f4
        );

    border-radius:
        50%
        50%
        0
        0;

    animation:
        waveThreeAnimation
        4s
        ease-in-out
        infinite;
}


/* =========================================================
   WAVE ANIMATION 1
   ========================================================= */

@keyframes waveOneAnimation {

    0% {
        transform:
            translateX(-2%)
            translateY(5px)
            scaleY(1);
    }

    25% {
        transform:
            translateX(-1%)
            translateY(-8px)
            scaleY(1.03);
    }

    50% {
        transform:
            translateX(1%)
            translateY(4px)
            scaleY(.98);
    }

    75% {
        transform:
            translateX(2%)
            translateY(-6px)
            scaleY(1.04);
    }

    100% {
        transform:
            translateX(-2%)
            translateY(5px)
            scaleY(1);
    }
}


/* =========================================================
   WAVE ANIMATION 2
   ========================================================= */

@keyframes waveTwoAnimation {

    0% {
        transform:
            translateX(3%)
            translateY(7px)
            scaleY(1);
    }

    25% {
        transform:
            translateX(1%)
            translateY(-10px)
            scaleY(1.05);
    }

    50% {
        transform:
            translateX(-2%)
            translateY(5px)
            scaleY(.97);
    }

    75% {
        transform:
            translateX(-3%)
            translateY(-9px)
            scaleY(1.06);
    }

    100% {
        transform:
            translateX(3%)
            translateY(7px)
            scaleY(1);
    }
}


/* =========================================================
   WAVE ANIMATION 3
   ========================================================= */

@keyframes waveThreeAnimation {

    0% {
        transform:
            translateX(-3%)
            translateY(10px)
            scaleY(1);
    }

    20% {
        transform:
            translateX(-1%)
            translateY(-12px)
            scaleY(1.06);
    }

    40% {
        transform:
            translateX(2%)
            translateY(5px)
            scaleY(.96);
    }

    60% {
        transform:
            translateX(3%)
            translateY(-15px)
            scaleY(1.08);
    }

    80% {
        transform:
            translateX(0)
            translateY(4px)
            scaleY(.98);
    }

    100% {
        transform:
            translateX(-3%)
            translateY(10px)
            scaleY(1);
    }
}


/* =========================================================
   EXTRA LIGHT EFFECT
   ========================================================= */

.pub-footer::after {
    content: "";

    position: absolute;

    top: 0;
    left: -40%;

    width: 30%;
    height: 100%;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.035),
            transparent
        );

    transform:
        skewX(-18deg);

    animation:
        footerLightMove
        9s
        ease-in-out
        infinite;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes footerLogoFloat {

    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-5px);
    }
}


@keyframes footerLogoRing {

    0% {
        transform:
            scale(.92);

        opacity: .8;
    }

    70% {
        transform:
            scale(1.15);

        opacity: 0;
    }

    100% {
        transform:
            scale(1.15);

        opacity: 0;
    }
}


@keyframes headingPulse {

    0%,
    100% {
        transform:
            scaleY(1);

        opacity: .75;
    }

    50% {
        transform:
            scaleY(1.25);

        opacity: 1;
    }
}


@keyframes footerLightMove {

    0% {
        left: -40%;
    }

    45% {
        left: 120%;
    }

    100% {
        left: 120%;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .pub-footer-content {
        padding:
            3.5rem
            0
            2rem;
    }


    .footer-section {
        padding:
            0
            1.25rem;
        margin-bottom: 2.5rem;
    }


    .footer-section:first-child {
        padding-left: 1.25rem;
    }


    .footer-location-section {
        padding-right: 1.25rem;
    }


    .footer-section:not(:first-child)::before {
        display: none;
    }


    .footer-waves {
        height: 200px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

    .pub-footer-content {
        padding:
            3rem
            0
            1rem;
    }


    .footer-section {
        padding:
            0
            1rem;

        margin-bottom: 2.5rem;
    }


    .footer-section:first-child,
    .footer-location-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }


    .footer-logo {
        width: 52px;
        height: 52px;
    }


    .footer-brand-text h4 {
        font-size: 1.2rem;
    }


    .footer-brand-text span {
        font-size: .72rem;
    }


    .pub-footer-description {
        font-size: .82rem;
    }


    .pub-social a {
        width: 40px;
        height: 40px;
    }


    .footer-map iframe {
        height: 180px;
    }


    .footer-waves {
        height: 150px;
    }


    .wave {
        left: -35%;

        width: 170%;
    }
}
/* =========================================================
   EVALUASI & LESSON LEARNED
   ========================================================= */
.eval-card { overflow: visible; }

.eval-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #eaf1fd;
    flex-wrap: wrap;
}
.eval-version-tag {
    display: flex;
    align-items: center;
    gap: .6rem;
}
.eval-version-num {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--db-blue-navy);
}
.eval-latest-badge {
    background: linear-gradient(135deg, var(--db-blue-bright), var(--db-blue-dark));
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    padding: .22rem .6rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.eval-kepuasan-badge { font-size: .8rem; padding: .4rem .85rem; }

.eval-meta {
    font-size: .8rem;
    color: #7c94b8;
    margin-bottom: 0;
}
.eval-meta i { margin-right: .25rem; color: #9db3d6; }
.eval-meta strong { color: var(--db-blue-navy); }

.eval-point {
    height: 100%;
    border-radius: 12px;
    padding: 1rem 1.1rem;
    border-left: 4px solid #cbd5e1;
    background: #f9fbff;
}
.eval-point-header {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    font-size: .86rem;
    margin-bottom: .5rem;
}
.eval-point-text {
    font-size: .86rem;
    color: #45557a;
    line-height: 1.6;
    margin: 0;
}

.eval-point-kendala { border-left-color: #f7971e; background: #fff9ef; }
.eval-point-kendala .eval-point-header { color: #b7791f; }

.eval-point-solusi { border-left-color: var(--db-blue-bright); background: #f0f6ff; }
.eval-point-solusi .eval-point-header { color: var(--db-blue-dark); }

.eval-point-rekomendasi { border-left-color: #8b5cf6; background: #f6f3ff; }
.eval-point-rekomendasi .eval-point-header { color: #6d28d9; }

.eval-point-best { border-left-color: #1e9e5f; background: #f0faf4; }
.eval-point-best .eval-point-header { color: #15803d; }
/* =========================================================
   HAK AKSES / PERMISSIONS MATRIX
   ========================================================= */

/* Legend */
.perm-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    align-items: center;
    background: #fff;
    border: 1px solid #eaf1fd;
    border-radius: 14px;
    padding: 1rem 1.3rem;
}
.perm-legend-item {
    display: flex;
    align-items: center;
    gap: .6rem;
}
.perm-legend-item strong {
    display: block;
    font-size: .84rem;
    color: var(--db-blue-navy);
}
.perm-legend-item span {
    display: block;
    font-size: .75rem;
    color: #7c94b8;
}
.perm-legend-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}
.perm-legend-dot-view { background: var(--db-blue-bright); }
.perm-legend-dot-manage { background: #1e9e5f; }
.perm-legend-note {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    color: #9db3d6;
    background: #f7faff;
    padding: .5rem .9rem;
    border-radius: 999px;
}
.perm-legend-note i { color: var(--db-blue-bright); }

/* Table wrap dengan sticky kolom pertama */
.perm-table-wrap {
    overflow-x: auto;
    max-width: 100%;
}
.perm-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    min-width: 640px;
}

.perm-th-module {
    position: sticky;
    left: 0;
    z-index: 3;
    background: #f7faff;
    text-align: left;
    padding: .9rem 1.2rem;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #7c94b8;
    font-weight: 700;
    border-bottom: 1px solid #eaf1fd;
    vertical-align: bottom;
}
.perm-th-role {
    background: linear-gradient(135deg, var(--db-blue-bright), var(--db-blue-dark));
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    padding: .7rem .5rem;
    text-align: center;
    border-bottom: 1px solid #eaf1fd;
    border-left: 2px solid rgba(255,255,255,.25);
}
.perm-th-sub {
    background: #f0f6ff;
    color: #45557a;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    padding: .5rem .4rem;
    text-align: center;
    border-bottom: 1px solid #eaf1fd;
}
.perm-th-sub-view { border-left: 2px solid #d9e8ff; color: var(--db-blue-dark); }
.perm-th-sub-manage { color: #1e9e5f; }

.perm-td-module {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #fff;
    padding: .8rem 1.2rem;
    border-bottom: 1px solid #f0f4fb;
    white-space: nowrap;
}
.ev-row:hover .perm-td-module,
.perm-table tbody tr:hover .perm-td-module { background: #f7faff; }
.perm-table tbody tr:hover td { background: #f7faff; }

.perm-module-name {
    display: flex;
    align-items: center;
    gap: .7rem;
    font-weight: 600;
    font-size: .87rem;
    color: var(--db-blue-navy);
}
.perm-module-icon {
    width: 32px; height: 32px;
    border-radius: 9px;
    background: #e8f0fe;
    color: var(--db-blue-bright);
    display: flex; align-items: center; justify-content: center;
    font-size: .82rem;
    flex-shrink: 0;
}

.perm-td-toggle {
    text-align: center;
    padding: .8rem .4rem;
    border-bottom: 1px solid #f0f4fb;
    border-left: 1px solid #f5f8fd;
}

/* Toggle switch custom */
.perm-switch {
    display: inline-flex;
    cursor: pointer;
    position: relative;
}
.perm-switch input {
    position: absolute;
    opacity: 0;
    width: 0; height: 0;
}
.perm-switch-track {
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background: #e2e8f0;
    position: relative;
    transition: background .25s ease;
    flex-shrink: 0;
}
.perm-switch-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.25);
    transition: transform .25s cubic-bezier(.34,1.56,.64,1);
}
.perm-switch input:checked ~ .perm-switch-track { background: var(--db-blue-bright); }
.perm-switch input:checked ~ .perm-switch-track .perm-switch-thumb { transform: translateX(18px); }

.perm-switch-manage input:checked ~ .perm-switch-track { background: #1e9e5f; }

.perm-switch input:disabled ~ .perm-switch-track {
    background: #eef1f6;
    cursor: not-allowed;
    opacity: .6;
}
.perm-switch input:disabled ~ .perm-switch-track .perm-switch-thumb {
    box-shadow: none;
}

.perm-form-footer {
    padding: 1.2rem;
    border-top: 1px solid #eaf1fd;
    display: flex;
    justify-content: flex-end;
}
.perm-btn-save { width: auto; padding-left: 1.8rem; padding-right: 1.8rem; }

@media (max-width: 767.98px) {
    .perm-legend-note { margin-left: 0; width: 100%; }
}
.eval-header-right {
    display: flex;
    align-items: center;
    gap: .7rem;
}
.eval-actions { display: flex; gap: .4rem; }
.eval-readonly-note {
    font-size: .74rem;
    color: #9db3d6;
    margin-top: .5rem;
}
.eval-readonly-note i { margin-right: .3rem; }
/* =========================================================
   FORM TAMBAH EVALUASI
   ========================================================= */
.eval-label-kendala i { color: #b7791f; }
.eval-label-solusi i { color: var(--db-blue-bright); }
.eval-label-rekomendasi i { color: #6d28d9; }
.eval-label-best i { color: #15803d; }

.eval-kepuasan-options {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.eval-kepuasan-option {
    display: flex;
    align-items: center;
    gap: .7rem;
    border: 1.5px solid #e2ebfb;
    border-radius: 12px;
    padding: .75rem .9rem;
    cursor: pointer;
    font-size: .88rem;
    font-weight: 600;
    color: #7c94b8;
    transition: all .2s ease;
    position: relative;
}
.eval-kepuasan-option input {
    position: absolute;
    opacity: 0;
    width: 0; height: 0;
}
.eval-kepuasan-option i { font-size: 1.15rem; color: #b7c3dc; transition: color .2s ease; }
.eval-kepuasan-option:hover { transform: translateY(-2px); background: #f9fbff; }

.eval-kepuasan-option:has(input:checked) {
    color: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.eval-kepuasan-option:has(input:checked) i { color: #fff; }

.eval-kepuasan-success:has(input:checked) { background: linear-gradient(135deg,#38ef7d,#11998e); border-color: transparent; }
.eval-kepuasan-primary:has(input:checked) { background: linear-gradient(135deg, var(--db-blue-bright), var(--db-blue-dark)); border-color: transparent; }
.eval-kepuasan-warning:has(input:checked) { background: linear-gradient(135deg,#f7971e,#ffd200); border-color: transparent; color: #4a3200; }
.eval-kepuasan-warning:has(input:checked) i { color: #4a3200; }
.eval-kepuasan-danger:has(input:checked) { background: linear-gradient(135deg,#e0546a,#c31432); border-color: transparent; }
/* =========================================================
   HALAMAN PANITIA — Org Chart Modern & Interaktif
   ========================================================= */

/* Hero — sekarang pakai foto gereja sebagai background */
/* Section pembungkus — warna latar halaman terlihat di sekeliling kartu hero */
.org-hero-section {
    padding: 7.5rem 0 0;
    background: #fff;
}

/* Kartu hero berbentuk oval/rounded besar, tidak full-lebar sampai tepi layar */
.org-hero-card {
    position: relative;
    border-radius: 44px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4.5rem 1.5rem 6.5rem;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15,61,145,.28);
    animation: org-hero-reveal .7s cubic-bezier(.22,1,.36,1) both;
}
@keyframes org-hero-reveal {
    from { opacity: 0; transform: translateY(24px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 767.98px) {
    .org-hero-section { padding-top: 6.5rem; }
    .org-hero-card { border-radius: 28px; padding: 3.5rem 1rem 5.5rem; }
}

.org-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(6px);
    color: #fff;
    padding: .4rem .9rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,.25);
}
.org-hero-title { font-size: 2.2rem; font-weight: 800; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.org-hero-sub { color: rgba(255,255,255,.9); font-size: .96rem; max-width: 540px; margin: .8rem auto 0; text-shadow: 0 1px 8px rgba(0,0,0,.3); }

/* Kartu statistik mengambang — menembus batas bawah hero */
.org-stat-float {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    margin-top: -5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 3;
}
.org-stat-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.4rem 2rem;
    min-width: 160px;
    text-align: center;
    box-shadow: 0 16px 40px rgba(15,61,145,.22);
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
    animation: org-stat-pop .5s cubic-bezier(.34,1.56,.64,1) both;
    animation-delay: var(--stagger, 0s);
}
@keyframes org-stat-pop {
    from { opacity: 0; transform: translateY(20px) scale(.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.org-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 46px rgba(15,61,145,.3);
}
.org-stat-icon {
    width: 46px; height: 46px;
    margin: 0 auto .7rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--db-blue-bright,#1A73E8), var(--db-blue-dark,#0F3D91));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.org-stat-card:hover .org-stat-icon { transform: scale(1.12) rotate(-6deg); }
.org-stat-value { font-size: 1.9rem; font-weight: 800; color: var(--db-blue-navy,#0a2c6e); line-height: 1.1; }
.org-stat-label { font-size: .82rem; color: #7c94b8; margin-top: .2rem; font-weight: 600; }

@media (max-width: 575.98px) {
    .org-hero { padding: 8.5rem 1rem 6.5rem; }
    .org-stat-float { margin-top: -3.5rem; gap: .8rem; }
    .org-stat-card { min-width: 130px; padding: 1.1rem 1.3rem; }
}
/* Filter chips */
.org-filter-section { padding: 2rem 0 0; }
.org-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    justify-content: center;
}
.org-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border: 1.5px solid #d9e8ff;
    background: #fff;
    color: #45557a;
    font-size: .85rem;
    font-weight: 600;
    padding: .5rem 1.1rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all .25s cubic-bezier(.34,1.56,.64,1);
}
.org-filter-chip:hover {
    transform: translateY(-2px);
    border-color: var(--db-blue-bright, #1A73E8);
    color: var(--db-blue-dark, #0F3D91);
}
.org-filter-chip.active {
    background: linear-gradient(135deg, var(--db-blue-bright,#1A73E8), var(--db-blue-dark,#0F3D91));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 16px rgba(26,115,232,.35);
}

/* Group section */
.org-section { padding: 2.5rem 0 4rem; }
.org-group {
    margin-bottom: 3rem;
    transition: opacity .25s ease, transform .25s ease;
}
.org-group:last-child { margin-bottom: 0; }

.org-group-head {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: 1.6rem;
    padding-bottom: .9rem;
    border-bottom: 2px dashed #dceaff;
}
.org-group-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--db-blue-bright,#1A73E8), var(--db-blue-dark,#0F3D91));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(26,115,232,.3);
}
.org-group-head h4 { font-weight: 700; color: var(--db-blue-navy,#0a2c6e); margin: 0; font-size: 1.15rem; }
.org-group-count {
    margin-left: auto;
    font-size: .78rem;
    font-weight: 600;
    color: #7c94b8;
    background: #eef4ff;
    padding: .3rem .8rem;
    border-radius: 999px;
}

/* Card anggota */
.org-card-wrap { perspective: 800px; }
.org-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 1.8rem 1.2rem 1.5rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(15,61,145,.08);
    overflow: hidden;
    transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease;
    height: 100%;
}
.org-card:hover {
    transform: translateY(-8px) rotateX(3deg);
    box-shadow: 0 20px 40px rgba(15,61,145,.2);
}

.org-card-glow {
    position: absolute;
    top: -40%; left: 50%;
    width: 140%;
    height: 100px;
    background: radial-gradient(ellipse, rgba(26,115,232,.18), transparent 70%);
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}
.org-card:hover .org-card-glow { opacity: 1; }

.org-avatar {
    width: 76px; height: 76px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--db-blue-bright,#1A73E8), var(--db-blue-dark,#0F3D91));
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px rgba(26,115,232,.35);
    position: relative;
    z-index: 1;
    transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.org-card:hover .org-avatar { transform: scale(1.08) rotate(-4deg); }
.org-avatar span {
    color: #fff;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: .02em;
}

.org-name {
    font-weight: 700;
    color: var(--db-blue-navy,#0a2c6e);
    margin-bottom: .2rem;
    font-size: .95rem;
}
.org-jabatan {
    color: #7c94b8;
    font-size: .8rem;
    margin-bottom: .7rem;
}
.org-badge {
    display: inline-block;
    background: #eef4ff;
    color: var(--db-blue-dark,#0F3D91);
    font-size: .72rem;
    font-weight: 600;
    padding: .3rem .7rem;
    border-radius: 999px;
}

.org-wa-btn {
    position: absolute;
    top: 14px; right: 14px;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: #e9fbf1;
    color: #1e9e5f;
    display: flex; align-items: center; justify-content: center;
    font-size: .95rem;
    text-decoration: none;
    opacity: 0;
    transform: scale(.7) translateY(-4px);
    transition: opacity .25s ease, transform .25s cubic-bezier(.34,1.56,.64,1), background .2s ease;
}
.org-card:hover .org-wa-btn { opacity: 1; transform: scale(1) translateY(0); }
.org-wa-btn:hover { background: #25d366; color: #fff; }

/* Empty state */
.org-empty { text-align: center; padding: 4rem 1rem; color: #a9c2ee; }
.org-empty i { font-size: 3rem; display: block; margin-bottom: 1rem; opacity: .5; }
.org-empty p { font-size: 1rem; }

@media (max-width: 575.98px) {
    .org-hero-title { font-size: 1.7rem; }
    .org-group-head { flex-wrap: wrap; }
    .org-group-count { margin-left: 0; }
}
/* =========================================================
   HALAMAN JADWAL — Timeline Modern & Interaktif
   ========================================================= */

/* Hero */
.jdw-hero {
    position: relative;
    padding: 8.5rem 1rem 4rem;
    background: linear-gradient(160deg, #eaf2ff 0%, #dceaff 100%);
    overflow: hidden;
}
.jdw-hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    opacity: .5;
    animation: pub-float 8s ease-in-out infinite;
}
.jdw-hero-shape-1 { width: 260px; height: 260px; background: radial-gradient(circle, #bcd8ff, transparent 70%); top: -80px; right: -60px; }
.jdw-hero-shape-2 { width: 220px; height: 220px; background: radial-gradient(circle, #93b8f5, transparent 70%); bottom: -70px; left: -50px; animation-delay: 2s; }

.jdw-hero-badge {
    display: inline-block;
    background: rgba(26,115,232,.1);
    color: var(--db-blue-dark, #0F3D91);
    padding: .4rem .9rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.jdw-hero-title { font-size: 2.2rem; font-weight: 800; color: var(--db-blue-navy, #0a2c6e); }
.jdw-hero-sub { color: #5a6b8c; font-size: .96rem; max-width: 540px; margin: .8rem auto 0; }

/* Filter */
.jdw-filter-section { padding: 2rem 0 0; }
.jdw-filter-bar { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; }
.jdw-filter-chip {
    display: inline-flex; align-items: center; gap: .4rem;
    border: 1.5px solid #d9e8ff; background: #fff; color: #45557a;
    font-size: .85rem; font-weight: 600; padding: .5rem 1.1rem; border-radius: 999px;
    cursor: pointer; transition: all .25s cubic-bezier(.34,1.56,.64,1);
}
.jdw-filter-chip:hover { transform: translateY(-2px); border-color: var(--db-blue-bright,#1A73E8); color: var(--db-blue-dark,#0F3D91); }
.jdw-filter-chip.active {
    background: linear-gradient(135deg, var(--db-blue-bright,#1A73E8), var(--db-blue-dark,#0F3D91));
    border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(26,115,232,.35);
}

/* Timeline */
.jdw-section { padding: 2.5rem 0 4rem; }
.jdw-timeline { max-width: 900px; margin: 0 auto; }

.jdw-day {
    display: flex;
    gap: 1.4rem;
    margin-bottom: 2.2rem;
    transition: opacity .25s ease, transform .25s ease;
}
.jdw-day:last-child .jdw-day-line { display: none; }

.jdw-day-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 64px;
}
.jdw-day-dot {
    width: 60px; height: 60px;
    border-radius: 16px;
    background: #fff;
    border: 2px solid #dceaff;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    box-shadow: 0 6px 16px rgba(15,61,145,.1);
    transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.jdw-day:hover .jdw-day-dot { transform: scale(1.08) rotate(-3deg); }
.jdw-day-dot-today {
    background: linear-gradient(135deg, var(--db-blue-bright,#1A73E8), var(--db-blue-dark,#0F3D91));
    border-color: transparent;
    box-shadow: 0 8px 22px rgba(26,115,232,.4);
    animation: jdw-pulse-today 2s ease-in-out infinite;
}
@keyframes jdw-pulse-today {
    0%, 100% { box-shadow: 0 8px 22px rgba(26,115,232,.4); }
    50% { box-shadow: 0 8px 30px rgba(26,115,232,.65); }
}
.jdw-day-num { font-size: 1.15rem; font-weight: 800; color: var(--db-blue-navy,#0a2c6e); line-height: 1.1; }
.jdw-day-dot-today .jdw-day-num { color: #fff; }
.jdw-day-month { font-size: .65rem; font-weight: 700; letter-spacing: .05em; color: #7c94b8; }
.jdw-day-dot-today .jdw-day-month { color: rgba(255,255,255,.85); }

.jdw-day-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(180deg, #dceaff, transparent);
    margin-top: .6rem;
    min-height: 30px;
}

.jdw-day-content { flex: 1; padding-top: .4rem; }
.jdw-day-heading { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; flex-wrap: wrap; }
.jdw-day-heading h5 { font-weight: 700; color: var(--db-blue-navy,#0a2c6e); margin: 0; font-size: 1.05rem; }
.jdw-today-tag {
    background: linear-gradient(135deg, #ff7a59, #ff4d4d);
    color: #fff; font-size: .72rem; font-weight: 700;
    padding: .25rem .7rem; border-radius: 999px;
}
.jdw-soon-tag {
    background: #fff3d9; color: #b7791f; font-size: .72rem; font-weight: 700;
    padding: .25rem .7rem; border-radius: 999px;
}

/* Item card */
.jdw-item-wrap { transition: opacity .2s ease; }
.jdw-item {
    display: flex;
    gap: .9rem;
    background: #fff;
    border-radius: 14px;
    padding: 1rem 1.1rem;
    height: 100%;
    box-shadow: 0 4px 14px rgba(15,61,145,.07);
    transition: transform .25s ease, box-shadow .25s ease;
}
.jdw-item:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(15,61,145,.15); }

.jdw-item-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e8f0fe, #d9e8ff);
    color: var(--db-blue-bright,#1A73E8);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.jdw-item:hover .jdw-item-icon { transform: scale(1.12) rotate(-6deg); }

.jdw-item-body { flex: 1; min-width: 0; }
.jdw-item-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .4rem; flex-wrap: wrap; }
.jdw-jenis-badge { font-size: .68rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; }
.jdw-jenis-rundown { background: #e8f0fe; color: var(--db-blue-bright,#1A73E8); }
.jdw-jenis-persiapan { background: #fff3d9; color: #b7791f; }
.jdw-jenis-rutin { background: #e6f9ee; color: #1e9e5f; }
.jdw-item-time { font-size: .76rem; color: #7c94b8; font-weight: 600; white-space: nowrap; }

.jdw-item-title { font-weight: 700; color: var(--db-blue-navy,#0a2c6e); font-size: .92rem; margin-bottom: .3rem; }
.jdw-item-meta { font-size: .8rem; color: #7c94b8; margin: 0 0 .4rem; }
.jdw-item-event {
    display: inline-block;
    font-size: .72rem;
    color: var(--db-blue-dark,#0F3D91);
    background: #f0f6ff;
    padding: .2rem .6rem;
    border-radius: 999px;
    font-weight: 600;
}

/* Empty */
.jdw-empty { text-align: center; padding: 4rem 1rem; color: #a9c2ee; }
.jdw-empty i { font-size: 3rem; display: block; margin-bottom: 1rem; opacity: .5; }
.jdw-empty p { font-size: 1rem; }

@media (max-width: 575.98px) {
    .jdw-hero-title { font-size: 1.7rem; }
    .jdw-day { gap: .8rem; }
    .jdw-day-marker { width: 48px; }
    .jdw-day-dot { width: 48px; height: 48px; border-radius: 12px; }
    .jdw-day-num { font-size: .95rem; }
}                                                                                                                                               
.pan-avatar-img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
/* Foto asli di avatar kartu panitia publik */
.org-card { cursor: pointer; }
.org-avatar-photo { padding: 0; overflow: hidden; }
.org-avatar-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* Modal detail panitia */
.pan-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6,20,40,.6);
    backdrop-filter: blur(3px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    padding: 1rem;
}
.pan-modal-overlay.show { opacity: 1; pointer-events: auto; }

.pan-modal {
    background: #fff;
    border-radius: 22px;
    padding: 2.2rem 1.8rem 1.8rem;
    width: 100%;
    max-width: 380px;
    text-align: center;
    position: relative;
    box-shadow: 0 24px 60px rgba(15,61,145,.28);
    transform: scale(.85) translateY(20px);
    opacity: 0;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), opacity .25s ease;
}
.pan-modal-overlay.show .pan-modal { transform: scale(1) translateY(0); opacity: 1; }

.pan-modal-close {
    position: absolute;
    top: 14px; right: 14px;
    width: 34px; height: 34px;
    border-radius: 50%;
    border: none;
    background: #f1f4f9;
    color: #55668a;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.pan-modal-close:hover { background: #e4e9f2; transform: rotate(90deg); }

.pan-modal-photo {
    width: 110px; height: 110px;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--db-blue-bright,#1A73E8), var(--db-blue-dark,#0F3D91));
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 24px rgba(26,115,232,.35);
    overflow: hidden;
}
.pan-modal-photo img { width: 100%; height: 100%; object-fit: cover; }
.pan-modal-photo span { color: #fff; font-size: 2rem; font-weight: 800; }

.pan-modal-name { font-weight: 800; color: var(--db-blue-navy,#0a2c6e); margin-bottom: .3rem; }
.pan-modal-jabatan { color: #7c94b8; font-size: .95rem; margin-bottom: .8rem; }
.pan-modal-seksi {
    display: inline-block;
    background: #eef4ff;
    color: var(--db-blue-dark,#0F3D91);
    font-size: .8rem;
    font-weight: 600;
    padding: .35rem .9rem;
    border-radius: 999px;
    margin-bottom: 1.2rem;
}
.pan-modal-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    color: #45557a;
    font-size: .92rem;
    margin-bottom: 1.2rem;
}
.pan-modal-contact i { color: var(--db-blue-bright,#1A73E8); }
.pan-modal-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    background: linear-gradient(135deg, #25d366, #1ea952);
    color: #fff;
    font-weight: 700;
    font-size: .92rem;
    padding: .75rem;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(37,211,102,.3);
    transition: transform .2s ease;
}
.pan-modal-wa-btn:hover { transform: translateY(-2px); color: #fff; }
/* =========================================================
   FORM TAMBAH/EDIT PANITIA
   ========================================================= */

/* Input manual "Lainnya" — transisi halus saat muncul */
.pan-manual-input {
    animation: ev-fade-in .3s ease forwards;
}

/* Catatan info di section akun login */
.pan-link-note {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    background: #f0f6ff;
    border: 1px solid #d9e8ff;
    border-radius: 10px;
    padding: .8rem 1rem;
    font-size: .82rem;
    color: #45557a;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}
.pan-link-note i { color: var(--db-blue-bright); margin-top: 2px; flex-shrink: 0; }

/* Upload foto — preview bulat seperti avatar */
.pan-upload-box {
    min-height: 220px;
    padding: 1.5rem;
}
.pan-upload-placeholder { text-align: center; color: #8ba3c9; }
.pan-upload-placeholder i { font-size: 3rem; color: var(--db-blue-bright); margin-bottom: .6rem; display: block; opacity: .7; }
.pan-upload-preview {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 6px 18px rgba(15,61,145,.2);
    border: 3px solid #fff;
}
/* =========================================================
   MANAJEMEN PENGGUNA
   ========================================================= */

/* Chip role di stat strip (non-filter, murni info) */
.usr-role-chip { cursor: default; }
.usr-role-chip:hover { transform: none; box-shadow: 0 2px 6px rgba(15,61,145,.05); }

/* Kolom nama + avatar */
.usr-name-cell {
    display: flex;
    align-items: center;
    gap: .7rem;
}
.usr-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .85rem;
    color: #fff;
    flex-shrink: 0;
}
.usr-avatar-role-primary   { background: linear-gradient(135deg, var(--db-blue-bright), var(--db-blue-dark)); }
.usr-avatar-role-success   { background: linear-gradient(135deg, #38ef7d, #11998e); }
.usr-avatar-role-warning   { background: linear-gradient(135deg, #f7971e, #ffd200); color: #4a3200; }
.usr-avatar-role-danger    { background: linear-gradient(135deg, #e0546a, #c31432); }
.usr-avatar-role-info      { background: linear-gradient(135deg, #38bdf8, #0ea5e9); }
.usr-avatar-role-secondary { background: linear-gradient(135deg, #94a3b8, #64748b); }
.usr-avatar-role-dark      { background: linear-gradient(135deg, #334155, #0f172a); }

.usr-username { font-size: .78rem; color: #9db3d6; margin-top: 1px; }
.usr-you-tag {
    display: inline-block;
    background: #e8f0fe;
    color: var(--db-blue-bright);
    font-size: .64rem;
    font-weight: 700;
    padding: .1rem .45rem;
    border-radius: 999px;
    margin-left: .4rem;
    text-transform: uppercase;
    letter-spacing: .03em;
}

/* Kontak */
.usr-contact-cell { font-size: .82rem; color: #45557a; line-height: 1.6; }
.usr-icon-muted { width: 14px; color: #9db3d6; margin-right: .3rem; }

/* Lock ikon pengganti tombol hapus untuk akun sendiri */
.usr-self-lock { width: 32px; height: 32px; display: inline-flex; align-items:
 center; justify-content: center; color: #cbd5e1; font-size: .78rem; }
 /* =========================================================
   FORM TAMBAH PENGGUNA
   ========================================================= */

/* Toggle show/hide password */
.usr-password-wrap { position: relative; }
.usr-password-wrap .ev-input { padding-right: 2.6rem; }
.usr-toggle-password {
    position: absolute;
    right: .7rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9db3d6;
    font-size: .9rem;
    cursor: pointer;
    padding: .3rem;
    transition: color .2s ease;
}
.usr-toggle-password:hover { color: var(--db-blue-bright); }

/* Indikator kekuatan password */
.usr-strength-bar {
    width: 100%;
    height: 6px;
    background: #eef1f6;
    border-radius: 999px;
    margin-top: .7rem;
    overflow: hidden;
}
.usr-strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    transition: width .3s ease, background .3s ease;
}
.usr-strength-weak { background: #d64545; }
.usr-strength-medium { background: #f7971e; }
.usr-strength-strong { background: #1e9e5f; }
.usr-strength-text {
    font-size: .74rem;
    color: #9db3d6;
    margin-top: .4rem;
}

/* Status toggle Aktif/Nonaktif */
.usr-status-toggle {
    display: flex;
    gap: .8rem;
}
.usr-status-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    border: 1.5px solid #e2ebfb;
    border-radius: 12px;
    padding: .85rem;
    cursor: pointer;
    font-weight: 600;
    font-size: .88rem;
    color: #7c94b8;
    transition: all .2s ease;
    position: relative;
}
.usr-status-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.usr-status-option:hover { transform: translateY(-2px); }
.usr-status-option:has(input:checked) { box-shadow: 0 4px 14px rgba(0,0,0,.1); }

.usr-status-aktif i { color: #1e9e5f; }
.usr-status-aktif:has(input:checked) {
    background: linear-gradient(135deg, #38ef7d, #11998e);
    border-color: transparent;
    color: #fff;
}
.usr-status-aktif:has(input:checked) i { color: #fff; }

.usr-status-nonaktif i { color: #94a3b8; }
.usr-status-nonaktif:has(input:checked) {
    background: linear-gradient(135deg, #94a3b8, #64748b);
    border-color: transparent;
    color: #fff;
}
.usr-status-nonaktif:has(input:checked) i { color: #fff; }

/* Pilihan role */
.usr-role-options {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.usr-role-option {
    display: flex;
    align-items: center;
    gap: .75rem;
    border: 1.5px solid #e2ebfb;
    border-radius: 12px;
    padding: .7rem .9rem;
    cursor: pointer;
    transition: all .2s ease;
    position: relative;
}
.usr-role-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.usr-role-option:hover { transform: translateY(-2px); background: #f9fbff; }

.usr-role-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: #eef1f6;
    color: #7c94b8;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem;
    flex-shrink: 0;
    transition: all .2s ease;
}
.usr-role-text { font-weight: 600; font-size: .86rem; color: var(--db-blue-navy); }

.usr-role-active {
    border-color: var(--db-blue-bright);
    background: #f1f6ff;
    box-shadow: 0 0 0 3px rgba(26,115,232,.1);
}
.usr-role-active .usr-role-icon {
    background: linear-gradient(135deg, var(--db-blue-bright), var(--db-blue-dark));
    color: #fff;
}
/* =========================================================
   GALERI PUBLIK — Filter, Grid Album, Lightbox (tema pub-*)
   ========================================================= */

.pub-gallery-section { padding: 1rem 0 4rem; }

/* Filter bar */
.pub-filter-bar {
    background: #fff;
    border-radius: 18px;
    padding: 1.1rem 1.4rem;
    box-shadow: 0 6px 20px rgba(15,61,145,.08);
    margin-bottom: 2rem;
}
.pub-filter-form {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.pub-filter-label {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    font-weight: 700;
    color: var(--db-blue-navy,#0a2c6e);
    white-space: nowrap;
}
.pub-filter-label i { color: var(--db-blue-bright,#1A73E8); }
.pub-filter-select-wrap {
    position: relative;
    flex: 1;
    min-width: 220px;
    max-width: 380px;
}
.pub-filter-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    border: 1.5px solid #e2ebfb;
    background: #f7faff;
    border-radius: 999px;
    padding: .6rem 2.4rem .6rem 1.1rem;
    font-size: .88rem;
    font-weight: 600;
    color: var(--db-blue-navy,#0a2c6e);
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}
.pub-filter-select:focus {
    outline: none;
    border-color: var(--db-blue-bright,#1A73E8);
    background: #fff;
}
.pub-filter-caret {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--db-blue-bright,#1A73E8);
    font-size: .78rem;
    pointer-events: none;
}
.pub-filter-reset {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: #fdeeee;
    color: #d64545;
    font-size: .82rem;
    font-weight: 600;
    padding: .55rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    transition: background .2s ease;
}
.pub-filter-reset:hover { background: #d64545; color: #fff; }

/* Empty state */
.pub-empty-state {
    text-align: center;
    padding: 4rem 1rem;
    color: #a9c2ee;
}
.pub-empty-state i { font-size: 3rem; display: block; margin-bottom: 1rem; opacity: .5; }
.pub-empty-state p { font-size: 1rem; }

/* Album card (tumpukan foto) */
.pub-album-card { cursor: pointer; }

.pub-album-stack { position: relative; aspect-ratio: 4 / 3; }
.pub-stack-layer {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: #dbe6fa;
    box-shadow: 0 3px 8px rgba(15,61,145,.08);
}
.pub-stack-layer-1 { transform: rotate(-4deg) scale(.97); background: #cfe0fb; z-index: 1; }
.pub-stack-layer-2 { transform: rotate(5deg) scale(.94); background: #e4edfc; z-index: 0; }

.pub-album-cover {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: #eef1f6;
    box-shadow: 0 6px 16px rgba(15,61,145,.14);
    transition: transform .25s ease, box-shadow .25s ease;
}
.pub-album-card:hover .pub-album-cover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 30px rgba(15,61,145,.22);
}
.pub-album-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pub-album-count {
    position: absolute;
    top: 10px; right: 10px;
    background: rgba(6,20,40,.65);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: .76rem;
    font-weight: 700;
    padding: .3rem .7rem;
    border-radius: 999px;
    display: flex; align-items: center; gap: .35rem;
}

.pub-album-info { padding: .8rem .2rem 0; }
.pub-album-title {
    font-weight: 700;
    font-size: .92rem;
    color: var(--db-blue-navy,#0a2c6e);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pub-album-meta { font-size: .78rem; color: #7c94b8; margin-top: .2rem; }

/* Lightbox */
.pub-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(6,20,40,.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease;
    padding: 2rem;
}
.pub-lightbox-show { opacity: 1; visibility: visible; }

.pub-lightbox-card {
    display: flex;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    width: 920px;
    height: 600px;
    max-width: 92vw;
    max-height: 88vh;
    box-shadow: 0 25px 60px rgba(0,0,0,.4);
    transform: scale(.9);
    opacity: 0;
    transition: transform .3s cubic-bezier(.34,1.2,.64,1), opacity .25s ease;
}
.pub-lightbox-show .pub-lightbox-card { transform: scale(1); opacity: 1; }

.pub-lightbox-image-wrap {
    position: relative;
    flex: 1.4;
    background: #0a1524;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 100%;
    overflow: hidden;
}
.pub-lightbox-image-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity .18s ease;
}
.pub-lightbox-counter {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(6,20,40,.6);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: .74rem;
    font-weight: 600;
    padding: .3rem .8rem;
    border-radius: 999px;
}

.pub-lightbox-info {
    flex: 1;
    min-width: 260px;
    max-width: 320px;
    height: 100%;
    padding: 1.8rem 1.6rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.pub-lightbox-event-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    align-self: flex-start;
    background: #e8f0fe;
    color: var(--db-blue-dark,#0F3D91);
    font-size: .8rem;
    font-weight: 700;
    padding: .4rem .85rem;
    border-radius: 999px;
    margin-bottom: 1.3rem;
}
.pub-lightbox-caption-title {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #9db3d6;
    font-weight: 700;
    margin-bottom: .5rem;
}
.pub-lightbox-caption-text {
    font-size: .92rem;
    color: #33465f;
    line-height: 1.65;
    margin: 0;
}

.pub-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background .2s ease, transform .2s ease;
}
.pub-nav-btn:hover { background: rgba(255,255,255,.25); }
.pub-nav-prev { left: 24px; }
.pub-nav-prev:hover { transform: translateY(-50%) translateX(-3px); }
.pub-nav-next { right: 24px; }
.pub-nav-next:hover { transform: translateY(-50%) translateX(3px); }

.pub-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 11;
    transition: background .2s ease, transform .2s ease;
}
.pub-lightbox-close:hover { background: rgba(255,255,255,.2); transform: rotate(90deg); }

/* Animasi reveal (fallback kalau belum pakai pub-fade-up) */
.pub-reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; transition-delay: var(--delay, 0s); }
.pub-reveal.pub-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 767.98px) {
    .pub-filter-form { flex-direction: column; align-items: stretch; }
    .pub-filter-select-wrap { max-width: none; }
    .pub-lightbox-card {
        flex-direction: column;
        width: 92vw;
        height: 82vh;
        border-radius: 16px;
    }
    .pub-lightbox-image-wrap { flex: none; height: 45%; }
    .pub-lightbox-info { max-width: none; height: 55%; padding: 1.2rem; }
    .pub-nav-btn { width: 40px; height: 40px; font-size: .95rem; }
    .pub-nav-prev { left: 10px; }
    .pub-nav-next { right: 10px; }
}
/* =========================================================
   DONASI PUBLIK — Kartu modern dengan progress bar animasi
   ========================================================= */

.don-section { padding: 1rem 0 4rem; }

.don-empty { text-align: center; padding: 4rem 1rem; color: #a9c2ee; }
.don-empty i { font-size: 3rem; display: block; margin-bottom: 1rem; opacity: .5; }
.don-empty p { font-size: 1rem; }

/* Statistik hero rupiah (lebih kecil dari angka biasa karena lebih panjang) */
.org-stat-value-rupiah { font-size: 1.25rem; }

/* Kartu donasi */
.don-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 6px 20px rgba(15,61,145,.08);
    position: relative;
    transition: transform .3s ease, box-shadow .3s ease;
}
.don-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15,61,145,.18);
}

.don-card-banner {
    height: 160px;
    background-size: cover;
    background-position: center;
    background-color: #eaf2ff;
}
.don-card-banner-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dceaff, #bcd8ff);
    color: var(--db-blue-bright,#1A73E8);
    font-size: 2.4rem;
}

.don-card-badge {
    position: absolute;
    top: 14px; right: 14px;
    z-index: 2;
    padding: .4rem .9rem;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 700;
    color: #fff;
}
.don-card-badge-full {
    background: linear-gradient(135deg, #38ef7d, #11998e);
    box-shadow: 0 4px 14px rgba(17,153,142,.4);
}

.don-card-body { padding: 1.4rem 1.5rem 1.6rem; }
.don-card-title { font-weight: 700; color: var(--db-blue-navy,#0a2c6e); margin-bottom: .2rem; }
.don-card-tema { color: #7c94b8; font-size: .85rem; margin-bottom: 1.1rem; }

.don-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: .5rem;
    gap: .5rem;
}
.don-progress-amount { display: flex; flex-direction: column; }
.don-amount-collected { font-weight: 800; font-size: 1.15rem; color: var(--db-blue-navy,#0a2c6e); }
.don-amount-target { font-size: .78rem; color: #9db3d6; }
.don-progress-percent {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--db-blue-bright,#1A73E8);
    flex-shrink: 0;
}

.don-progress-track {
    height: 12px;
    border-radius: 999px;
    background: #eaf1fd;
    overflow: hidden;
    margin-bottom: 1.1rem;
}
.don-progress-fill {
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--db-blue-bright,#1A73E8), var(--db-blue-dark,#0F3D91));
    transition: width 1.1s cubic-bezier(.22,1,.36,1);
    position: relative;
    overflow: hidden;
}
.don-progress-fill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
    animation: don-shimmer 2s ease-in-out infinite;
}
@keyframes don-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.don-progress-fill-full { background: linear-gradient(90deg, #38ef7d, #11998e); }

.don-card-meta {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    font-size: .8rem;
    color: #7c94b8;
    margin-bottom: 1.3rem;
}
.don-card-meta i { margin-right: .35rem; color: var(--db-blue-bright,#1A73E8); }

.don-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    background: linear-gradient(135deg, var(--db-blue-bright,#1A73E8), var(--db-blue-dark,#0F3D91));
    color: #fff;
    font-weight: 700;
    font-size: .92rem;
    padding: .85rem;
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(26,115,232,.3);
    transition: transform .2s ease, box-shadow .2s ease;
}
.don-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(26,115,232,.4);
    color: #fff;
}

@media (max-width: 575.98px) {
    .don-card-banner { height: 130px; }
    .don-progress-info { flex-direction: column; align-items: flex-start; gap: .3rem; }
}
/* =========================================================
   FORM DONASI PUBLIK — Hero event + form modern
   ========================================================= */

.pdn-hero { padding: 7rem 0 1rem; background: #fff; }
.pdn-back-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--db-blue-dark,#0F3D91);
    font-weight: 600;
    font-size: .88rem;
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: transform .2s ease;
}
.pdn-back-link:hover { color: var(--db-blue-bright,#1A73E8); transform: translateX(-3px); }

.pdn-event-card {
    display: flex;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15,61,145,.12);
}
.pdn-event-banner {
    width: 240px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-color: #eaf2ff;
}
.pdn-event-banner-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dceaff, #bcd8ff);
    color: var(--db-blue-bright,#1A73E8);
    font-size: 2.4rem;
}
.pdn-event-info { padding: 1.6rem 1.8rem; flex: 1; }
.pdn-event-title { font-weight: 700; color: var(--db-blue-navy,#0a2c6e); margin-bottom: .2rem; }
.pdn-event-tema { color: #7c94b8; font-size: .85rem; margin-bottom: 1rem; }

.pdn-progress-info { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: .5rem; gap: .5rem; }
.pdn-amount-collected { font-weight: 800; font-size: 1.1rem; color: var(--db-blue-navy,#0a2c6e); }
.pdn-amount-target { font-size: .78rem; color: #9db3d6; margin-left: .4rem; }
.pdn-progress-percent { font-size: 1.2rem; font-weight: 800; color: var(--db-blue-bright,#1A73E8); }

.pdn-progress-track { height: 10px; border-radius: 999px; background: #eaf1fd; overflow: hidden; }
.pdn-progress-fill {
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--db-blue-bright,#1A73E8), var(--db-blue-dark,#0F3D91));
    transition: width 1.1s cubic-bezier(.22,1,.36,1);
}

/* Form card */
.pdn-form-section { padding: 2.5rem 0 4rem; }
.pdn-form-card { background: #fff; border-radius: 22px; padding: 2rem 2.2rem; box-shadow: 0 6px 20px rgba(15,61,145,.08); }

.pdn-form-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.pdn-form-header-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--db-blue-bright,#1A73E8), var(--db-blue-dark,#0F3D91));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.pdn-form-header h5 { font-weight: 700; color: var(--db-blue-navy,#0a2c6e); margin: 0; }
.pdn-form-header p { color: #7c94b8; font-size: .85rem; margin: 0; }

.pdn-alert-error {
    display: flex;
    align-items: center;
    gap: .6rem;
    background: #fdeeee;
    color: #b91c1c;
    padding: .8rem 1.1rem;
    border-radius: 12px;
    font-size: .88rem;
    margin-bottom: 1.3rem;
}

.pdn-label { display: block; font-size: .85rem; font-weight: 600; color: var(--db-blue-navy,#0a2c6e); margin-bottom: .4rem; }
.pdn-req { color: #d64545; }

.pdn-input-icon { position: relative; }
.pdn-input-icon i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #9db3d6; font-size: .88rem; }
.pdn-input {
    width: 100%;
    border: 1.5px solid #e2ebfb;
    background: #f9fbff;
    border-radius: 12px;
    padding: .72rem 1rem .72rem 2.6rem;
    font-size: .9rem;
    color: var(--db-blue-navy,#0a2c6e);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.pdn-input:focus { outline: none; border-color: var(--db-blue-bright,#1A73E8); box-shadow: 0 0 0 3px rgba(26,115,232,.12); background: #fff; }
.pdn-textarea { padding-left: 1rem; resize: vertical; }

.pdn-quick-amounts { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .6rem; }
.pdn-quick-btn {
    border: 1.5px solid #e2ebfb;
    background: #fff;
    color: var(--db-blue-dark,#0F3D91);
    font-size: .8rem;
    font-weight: 600;
    padding: .4rem .9rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all .2s ease;
}
.pdn-quick-btn:hover { border-color: var(--db-blue-bright,#1A73E8); transform: translateY(-2px); }
.pdn-quick-btn.active {
    background: linear-gradient(135deg, var(--db-blue-bright,#1A73E8), var(--db-blue-dark,#0F3D91));
    border-color: transparent;
    color: #fff;
}

.pdn-bank-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #eef4ff;
    border: 1px dashed #b9d0f7;
    border-radius: 14px;
    padding: 1rem 1.2rem;
    margin-top: 1.2rem;
}
.pdn-bank-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--db-blue-bright,#1A73E8), var(--db-blue-dark,#0F3D91));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.pdn-bank-label { font-size: .76rem; color: #7c94b8; }
.pdn-bank-detail { font-weight: 700; color: var(--db-blue-navy,#0a2c6e); font-size: .92rem; }
.pdn-bank-atas { font-size: .82rem; color: #45557a; }

.pdn-upload-box {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 130px;
    border: 2px dashed #cfe0fb;
    border-radius: 14px;
    background: #f7faff;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}
.pdn-upload-box:hover { border-color: var(--db-blue-bright,#1A73E8); background: #eef4ff; }
.pdn-upload-placeholder, .pdn-upload-selected { padding: 1.2rem; }
.pdn-upload-placeholder i { font-size: 1.8rem; color: var(--db-blue-bright,#1A73E8); margin-bottom: .5rem; display: block; }
.pdn-upload-selected i { font-size: 1.8rem; color: #1e9e5f; margin-bottom: .5rem; display: block; }
.pdn-upload-text { font-weight: 600; font-size: .88rem; color: var(--db-blue-navy,#0a2c6e); }
.pdn-upload-filename { font-weight: 600; font-size: .88rem; color: var(--db-blue-navy,#0a2c6e); word-break: break-word; }
.pdn-upload-hint { font-size: .76rem; color: #9db3d6; margin-top: .2rem; }

.pdn-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    background: linear-gradient(135deg, var(--db-blue-bright,#1A73E8), var(--db-blue-dark,#0F3D91));
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: .95rem;
    padding: .9rem;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(26,115,232,.32);
    transition: transform .2s ease, box-shadow .2s ease;
}
.pdn-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(26,115,232,.4); }

@media (max-width: 767.98px) {
    .pdn-event-card { flex-direction: column; }
    .pdn-event-banner { width: 100%; height: 140px; }
    .pdn-form-card { padding: 1.5rem 1.2rem; }
}
/* =========================================================
   PROFIL SAYA
   ========================================================= */

/* Cover + avatar */
.prof-cover {
    position: relative;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15,61,145,.08);
    margin-bottom: 2rem;
    padding-bottom: 1.8rem;
    text-align: center;
}
.prof-cover-bg {
    height: 110px;
    background: linear-gradient(135deg, var(--db-blue-navy) 0%, var(--db-blue-dark) 55%, var(--db-blue-bright) 100%);
}
.prof-avatar-wrap {
    margin-top: -55px;
    display: flex;
    justify-content: center;
}
.prof-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--db-blue-bright), var(--db-blue-dark));
    color: #fff;
    font-size: 2.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid #fff;
    box-shadow: 0 8px 24px rgba(15,61,145,.28);
}
.prof-cover-info { margin-top: .9rem; }
.prof-name { font-weight: 700; color: var(--db-blue-navy); margin-bottom: .5rem; }
.prof-role-badge { font-size: .8rem; padding: .4rem .9rem; }
.prof-username {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    font-size: .82rem;
    color: #9db3d6;
    margin-top: .6rem;
}

/* Readonly note (username) */
.prof-readonly-note {
    font-size: .74rem;
    color: #9db3d6;
    margin-top: .4rem;
}
.prof-readonly-note i { margin-right: .3rem; }

/* Ringkasan akun */
.prof-info-item {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    margin-bottom: 1rem;
}
.prof-info-item:last-child { margin-bottom: 0; }

@media (max-width: 575.98px) {
    .prof-avatar { width: 88px; height: 88px; font-size: 2.1rem; }
    .prof-avatar-wrap { margin-top: -44px; }
}
/* =========================================================
   EVALUASI & LESSON LEARNED
   ========================================================= */
.eval-card { overflow: visible; }

.eval-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #eaf1fd;
    flex-wrap: wrap;
}
.eval-version-tag {
    display: flex;
    align-items: center;
    gap: .6rem;
}
.eval-version-num {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--db-blue-navy);
}
.eval-latest-badge {
    background: linear-gradient(135deg, var(--db-blue-bright), var(--db-blue-dark));
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    padding: .22rem .6rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.eval-kepuasan-badge { font-size: .8rem; padding: .4rem .85rem; }

.eval-meta {
    font-size: .8rem;
    color: #7c94b8;
    margin-bottom: 0;
}
.eval-meta i { margin-right: .25rem; color: #9db3d6; }
.eval-meta strong { color: var(--db-blue-navy); }

.eval-point {
    height: 100%;
    border-radius: 12px;
    padding: 1rem 1.1rem;
    border-left: 4px solid #cbd5e1;
    background: #f9fbff;
}
.eval-point-header {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    font-size: .86rem;
    margin-bottom: .5rem;
}
.eval-point-text {
    font-size: .86rem;
    color: #45557a;
    line-height: 1.6;
    margin: 0;
}

.eval-point-kendala { border-left-color: #f7971e; background: #fff9ef; }
.eval-point-kendala .eval-point-header { color: #b7791f; }

.eval-point-solusi { border-left-color: var(--db-blue-bright); background: #f0f6ff; }
.eval-point-solusi .eval-point-header { color: var(--db-blue-dark); }

.eval-point-rekomendasi { border-left-color: #8b5cf6; background: #f6f3ff; }
.eval-point-rekomendasi .eval-point-header { color: #6d28d9; }

.eval-point-best { border-left-color: #1e9e5f; background: #f0faf4; }
.eval-point-best .eval-point-header { color: #15803d; }

.eval-actions-row {
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px dashed #eaf1fd;
}
/* =========================================================
   BERANDA — Fitur baru: countdown, pemilih statistik, sambutan
   ========================================================= */

/* Countdown kegiatan terdekat */
.pub-countdown-section { padding: 2.5rem 0 0; }
.pub-countdown-card {
    background: linear-gradient(135deg, var(--db-blue-navy,#0a2c6e), var(--db-blue-dark,#0F3D91));
    border-radius: 22px;
    padding: 1.8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    box-shadow: 0 12px 32px rgba(15,61,145,.25);
}
.pub-countdown-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,.15);
    color: #fff;
    font-size: .76rem;
    font-weight: 700;
    padding: .3rem .8rem;
    border-radius: 999px;
    margin-bottom: .6rem;
}
.pub-countdown-title { color: #fff; font-weight: 700; margin-bottom: .2rem; }
.pub-countdown-loc { color: rgba(255,255,255,.75); font-size: .85rem; margin: 0; }

.pub-countdown-timer { display: flex; gap: .7rem; }
.pub-countdown-box {
    background: rgba(255,255,255,.12);
    border-radius: 14px;
    padding: .7rem .9rem;
    text-align: center;
    min-width: 64px;
}
.pub-countdown-box span { display: block; font-size: 1.5rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.pub-countdown-box small { font-size: .68rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .04em; }

/* Statistik: head + pemilih kegiatan */
.pub-stats-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.6rem;
}
.pub-stats-head h4 { font-weight: 700; color: var(--db-blue-navy,#0a2c6e); margin-bottom: .2rem; }

.pub-event-selector-wrap { position: relative; min-width: 240px; }
.pub-event-selector {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    border: 1.5px solid #d9e8ff;
    background: #fff;
    border-radius: 999px;
    padding: .6rem 2.2rem .6rem 2.4rem;
    font-size: .86rem;
    font-weight: 600;
    color: var(--db-blue-navy,#0a2c6e);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15,61,145,.08);
    transition: border-color .2s ease;
}
.pub-event-selector:focus { outline: none; border-color: var(--db-blue-bright,#1A73E8); }
.pub-event-selector-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--db-blue-bright,#1A73E8); font-size: .8rem; pointer-events: none; }
.pub-event-selector-caret { position: absolute; right: .9rem; top: 50%; transform: translateY(-50%); color: #9db3d6; font-size: .75rem; pointer-events: none; }

/* Transisi halus saat kartu statistik berganti data */
.pub-stat-card { transition: transform .25s ease, box-shadow .25s ease, opacity .2s ease; }
.pub-stat-card.pub-stat-updating { opacity: .35; transform: scale(.97); }

/* Progress bar tambahan saat kegiatan spesifik dipilih */
.pub-stat-progress-wrap { margin-top: 1.2rem; }
.pub-stat-progress-card { background: #fff; border-radius: 16px; padding: 1.2rem 1.5rem; box-shadow: 0 6px 20px rgba(15,61,145,.08); }
.pub-progress-info { display: flex; justify-content: space-between; font-size: .86rem; margin-bottom: .6rem; }
.pub-progress-info span:first-child { color: #45557a; font-weight: 600; }
.pub-progress-info span:last-child { color: var(--db-blue-bright,#1A73E8); font-weight: 800; }
.pub-progress-track { height: 10px; border-radius: 999px; background: #eaf1fd; overflow: hidden; }
.pub-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--db-blue-bright,#1A73E8), var(--db-blue-dark,#0F3D91));
    transition: width 1s cubic-bezier(.22,1,.36,1);
}

/* Kata sambutan */
.pub-sambutan-section { padding: 2.5rem 0 4rem; }
.pub-sambutan-card {
    background: linear-gradient(160deg, #f7faff, #eaf2ff);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    box-shadow: 0 6px 20px rgba(15,61,145,.06);
}
.pub-sambutan-icon {
    width: 52px; height: 52px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--db-blue-bright,#1A73E8), var(--db-blue-dark,#0F3D91));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}
.pub-sambutan-text { font-size: 1.05rem; color: #33465f; line-height: 1.75; font-style: italic; margin-bottom: 1.5rem; }
.pub-sambutan-author { display: flex; align-items: center; justify-content: center; gap: .8rem; }
.pub-sambutan-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #fff;
    color: var(--db-blue-bright,#1A73E8);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(15,61,145,.15);
}
.pub-sambutan-name { font-weight: 700; color: var(--db-blue-navy,#0a2c6e); font-size: .9rem; }
.pub-sambutan-role { font-size: .78rem; color: #7c94b8; }

/* Tombol scroll to top */
.pub-back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--db-blue-bright,#1A73E8), var(--db-blue-dark,#0F3D91));
    color: #fff;
    border: none;
    font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px rgba(26,115,232,.4);
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
}
.pub-back-to-top.pub-show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.pub-back-to-top:hover { transform: translateY(-4px); }

@media (max-width: 767.98px) {
    .pub-countdown-card { flex-direction: column; align-items: flex-start; }
    .pub-countdown-timer { width: 100%; justify-content: space-between; }
    .pub-countdown-box { min-width: 0; flex: 1; padding: .6rem .4rem; }
    .pub-stats-head { flex-direction: column; align-items: flex-start; }
    .pub-event-selector-wrap { width: 100%; }
}
/* =========================================================
   BERANDA v2 — Layout padat + fitur baru + navbar mobile
   ========================================================= */

.pub-countdown-section { padding: 2.5rem 0 0; }
.pub-countdown-card {
    background: linear-gradient(135deg, var(--db-blue-navy,#0a2c6e), var(--db-blue-dark,#0F3D91));
    border-radius: 22px; padding: 1.6rem 1.8rem;
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.2rem;
    box-shadow: 0 12px 32px rgba(15,61,145,.25);
}
.pub-countdown-badge { display: inline-flex; align-items: center; background: rgba(255,255,255,.15); color: #fff; font-size: .74rem; font-weight: 700; padding: .3rem .8rem; border-radius: 999px; margin-bottom: .5rem; }
.pub-countdown-title { color: #fff; font-weight: 700; margin-bottom: .2rem; font-size: 1.1rem; }
.pub-countdown-loc { color: rgba(255,255,255,.75); font-size: .82rem; margin: 0; }
.pub-countdown-timer { display: flex; gap: .6rem; }
.pub-countdown-box { background: rgba(255,255,255,.12); border-radius: 12px; padding: .6rem .8rem; text-align: center; min-width: 58px; }
.pub-countdown-box span { display: block; font-size: 1.3rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.pub-countdown-box small { font-size: .64rem; color: rgba(255,255,255,.7); text-transform: uppercase; }

/* Statistik + grafik berdampingan */
.pub-analytics-section { padding: 2.5rem 0; }
.pub-analytics-card { background: #fff; border-radius: 20px; padding: 1.6rem 1.7rem; box-shadow: 0 6px 20px rgba(15,61,145,.08); }

.pub-stats-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.2rem; }
.pub-stats-head h4 { font-weight: 700; color: var(--db-blue-navy,#0a2c6e); font-size: 1rem; margin: 0; }

.pub-event-selector-wrap { position: relative; min-width: 180px; }
.pub-event-selector {
    width: 100%; appearance: none; -webkit-appearance: none;
    border: 1.5px solid #d9e8ff; background: #f7faff; border-radius: 999px;
    padding: .5rem 1.8rem .5rem 2.1rem; font-size: .8rem; font-weight: 600;
    color: var(--db-blue-navy,#0a2c6e); cursor: pointer;
}
.pub-event-selector-icon { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--db-blue-bright,#1A73E8); font-size: .74rem; pointer-events: none; }
.pub-event-selector-caret { position: absolute; right: .8rem; top: 50%; transform: translateY(-50%); color: #9db3d6; font-size: .68rem; pointer-events: none; }

.pub-stat-card-mini {
    background: #f7faff; border-radius: 14px; padding: 1rem; text-align: center;
    transition: transform .2s ease, opacity .2s ease;
}
.pub-stat-card-mini.pub-stat-updating { opacity: .35; transform: scale(.96); }
.pub-stat-card-mini .pub-stat-icon {
    width: 38px; height: 38px; margin: 0 auto .5rem; border-radius: 10px;
    background: linear-gradient(135deg, var(--db-blue-bright,#1A73E8), var(--db-blue-dark,#0F3D91));
    color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.pub-stat-card-mini .pub-stat-num { font-size: 1.3rem; font-weight: 800; color: var(--db-blue-navy,#0a2c6e); }
.pub-stat-card-mini .pub-stat-num-text { font-size: .95rem; font-weight: 800; color: var(--db-blue-navy,#0a2c6e); }
.pub-stat-card-mini .pub-stat-label { font-size: .72rem; color: #7c94b8; margin-top: .15rem; }

.pub-stat-progress-wrap { margin-top: 1.1rem; }
.pub-progress-info { display: flex; justify-content: space-between; font-size: .8rem; margin-bottom: .5rem; }
.pub-progress-info span:first-child { color: #45557a; font-weight: 600; }
.pub-progress-info span:last-child { color: var(--db-blue-bright,#1A73E8); font-weight: 800; }
.pub-progress-track { height: 9px; border-radius: 999px; background: #eaf1fd; overflow: hidden; }
.pub-progress-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--db-blue-bright,#1A73E8), var(--db-blue-dark,#0F3D91)); transition: width 1s cubic-bezier(.22,1,.36,1); }

.pub-chart-canvas-wrap-sm { position: relative; height: 240px; width: 100%; }
.pub-chart-canvas-wrap-sm canvas { width: 100% !important; height: 100% !important; }
.pub-chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.pub-chart-head h4 { font-size: 1rem; font-weight: 700; color: var(--db-blue-navy,#0a2c6e); margin: 0; }

/* Renungan + Testimoni */
.pub-extras-section { padding: 0 0 3rem; }

.pub-renungan-card {
    background: linear-gradient(160deg, #f7faff, #eaf2ff);
    border-radius: 20px; padding: 1.8rem; position: relative; overflow: hidden;
}
.pub-renungan-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: linear-gradient(135deg, var(--db-blue-bright,#1A73E8), var(--db-blue-dark,#0F3D91));
    color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: .9rem;
}
.pub-renungan-tag { display: inline-block; font-size: .72rem; font-weight: 700; color: var(--db-blue-bright,#1A73E8); text-transform: uppercase; letter-spacing: .04em; margin-bottom: .6rem; }
.pub-renungan-text { font-size: .96rem; color: #33465f; line-height: 1.65; font-style: italic; margin-bottom: .7rem; }
.pub-renungan-ayat { font-size: .82rem; font-weight: 700; color: var(--db-blue-navy,#0a2c6e); }

.pub-testimoni-card { background: #fff; border-radius: 20px; padding: 1.8rem; box-shadow: 0 6px 20px rgba(15,61,145,.08); position: relative; display: flex; flex-direction: column; }
.pub-testimoni-icon { color: #d9e8ff; font-size: 1.6rem; margin-bottom: .5rem; }
.pub-testimoni-slides { position: relative; min-height: 110px; flex: 1; }
.pub-testimoni-slide { position: absolute; inset: 0; opacity: 0; transform: translateX(12px); transition: opacity .4s ease, transform .4s ease; pointer-events: none; }
.pub-testimoni-slide.active { opacity: 1; transform: translateX(0); pointer-events: auto; }
.pub-testimoni-text { font-size: .95rem; color: #33465f; line-height: 1.6; font-style: italic; margin-bottom: 1rem; }
.pub-testimoni-author { display: flex; align-items: center; gap: .7rem; }
.pub-testimoni-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--db-blue-bright,#1A73E8), var(--db-blue-dark,#0F3D91)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; flex-shrink: 0; }
.pub-testimoni-name { font-weight: 700; font-size: .85rem; color: var(--db-blue-navy,#0a2c6e); }
.pub-testimoni-role { font-size: .74rem; color: #9db3d6; }
.pub-testimoni-dots { display: flex; gap: .4rem; margin-top: 1rem; justify-content: center; }
.pub-testimoni-dot { width: 8px; height: 8px; border-radius: 50%; background: #d9e8ff; border: none; cursor: pointer; transition: background .2s ease, transform .2s ease; padding: 0; }
.pub-testimoni-dot.active { background: var(--db-blue-bright,#1A73E8); transform: scale(1.3); }

.pub-back-to-top {
    position: fixed; bottom: 24px; right: 24px; width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, var(--db-blue-bright,#1A73E8), var(--db-blue-dark,#0F3D91));
    color: #fff; border: none; font-size: 1rem; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px rgba(26,115,232,.4); cursor: pointer; z-index: 1000;
    opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s ease, transform .3s ease;
}
.pub-back-to-top.pub-show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.pub-back-to-top:hover { transform: translateY(-4px); }

@media (max-width: 991.98px) {
    .pub-analytics-card { padding: 1.3rem 1.2rem; }
}
@media (max-width: 767.98px) {
    .pub-countdown-card { flex-direction: column; align-items: flex-start; }
    .pub-countdown-timer { width: 100%; justify-content: space-between; }
    .pub-countdown-box { min-width: 0; flex: 1; padding: .5rem .3rem; }
    .pub-stats-head { flex-direction: column; align-items: flex-start; }
    .pub-event-selector-wrap { width: 100%; }
}
/* =========================================================
   GALERI — kartu dokumentasi kegiatan (bukan sekadar grid foto)
   ========================================================= */
.gal-doc-list { display: flex; flex-direction: column; gap: 1.2rem; }

.gal-doc-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(15,61,145,.08);
    overflow: hidden;
}

.gal-doc-header { padding: 1.3rem 1.5rem 1rem; position: relative; }
.gal-doc-title-row {
    display: flex;
    align-items: center;
    gap: .8rem;
    flex-wrap: wrap;
    margin-bottom: .6rem;
}
.gal-doc-title { font-weight: 700; color: var(--db-blue-navy); margin: 0; font-size: 1.05rem; }

.gal-doc-meta {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    font-size: .82rem;
    color: #7c94b8;
    margin-bottom: .7rem;
}
.gal-doc-meta i { margin-right: .3rem; color: #9db3d6; }

.gal-doc-desc {
    font-size: .87rem;
    color: #45557a;
    line-height: 1.65;
    background: #f9fbff;
    border-radius: 10px;
    padding: .8rem 1rem;
    margin-bottom: 0;
}

.gal-doc-delete-btn {
    position: absolute;
    top: 1.3rem; right: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: #fdeeee;
    color: #d64545;
    font-size: .78rem;
    font-weight: 600;
    padding: .4rem .8rem;
    border-radius: 999px;
    text-decoration: none;
    transition: background .2s ease;
}
.gal-doc-delete-btn:hover { background: #d64545; color: #fff; }

/* Strip thumbnail foto/video di bawah info kegiatan */
.gal-doc-strip {
    display: flex;
    gap: .6rem;
    padding: 0 1.5rem 1.4rem;
    overflow-x: auto;
    scrollbar-width: thin;
}
.gal-doc-thumb {
    position: relative;
    flex: 0 0 130px;
    width: 130px;
    height: 130px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #eef1f6;
    transition: transform .2s ease;
}
.gal-doc-thumb:hover { transform: scale(1.04); }
.gal-doc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-doc-thumb-video {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--db-blue-bright), var(--db-blue-navy));
    color: #fff;
    font-size: 1.5rem;
}
.gal-doc-thumb-more {
    position: absolute;
    inset: 0;
    background: rgba(6,20,40,.6);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 575.98px) {
    .gal-doc-header { padding: 1.1rem 1.1rem .9rem; }
    .gal-doc-strip { padding: 0 1.1rem 1.1rem; }
    .gal-doc-delete-btn { position: static; margin-top: .7rem; display: inline-flex; }
    .gal-doc-thumb { flex-basis: 100px; width: 100px; height: 100px; }
}
/* =========================================================
   GALERI PUBLIK — kartu dokumentasi kegiatan
   ========================================================= */
.gal-doc-list { display: flex; flex-direction: column; gap: 1.2rem; }

.gal-doc-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(15,61,145,.08);
    overflow: hidden;
}

.gal-doc-header { padding: 1.3rem 1.5rem 1rem; }
.gal-doc-title-row {
    display: flex;
    align-items: center;
    gap: .8rem;
    flex-wrap: wrap;
    margin-bottom: .6rem;
}
.gal-doc-title { font-weight: 700; color: #0a2c6e; margin: 0; font-size: 1.05rem; }

.pub-album-count-badge {
    background: #eef1f6;
    color: #64748b;
    font-size: .72rem;
    font-weight: 700;
    padding: .3rem .7rem;
    border-radius: 999px;
}

.gal-doc-meta {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    font-size: .82rem;
    color: #7c94b8;
    margin-bottom: .7rem;
}
.gal-doc-meta i { margin-right: .3rem; color: #9db3d6; }

.gal-doc-desc {
    font-size: .87rem;
    color: #45557a;
    line-height: 1.65;
    background: #f9fbff;
    border-radius: 10px;
    padding: .8rem 1rem;
    margin-bottom: 0;
}

.gal-doc-strip {
    display: flex;
    gap: .6rem;
    padding: 0 1.5rem 1.4rem;
    overflow-x: auto;
    scrollbar-width: thin;
}
.gal-doc-thumb {
    position: relative;
    flex: 0 0 130px;
    width: 130px;
    height: 130px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #eef1f6;
    transition: transform .2s ease;
}
.gal-doc-thumb:hover { transform: scale(1.04); }
.gal-doc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-doc-thumb-more {
    position: absolute;
    inset: 0;
    background: rgba(6,20,40,.6);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Judul & meta di panel lightbox */
.gal-lightbox-judul {
    font-weight: 700;
    font-size: 1.02rem;
    color: #0a2c6e;
    margin: .5rem 0 .4rem;
}
.gal-lightbox-meta {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    font-size: .8rem;
    color: #55668a;
    margin-bottom: .9rem;
    padding-bottom: .9rem;
    border-bottom: 1px dashed #eaf1fd;
}
.gal-lightbox-meta i { width: 14px; margin-right: .3rem; color: #9db3d6; }

@media (max-width: 575.98px) {
    .gal-doc-header { padding: 1.1rem 1.1rem .9rem; }
    .gal-doc-strip { padding: 0 1.1rem 1.1rem; }
    .gal-doc-thumb { flex-basis: 100px; width: 100px; height: 100px; }
}
/* =========================================================
   CUSTOM SELECT GALERI
   ========================================================= */

/* Filter utama */
.pub-filter-bar {
    position: relative;
    z-index: 100;
}

.pub-filter-form {
    position: relative;
    z-index: 101;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}


/* =========================================================
   SELECT WRAPPER
   ========================================================= */

.pub-custom-select {
    position: relative;
    flex: 1;
    min-width: 220px;
    max-width: 380px;
    z-index: 102;
}


/* Tombol select */

.pub-custom-select-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;

    background: #f7faff;
    border: 1px solid #e2ebfb;
    border-radius: 10px;

    padding: .65rem 1rem;

    font-size: .87rem;
    font-weight: 600;
    color: #0a2c6e;

    cursor: pointer;
    text-align: left;

    transition:
        border-color .2s ease,
        background .2s ease;
}

.pub-custom-select-btn:hover {
    border-color: #1A73E8;
    background: #eef4ff;
}

.pub-custom-select-btn i {
    color: #1A73E8;
    font-size: .78rem;
    flex-shrink: 0;
    transition: transform .2s ease;
}

.pub-select-open .pub-custom-select-btn i {
    transform: rotate(180deg);
}

.pub-custom-select-btn span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================================
   DROPDOWN DESKTOP
   ========================================================= */

.pub-custom-select-panel {
    position: absolute;

    top: calc(100% + 8px);
    left: 0;
    right: 0;

    background: #fff;

    border-radius: 16px;

    box-shadow:
        0 16px 40px rgba(10, 44, 110, .20);

    z-index: 1000;

    overflow: hidden;

    opacity: 0;
    visibility: hidden;

    transform: translateY(-8px);

    transition:
        opacity .22s ease,
        transform .22s ease,
        visibility .22s ease;

    max-height: 340px;

    display: flex;
    flex-direction: column;
}

.pub-select-open .pub-custom-select-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* Header desktop disembunyikan */

.pub-custom-select-panel-header {
    display: none;
}


/* Daftar pilihan */

.pub-custom-select-options {
    overflow-y: auto;
    padding: .5rem;
    max-height: 330px;
}

.pub-custom-select-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .7rem;

    padding: .8rem .9rem;

    border-radius: 10px;

    font-size: .88rem;
    font-weight: 600;

    color: #33465f;
    text-decoration: none;

    cursor: pointer;

    transition:
        background .15s ease,
        color .15s ease;
}

.pub-custom-select-option:hover {
    background: #f2f7ff;
    color: #0a2c6e;
}

.pub-custom-select-option.active {
    background: #e8f0fe;
    color: #0F3D91;
}

.pub-custom-select-option i {
    color: #1A73E8;
    font-size: .95rem;
    flex-shrink: 0;
}


/* =========================================================
   BACKDROP
   ========================================================= */

.pub-custom-select-backdrop {
    position: fixed;

    inset: 0;

    background: transparent;

    /*
       PENTING:
       backdrop harus berada DI BAWAH filter/dropdown.
    */
    z-index: 90;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}

.pub-custom-select-backdrop.show {
    opacity: 1;
    visibility: visible;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

    /*
       Filter tetap berada di atas backdrop
    */

    .pub-filter-bar {
        z-index: 100;
    }

    .pub-filter-form {
        z-index: 101;
    }

    .pub-custom-select {
        z-index: 102;
    }


    /*
       Saat dropdown dibuka, hapus transform
       dari elemen .pub-reveal.

       Ini penting karena transform pada parent
       membuat position: fixed anak mengikuti parent.
    */

    .pub-filter-bar:has(.pub-select-open) {
        transform: none !important;
    }


    /*
       Bottom sheet
    */

    .pub-custom-select-panel {
        position: fixed;

        left: 0;
        right: 0;
        bottom: 0;
        top: auto;

        width: 100%;

        max-height: 70vh;

        background: #fff;

        border-radius: 22px 22px 0 0;

        box-shadow:
            0 -10px 40px rgba(10, 44, 110, .25);

        /*
           Harus di atas backdrop.
        */
        z-index: 10000;

        opacity: 1;
        visibility: hidden;

        transform: translateY(100%);

        transition:
            transform .25s ease,
            visibility .25s ease;
    }

    .pub-select-open .pub-custom-select-panel {
        visibility: visible;
        transform: translateY(0);
    }


    /*
       Header bottom sheet
    */

    .pub-custom-select-panel-header {
        display: flex;

        align-items: center;
        justify-content: space-between;

        padding: 1.1rem 1.2rem .8rem;

        font-size: .95rem;
        font-weight: 700;

        color: #0a2c6e;

        border-bottom: 1px solid #eaf1fd;

        flex-shrink: 0;
    }


    /*
       Tombol X
    */

    .pub-custom-select-close {
        display: flex;

        align-items: center;
        justify-content: center;

        width: 32px;
        height: 32px;

        border: none;
        border-radius: 50%;

        background: #f1f4f9;
        color: #55668a;

        font-size: .85rem;

        cursor: pointer;
    }


    /*
       Daftar album mobile
    */

    .pub-custom-select-options {
        overflow-y: auto;

        max-height: calc(70vh - 70px);

        padding: .6rem;
    }

    .pub-custom-select-option {
        padding: 1rem .9rem;

        font-size: .92rem;
    }


    /*
       Backdrop mobile
    */

    .pub-custom-select-backdrop {
        z-index: 90;

        background: rgba(6, 20, 40, .55);
    }
}
.org-search-wrap {
    position: relative;
    max-width: 420px;
    margin: 0 auto 1.25rem;
}
.org-search-input {
    width: 100%;
    padding: .65rem 2.5rem .65rem 2.75rem;
    border-radius: 999px;
    border: 1px solid rgba(10,44,110,.15);
    background: #fff;
    font-size: .95rem;
    transition: box-shadow .2s ease, border-color .2s ease;
}
.org-search-input:focus {
    outline: none;
    border-color: #0a2c6e;
    box-shadow: 0 0 0 3px rgba(10,44,110,.12);
}
.org-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #8a94a6;
}
.org-search-clear {
    position: absolute;
    right: .75rem;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #8a94a6;
    cursor: pointer;
}
.org-search-clear:hover { color: #0a2c6e; }