/* ===== Admin panel (panitia / super admin) ===== */

.admin-body { display: flex; align-items: stretch; min-height: 100vh; }

.admin-sidebar {
    width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    background: var(--white);
    border-right: 1px solid rgba(8, 124, 193, 0.12);
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
}

.admin-sidebar__brand { display: inline-block; margin-bottom: 24px; }

.admin-sidebar__nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }

.admin-sidebar__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    transition: background var(--transition), color var(--transition);
}

.admin-sidebar__link i { font-size: 18px; }

.admin-sidebar__link:hover,
.admin-sidebar__link.is-active { background: rgba(8, 124, 193, 0.08); color: var(--tech-blue); }

.admin-sidebar__badge {
    margin-left: auto;
    background: #f59e0b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 3px 7px;
    border-radius: 999px;
}

.admin-sidebar__group { margin: 0; }

.admin-sidebar__group-toggle {
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
}

.admin-sidebar__group-toggle::-webkit-details-marker { display: none; }

.admin-sidebar__group-toggle span { display: inline-flex; align-items: center; gap: 10px; }

.admin-sidebar__group-caret { transition: transform var(--transition); }

.admin-sidebar__group[open] .admin-sidebar__group-caret { transform: rotate(180deg); }

.admin-sidebar__submenu { display: flex; flex-direction: column; gap: 2px; padding: 4px 0 6px 30px; }

.admin-sidebar__submenu a {
    padding: 8px 12px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-muted);
}

.admin-sidebar__submenu a:hover,
.admin-sidebar__submenu a.is-active { background: rgba(8, 124, 193, 0.08); color: var(--tech-blue); }

.admin-sidebar__user {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--text-muted);
    border-top: 1px solid rgba(8, 124, 193, 0.12);
    padding-top: 16px;
    margin-top: 16px;
}

.admin-sidebar__user i { font-size: 22px; color: var(--tech-blue); }
.admin-sidebar__user span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-sidebar__user a:last-child { color: var(--tech-blue); font-weight: 600; }

.admin-main { flex: 1; min-width: 0; }
.admin-main .container { max-width: 1600px; }

@media (max-width: 900px) {
    .admin-body { flex-direction: column; }
    .admin-sidebar { width: 100%; height: auto; position: static; border-right: none; border-bottom: 1px solid rgba(8, 124, 193, 0.12); }
    .admin-sidebar__nav { flex-direction: row; flex-wrap: wrap; }
    .admin-sidebar__submenu { padding-left: 12px; }
}

/* Flash messages */
.flash { display: flex; align-items: flex-start; gap: 10px; padding: 13px 16px; border-radius: 12px; margin-bottom: 20px; font-size: 14px; font-weight: 500; }
.flash i { font-size: 20px; flex-shrink: 0; }
.flash--ok { background: rgba(34, 197, 94, 0.12); color: #15803d; border: 1px solid rgba(34, 197, 94, 0.3); }
.flash--err { background: rgba(239, 68, 68, 0.1); color: #b91c1c; border: 1px solid rgba(239, 68, 68, 0.3); }
.flash--err p { margin: 0; }

.admin-topbar .auth-card__logo small {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    color: var(--white);
    background: var(--tech-blue);
    padding: 2px 8px;
    border-radius: 6px;
    margin-left: 6px;
    vertical-align: middle;
}

.dash-nav__dropdown { position: relative; }

.dash-nav__dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    padding: 0;
}

.dash-nav__dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    background: var(--white);
    border: 1px solid rgba(8, 124, 193, 0.15);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
    min-width: 190px;
    padding: 8px;
    z-index: 20;
    flex-direction: column;
}

.dash-nav__dropdown:hover .dash-nav__dropdown-menu,
.dash-nav__dropdown:focus-within .dash-nav__dropdown-menu {
    display: flex;
}

