﻿    /* Styling Khusus Panel Admin */
    body {
      background-color: var(--bg-subtle);
      min-height: 100vh;
    }
    .admin-navbar {
      background-color: var(--primary-900);
      color: #ffffff;
      padding: 0.85rem 1.5rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: sticky;
      top: 0;
      z-index: 100;
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
      flex-wrap: wrap;
      gap: 1rem;
    }
    .admin-brand {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      text-decoration: none;
      color: #ffffff;
    }
    .admin-brand img {
      height: 42px;
      width: auto;
    }
    .admin-badge {
      background: var(--accent-gold);
      color: #ffffff;
      font-size: 0.75rem;
      font-weight: 700;
      padding: 0.2rem 0.5rem;
      border-radius: var(--radius-sm);
      text-transform: uppercase;
    }
    .admin-wrapper {
      max-width: 1280px;
      margin: 2rem auto;
      padding: 0 1.5rem;
    }
    .admin-tabs {
      display: flex;
      gap: 0.5rem;
      overflow-x: auto;
      background: var(--bg-card);
      padding: 0.5rem;
      border-radius: var(--radius-lg);
      border: 1px solid var(--border-color);
      margin-bottom: 1.5rem;
      box-shadow: var(--shadow-sm);
      scrollbar-width: thin;
    }
    .admin-tab-btn {
      padding: 0.65rem 1.15rem;
      border-radius: var(--radius-md);
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--text-secondary);
      background: transparent;
      white-space: nowrap;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      transition: all var(--transition-fast);
      cursor: pointer;
      border: none;
    }
    .admin-tab-btn.active, .admin-tab-btn:hover {
      background-color: var(--primary-600);
      color: #ffffff;
    }
    .admin-tab-panel {
      display: none;
      background: var(--bg-card);
      border-radius: var(--radius-xl);
      padding: 2.25rem;
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-md);
      animation: fadeIn 0.2s ease;
    }
    .admin-tab-panel.active {
      display: block;
    }
    .form-section-title {
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--primary-700);
      margin-bottom: 0.5rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .form-section-subtitle {
      font-size: 0.875rem;
      color: var(--text-muted);
      margin-bottom: 1.75rem;
    }
    .form-grid-2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
    }
    .form-grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.25rem;
    }
    @media (max-width: 900px) {
      .form-grid-2, .form-grid-3 {
        grid-template-columns: 1fr;
      }
    }
    .admin-table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 1rem;
      font-size: 0.875rem;
    }
    .admin-table th, .admin-table td {
      padding: 0.85rem 1rem;
      border-bottom: 1px solid var(--border-color);
      text-align: left;
    }
    .admin-table th {
      background-color: var(--bg-subtle);
      font-weight: 700;
      color: var(--text-primary);
    }
    .admin-table tr:hover {
      background-color: var(--bg-subtle);
    }
    .toast-notification {
      position: fixed;
      bottom: 25px;
      right: 25px;
      background-color: #065f46;
      color: #ffffff;
      padding: 1rem 1.5rem;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-xl);
      font-weight: 600;
      font-size: 0.925rem;
      z-index: 3000;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: all var(--transition-fast);
    }
    .toast-notification.show {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    /* Auth Modal */
    #authOverlay {
      position: fixed;
      inset: 0;
      background-color: rgba(6, 78, 59, 0.95);
      z-index: 2000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1.5rem;
    }
    .auth-card {
      background: var(--bg-card);
      border-radius: var(--radius-xl);
      padding: 2.5rem;
      max-width: 440px;
      width: 100%;
      text-align: center;
      box-shadow: var(--shadow-xl);
      border: 1px solid var(--border-color);
    }
    .badge-toggle-box {
      background: var(--bg-subtle);
      padding: 1rem 1.25rem;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-color);
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1.5rem;
    }

    /* Media & Image Upload Components */
    .media-card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 1.5rem;
      margin-top: 1rem;
    }
    .media-card {
      background: var(--bg-subtle);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 1.25rem;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }
    .media-preview-box {
      width: 100%;
      height: 160px;
      border-radius: var(--radius-md);
      border: 2px dashed var(--border-color);
      background-color: var(--bg-card);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      position: relative;
      background-size: cover;
      background-position: center;
    }
    .media-preview-box img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .media-preview-box.avatar-shape {
      width: 110px;
      height: 110px;
      border-radius: 50%;
      margin: 0 auto;
    }
    .media-upload-actions {
      display: flex;
      gap: 0.5rem;
      align-items: center;
    }
    .btn-upload-file {
      position: relative;
      overflow: hidden;
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      cursor: pointer;
    }
    .btn-upload-file input[type="file"] {
      position: absolute;
      top: 0;
      right: 0;
      min-width: 100%;
      min-height: 100%;
      opacity: 0;
      cursor: pointer;
    }
    .img-thumb-table {
      width: 44px;
      height: 44px;
      border-radius: var(--radius-md);
      object-fit: cover;
      display: block;
      border: 1px solid var(--border-color);
    }
    .img-avatar-table {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      object-fit: cover;
      display: block;
      border: 2px solid var(--accent-gold);
    }

    /* Modal Edit Popup */
    .admin-modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.65);
      z-index: 2500;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1.5rem;
      opacity: 0;
      visibility: hidden;
      transition: all var(--transition-fast);
    }
    .admin-modal-overlay.active {
      opacity: 1;
      visibility: visible;
    }
    .admin-modal-content {
      background: var(--bg-card);
      border-radius: var(--radius-xl);
      max-width: 850px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      padding: 2rem;
      box-shadow: var(--shadow-xl);
      border: 1px solid var(--border-color);
      position: relative;
    }
    .admin-modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1.5rem;
      padding-bottom: 1rem;
      border-bottom: 1px solid var(--border-color);
    }
    .admin-modal-close {
      background: none;
      border: none;
      font-size: 1.75rem;
      color: var(--text-muted);
      cursor: pointer;
    }
    .admin-modal-close:hover {
      color: var(--text-primary);
    }
    .status-badge {
      display: inline-block;
      padding: 0.2rem 0.65rem;
      border-radius: var(--radius-full);
      font-size: 0.75rem;
      font-weight: 700;
    }
    .status-badge.verified {
      background: #d1fae5;
      color: #065f46;
    }
    .status-badge.passed {
      background: #fef3c7;
      color: #92400e;
    }
    .status-badge.pending {
      background: #e0f2fe;
      color: #0369a1;
    }
    .status-badge.rejected {
      background: #fee2e2;
      color: #991b1b;
    }