.dash-nav__dropdown-menu a {
    padding: 9px 12px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.dash-nav__dropdown-menu a:hover,
.dash-nav__dropdown-menu a.is-active { background: rgba(8, 124, 193, 0.08); color: var(--tech-blue); }

.admin-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.admin-head h1 { font-size: 26px; margin-top: 4px; }
.admin-head__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Buttons (shared variants) */
.btn--ghost {
    background: var(--white);
    border: 1px solid rgba(8, 124, 193, 0.3);
    color: var(--tech-blue);
}
.btn--ghost:hover { background: rgba(8, 124, 193, 0.08); transform: translateY(-2px); }
.btn--cyan { background: var(--cyan); color: var(--navy); border: none; }
.btn--cyan:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(32, 213, 232, 0.4); }
.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn--block { width: 100%; justify-content: center; }

/* Stat cards */
.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}
.admin-stat {
    position: relative;
    background: var(--white);
    border: 1px solid rgba(32, 213, 232, 0.2);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
    padding: 22px 24px 22px 28px;
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.admin-stat:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1); }
.admin-stat::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--stat-accent, var(--tech-blue)); }
.admin-stat__num { display: block; font-family: var(--font-heading); font-size: 30px; font-weight: 700; color: var(--stat-accent, var(--navy)); }
.admin-stat__label { color: var(--text-muted); font-size: 13px; }

/* Palet warna-warni bergiliran per kartu supaya dashboard tidak monoton biru/putih. */
.admin-stat-grid .admin-stat:nth-child(6n+1) { --stat-accent: #087cc1; }
.admin-stat-grid .admin-stat:nth-child(6n+2) { --stat-accent: #7c3aed; }
.admin-stat-grid .admin-stat:nth-child(6n+3) { --stat-accent: #059669; }
.admin-stat-grid .admin-stat:nth-child(6n+4) { --stat-accent: #db2777; }
.admin-stat-grid .admin-stat:nth-child(6n+5) { --stat-accent: #ea580c; }
.admin-stat-grid .admin-stat:nth-child(6n+6) { --stat-accent: #0891b2; }

.admin-stat--warning { --stat-accent: #b45309; border-color: rgba(234, 179, 8, 0.4); background: rgba(234, 179, 8, 0.06); }

.admin-review-alert {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f59e0b;
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 24px;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.admin-review-alert:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(245, 158, 11, 0.35); }
.admin-review-alert i { font-size: 24px; flex-shrink: 0; }
.admin-review-alert strong { display: block; font-size: 15px; font-weight: 700; }
.admin-review-alert p { font-size: 13px; margin-top: 2px; color: rgba(255, 255, 255, 0.9); }
.admin-review-alert .bx-chevron-right { margin-left: auto; font-size: 20px; }

/* Panels */
.admin-panel {
    background: var(--white);
    border: 1px solid rgba(32, 213, 232, 0.2);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 26px 28px;
    margin-bottom: 24px;
}
.admin-panel h2 { font-size: 18px; margin-bottom: 16px; }
.admin-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.admin-panel__head h2 { margin-bottom: 0; }
.admin-link { font-family: var(--font-heading); font-weight: 600; font-size: 14px; color: var(--tech-blue); display: inline-flex; align-items: center; gap: 4px; }
.admin-empty { color: var(--text-muted); padding: 12px 0; }
.admin-empty a { color: var(--tech-blue); font-weight: 600; }
.admin-muted { color: var(--text-muted); font-size: 13px; }

.admin-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }

/* Tables */
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(8, 124, 193, 0.1); vertical-align: middle; }
.admin-table th { font-family: var(--font-heading); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.admin-table td a { color: var(--tech-blue); }

.admin-cell-name { white-space: normal; }
.admin-cell-name strong { display: block; font-size: 14px; color: var(--navy); }
.admin-cell-name em { display: block; font-style: italic; font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.admin-row-actions { display: flex; gap: 6px; align-items: center; }
.admin-row-actions form { display: inline; }
.admin-row-actions a, .admin-row-actions button {
    background: var(--bg); border: 1px solid rgba(8, 124, 193, 0.15); border-radius: 8px;
    width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
    color: var(--tech-blue); cursor: pointer; font-size: 17px; transition: background var(--transition);
}
.admin-row-actions a:hover, .admin-row-actions button:hover { background: rgba(8, 124, 193, 0.1); }

/* Pills */
.pill {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
    background: rgba(8, 124, 193, 0.1); color: var(--tech-blue);
}
.pill--online { background: rgba(32, 213, 232, 0.18); color: #0b7d8c; }
.pill--offline { background: rgba(6, 43, 80, 0.1); color: var(--navy); }
.pill--hybrid { background: rgba(154, 234, 244, 0.35); color: #0b7d8c; }
.pill--status-published, .pill--status-ongoing { background: rgba(34, 197, 94, 0.15); color: #15803d; }
.pill--status-draft { background: rgba(100, 116, 139, 0.15); color: #475569; }
.pill--status-finished { background: rgba(8, 124, 193, 0.12); color: var(--tech-blue); }
.pill--status-cancelled { background: rgba(239, 68, 68, 0.14); color: #b91c1c; }
.pill--role-super_admin { background: rgba(147, 51, 234, 0.14); color: #7c3aed; }
.pill--role-panitia { background: rgba(8, 124, 193, 0.14); color: var(--tech-blue); }
.pill--role-peserta { background: rgba(100, 116, 139, 0.14); color: #475569; }

/* Forms */
.admin-form .form-row { margin-bottom: 16px; }
.admin-form .form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.admin-form .form-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.admin-form label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.admin-form input[type="text"], .admin-form input[type="email"], .admin-form input[type="url"],
.admin-form input[type="number"], .admin-form input[type="datetime-local"], .admin-form input[type="date"], .admin-form input[type="file"],
.admin-form input[type="password"],
.admin-form select, .admin-form textarea {
    width: 100%; margin-top: 6px; padding: 10px 12px;
    border: 1px solid rgba(8, 124, 193, 0.25); border-radius: 10px;
    font-family: var(--font-body); font-size: 14px; font-weight: 400; color: var(--text); background: var(--white);
}
.admin-form textarea { resize: vertical; }
.admin-form textarea.is-required-hint {
    border-color: rgba(249, 115, 22, 0.6);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}
.admin-form .check-inline { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.admin-form .check-inline input { width: auto; margin-top: 0; }
.admin-form__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.admin-thumb { max-width: 160px; border-radius: 10px; margin-top: 10px; display: block; }

/* Inline note callout (e.g. "Catatan revisi terakhir") */
.admin-note-box {
    display: flex;
    gap: 12px;
    background: rgba(234, 179, 8, 0.08);
    border: 1px solid rgba(234, 179, 8, 0.3);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin-bottom: 14px;
}
.admin-note-box i { font-size: 20px; color: #b45309; flex-shrink: 0; }
.admin-note-box strong { display: block; color: var(--navy); margin-bottom: 3px; font-size: 13.5px; }
.admin-note-box p { font-size: 13px; color: var(--text-muted); }

/* Status change history timeline */
.admin-subheading { font-size: 14px; font-weight: 700; color: var(--navy); margin: 22px 0 12px; }
.status-history { list-style: none; margin: 0; padding: 0; max-height: 340px; overflow-y: auto; }
.status-history__item { display: flex; gap: 12px; padding-bottom: 16px; position: relative; }
.status-history__item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 14px;
    bottom: 0;
    width: 1px;
    background: rgba(8, 124, 193, 0.15);
}
.status-history__dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 5px; flex-shrink: 0; }
.status-history__body { flex: 1; min-width: 0; }
.status-history__head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.status-history__from { font-size: 12px; }
.status-history__time { margin-left: auto; font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.status-history__note { font-size: 13px; color: var(--text-muted); margin: 6px 0 0; }
.status-history__by { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text-muted); margin-top: 5px; }
.status-history__by i { font-size: 13px; }

.admin-table code { background: rgba(8, 124, 193, 0.08); padding: 2px 6px; border-radius: 6px; font-size: 12.5px; }
.admin-inline-edit { display: none; }
.admin-inline-edit.is-open { display: table-row; }
.admin-inline-edit td { background: rgba(8, 124, 193, 0.04); padding-top: 16px; padding-bottom: 16px; }

.admin-search { display: flex; gap: 8px; }
.admin-search input { padding: 10px 14px; border: 1px solid rgba(8, 124, 193, 0.25); border-radius: 10px; font-size: 14px; }
.role-form { display: flex; gap: 8px; align-items: center; }
.role-form select { padding: 7px 10px; border: 1px solid rgba(8, 124, 193, 0.25); border-radius: 8px; font-size: 13px; }

/* Reusable styled select for filter bars */
.admin-select {
    padding: 9px 32px 9px 12px;
    border: 1px solid rgba(8, 124, 193, 0.25);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--navy);
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23087cc1'/%3E%3C/svg%3E") no-repeat right 12px center;
    appearance: none;
    cursor: pointer;
    transition: border-color var(--transition);
}
.admin-select:hover, .admin-select:focus { border-color: var(--tech-blue); outline: none; }

.admin-filter-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-left: auto; }
.admin-filter-bar__label { font-size: 12.5px; font-weight: 600; color: var(--text-muted); }

/* Table toolbar (above table): result count + page-size selector */
.admin-table-toolbar {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    flex-wrap: wrap; margin-bottom: 14px;
}
.admin-table-toolbar__info { font-size: 13px; color: var(--text-muted); }

/* Pagination nav (below table, bottom-right) */
.admin-pagination { display: flex; justify-content: flex-end; margin-top: 16px; }
.admin-pagination__nav { display: flex; align-items: center; gap: 4px; }
.admin-pagination__btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 34px; height: 34px; padding: 0 8px;
    border: 1px solid rgba(8, 124, 193, 0.15); border-radius: 8px;
    font-family: var(--font-heading); font-size: 13.5px; font-weight: 600;
    color: var(--tech-blue); background: var(--white); transition: all var(--transition);
}
.admin-pagination__btn:hover { background: rgba(8, 124, 193, 0.08); }
.admin-pagination__btn.is-active { background: var(--tech-blue); color: var(--white); border-color: var(--tech-blue); }
.admin-pagination__btn.is-disabled { color: rgba(100, 116, 139, 0.4); cursor: default; pointer-events: none; }
.admin-pagination__ellipsis { color: var(--text-muted); padding: 0 4px; font-size: 13px; }

@media (max-width: 640px) {
    .admin-table-toolbar { flex-direction: column; align-items: flex-start; }
    .admin-pagination { justify-content: center; }
}

/* Sub tabs */
.admin-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.admin-tabs a {
    font-family: var(--font-heading); font-size: 13.5px; font-weight: 600; color: var(--text-muted);
    padding: 9px 16px; border-radius: 999px; background: var(--white); border: 1px solid rgba(8, 124, 193, 0.15);
    display: inline-flex; align-items: center; gap: 6px; transition: all var(--transition);
}
.admin-tabs a:hover { color: var(--tech-blue); }
.admin-tabs a.is-active { background: var(--tech-blue); color: var(--white); border-color: var(--tech-blue); }
.admin-tabs__ext { margin-left: auto; }

/* Widget "Event Terdekat" di dashboard */
.nearest-event { border-color: rgba(8, 124, 193, 0.3); }
.nearest-event__body { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nearest-event__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(8, 124, 193, 0.08);
    border-radius: var(--radius-sm);
    padding: 10px 18px;
    flex-shrink: 0;
}
.nearest-event__date strong { font-family: var(--font-heading); font-size: 26px; color: var(--navy); line-height: 1; }
.nearest-event__date span { font-size: 12px; color: var(--text-muted); text-transform: uppercase; }
.nearest-event__info { flex: 1; min-width: 220px; }
.nearest-event__info h3 { font-size: 17px; margin-bottom: 4px; }
.nearest-event__info p { font-size: 13px; }
.nearest-event__stats { display: flex; gap: 18px; margin-top: 10px; }
.nearest-event__stats span { font-size: 12.5px; color: var(--text-muted); }
.nearest-event__stats strong { color: var(--navy); font-size: 15px; margin-right: 3px; }
.nearest-event__actions { display: flex; gap: 8px; flex-shrink: 0; }

/* Grafik pendaftaran per kategori */
.chart-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.chart-legend__item { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-muted, #64748b); font-weight: 600; }
.chart-legend__swatch { width: 12px; height: 12px; border-radius: 3px; }
.chart-legend__item--berkas i { color: var(--tech-blue, #087cc1); }
.cat-chart { display: flex; flex-direction: column; gap: 14px; }
.cat-chart__row { display: grid; grid-template-columns: 200px 1fr; gap: 14px; align-items: center; }
.cat-chart__label strong { display: block; font-size: 13.5px; color: var(--navy, #062b50); }
.cat-chart__label span { font-size: 12px; color: var(--text-muted, #64748b); }
.cat-chart__bar { display: flex; height: 30px; background: rgba(8,124,193,0.05); border-radius: 8px; overflow: hidden; min-width: 40px; }
.cat-chart__seg { display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 700; min-width: 20px; transition: width var(--transition, .2s); }
@media (max-width: 720px) {
    .cat-chart__row { grid-template-columns: 1fr; gap: 6px; }
}

/* Grid checkbox ekstensi file (form field kategori) */
.ext-check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; margin-top: 8px; }
.ext-check-grid .check-inline { font-size: 13px; }

/* Manajemen akun */
.admin-account-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.admin-inline-details { position: relative; }
.admin-inline-details summary { list-style: none; cursor: pointer; }
.admin-inline-details summary::-webkit-details-marker { display: none; }
.admin-inline-details[open] > form {
    position: absolute; top: calc(100% + 6px); left: 0; z-index: 10;
    background: var(--white); border: 1px solid rgba(8, 124, 193, 0.2); border-radius: 10px;
    padding: 10px; box-shadow: 0 10px 24px rgba(6, 43, 80, 0.12);
}
.admin-inline-details input { padding: 7px 10px; border: 1px solid rgba(8, 124, 193, 0.25); border-radius: 8px; font-size: 13px; }

/* Rundown */
.rundown-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.rundown-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; background: var(--bg); border-radius: 10px; }
.icon-btn { background: none; border: none; color: #b91c1c; cursor: pointer; font-size: 18px; }

/* Background gallery */
.bg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.bg-card { background: var(--bg); border-radius: 12px; overflow: hidden; border: 1px solid rgba(8, 124, 193, 0.12); }
.bg-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.bg-card figcaption { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; font-size: 13.5px; font-weight: 600; }

@media (max-width: 900px) {
    .admin-stat-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-grid-2 { grid-template-columns: 1fr; }
    .admin-form .form-grid-2, .admin-form .form-grid-3 { grid-template-columns: 1fr; }
}

/* Status badges (dipakai di header ringkasan tim & tabel) */
.badge--status-draft { background: rgba(107, 114, 128, 0.14); color: #4b5563; padding: 6px 14px; border-radius: 100px; }
.badge--status-terdaftar { background: rgba(8, 124, 193, 0.14); color: #087cc1; padding: 6px 14px; border-radius: 100px; }
.badge--status-sedang_direview { background: rgba(234, 179, 8, 0.16); color: #b45309; padding: 6px 14px; border-radius: 100px; }
.badge--status-revisi { background: rgba(249, 115, 22, 0.16); color: #c2410c; padding: 6px 14px; border-radius: 100px; }
.badge--status-disetujui { background: rgba(16, 185, 129, 0.14); color: #059669; padding: 6px 14px; border-radius: 100px; }
.badge--status-ditolak { background: rgba(220, 38, 38, 0.12); color: #dc2626; padding: 6px 14px; border-radius: 100px; }

/* Ringkasan Tim — hero card */
.team-hero { padding: 28px 30px; }
.team-hero__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
.team-hero__badges { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.team-hero__name { font-size: 24px; margin: 0 0 4px; }
.team-hero__category { display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 14px; margin: 0; }
.team-hero__category i { color: var(--tech-blue); font-size: 17px; }

.team-hero__ring {
    position: relative; flex-shrink: 0; width: 92px; height: 92px; border-radius: 50%;
    background: conic-gradient(var(--tech-blue) calc(var(--pct, 0) * 3.6deg), rgba(8, 124, 193, 0.12) 0deg);
    display: flex; align-items: center; justify-content: center;
}
.team-hero__ring-inner {
    width: 72px; height: 72px; border-radius: 50%; background: var(--white);
    box-shadow: inset 0 0 0 1px rgba(8, 124, 193, 0.08);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.team-hero__ring-inner strong { font-family: var(--font-heading); font-size: 17px; color: var(--navy); line-height: 1; }
.team-hero__ring-inner span { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.03em; margin-top: 2px; }

.team-hero__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px; }
.team-hero__stat { display: flex; align-items: flex-start; gap: 12px; }
.team-hero__stat-icon {
    flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px;
    background: rgba(8, 124, 193, 0.08); color: var(--tech-blue);
    display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.team-hero__stat-label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 2px; }
.team-hero__stat-value { display: block; font-size: 14px; font-weight: 600; color: var(--navy); word-break: break-word; }

@media (max-width: 720px) {
    .team-hero__grid { grid-template-columns: 1fr; }
}

/* Data Anggota — profile cards */
.admin-member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.admin-member-card { background: var(--bg); border: 1px solid rgba(8, 124, 193, 0.12); border-radius: var(--radius-sm); padding: 20px; }
.admin-member-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.admin-member-card__avatar {
    flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%;
    background: var(--tech-blue); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-weight: 700; font-size: 18px;
}
.admin-member-card__avatar--anggota1 { background: #7c3aed; }
.admin-member-card__avatar--anggota2 { background: #0b7d8c; }
.pill--member-ketua { background: rgba(8, 124, 193, 0.14); color: var(--tech-blue); }
.pill--member-anggota1 { background: rgba(124, 58, 237, 0.14); color: #7c3aed; }
.pill--member-anggota2 { background: rgba(11, 125, 140, 0.14); color: #0b7d8c; }
.admin-member-card__head h3 { font-size: 16px; margin: 4px 0 0; }
.admin-member-card__body { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.admin-member-card__row { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text); }
.admin-member-card__row i { color: var(--tech-blue); font-size: 16px; flex-shrink: 0; }
.admin-member-card__row--muted { color: var(--text-muted); }
.admin-member-card__files { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.admin-member-card__files a, .admin-member-card__files span {
    display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600;
    padding: 5px 12px; border-radius: 100px; background: rgba(16, 185, 129, 0.12); color: #059669;
}
.admin-member-card__files span.is-missing { background: rgba(234, 179, 8, 0.16); color: #b45309; }

.admin-member-edit summary {
    list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-heading); font-size: 13px; font-weight: 600; color: var(--tech-blue);
}
.admin-member-edit summary::-webkit-details-marker { display: none; }
.admin-member-edit[open] summary { margin-bottom: 12px; }
.admin-member-edit .form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.admin-member-edit label { display: block; font-size: 12.5px; font-weight: 600; color: var(--navy); }
.admin-member-edit input, .admin-member-edit select {
    width: 100%; margin-top: 5px; padding: 8px 10px;
    border: 1px solid rgba(8, 124, 193, 0.25); border-radius: 8px; font-size: 13.5px; background: var(--white);
}
.admin-member-edit__actions { display: flex; justify-content: flex-end; margin-top: 4px; }
.admin-member-edit__locked { font-size: 12px; color: var(--text-muted); margin: 4px 0 0; }
.admin-member-edit .form-error { display: block; font-size: 12px; color: #dc2626; margin-top: 4px; }

/* Icon picker (form Kategori) */
.icon-input { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.icon-input #iconPreview {
    flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px;
    background: rgba(8, 124, 193, 0.08); color: var(--tech-blue);
    display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.icon-input input { margin-top: 0; }

.icon-picker__label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.icon-picker__label a { color: var(--tech-blue); font-weight: 600; }

.icon-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.icon-picker__btn {
    width: 42px; height: 42px; border-radius: 10px; cursor: pointer; font-size: 20px;
    border: 1px solid rgba(8, 124, 193, 0.18); background: var(--white); color: var(--navy);
    display: flex; align-items: center; justify-content: center; transition: all var(--transition);
}
.icon-picker__btn:hover { background: rgba(8, 124, 193, 0.08); border-color: var(--tech-blue); color: var(--tech-blue); }
