:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #9333ea;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-300: #cbd5f5;
    --slate-500: #64748b;
    --slate-700: #0f172a;
  }

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }
  
  body {
    background: var(--slate-100);
    color: #111827;
  }
  
.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

.wrapper-dashboard {
    background: #f3f4f6;
  }

.app-shell {
    display: flex;
    min-height: 100vh;
    transition: padding-left 0.2s ease;
  }

.sidebar {
    width: 240px;
    background: var(--slate-700);
    color: #e5e7eb;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: width 0.2s ease;
  }

.sidebar-text {
    white-space: nowrap;
  }

.sidebar-brand {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
  }

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

.sidebar-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(229,231,235,0.7);
    margin-bottom: 6px;
  }

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    color: #e5e7eb;
    border: 1px solid transparent;
    transition: background 0.2s, border-color 0.2s;
  }

.sidebar-link.active {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
  }

.sidebar-link:hover {
    background: rgba(255,255,255,0.05);
  }

.shell-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

.topbar {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }

.topbar-title {
    font-weight: 600;
    font-size: 16px;
    color: #111827;
  }

.topbar-subtitle {
    font-size: 12px;
    color: #6b7280;
  }

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }

.toggle-sidebar-btn {
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.45);
    padding: 6px 10px;
    background: #fff;
    color: #1f2937;
  }

.profile-chip {
    background: #f3f4f6;
    border-radius: 999px;
    padding: 6px 12px;
    display: flex;
    flex-direction: column;
    min-width: 140px;
  }

.chip-name {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
  }

.chip-role {
    font-size: 11px;
    color: #6b7280;
  }
  
  header {
    background: #111827;
    color: #f9fafb;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  
  .brand {
    font-weight: 600;
    font-size: 14px;
  }
  
  nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  
  nav a {
    font-size: 12px;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(249,250,251,0.2);
    color: #e5e7eb;
  }
  
  nav a.active {
    background: #e5e7eb;
    color: #111827;
    border-color: transparent;
  }
  
  nav a:hover {
    background: rgba(249,250,251,0.15);
  }
  
main {
    flex: 1;
    padding: 16px;
    display: flex;
    justify-content: center;
  }

.main-content {
    padding: 24px;
    background: var(--slate-100);
    flex: 1;
    display: flex;
    justify-content: center;
  }

.main-content .container {
    max-width: 1100px;
  }
  
  .container {
    width: 100%;
    max-width: 1100px;
  }
  
  .card {
    background: #fff;
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow:
      0 14px 28px rgba(15,23,42,0.15),
      0 0 0 1px rgba(148,163,184,0.35);
    border: 1px solid #e5e7eb;
    margin-bottom: 16px;
  }
  
  .card h1,
  .card h2 {
    font-size: 18px;
    margin-bottom: 6px;
  }
  
  .card p {
    font-size: 13px;
    color: #4b5563;
    margin-bottom: 6px;
  }
  
  .badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 6px 0 10px;
  }
  
  .badge {
    padding: 3px 8px;
    font-size: 11px;
    border-radius: 999px;
    border: 1px dashed #d1d5db;
    background: #f3f4f6;
    color: #4b5563;
  }
  
  .btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
  }
  
  .btn {
    border-radius: 999px;
    border: none;
    padding: 6px 14px;
    font-size: 13px;
    cursor: pointer;
  }
  
  .btn-primary {
    background: #2563eb;
    color: white;
  }
  
  .btn-secondary {
    background: #e5e7eb;
    color: #111827;
  }
  
  .btn-small {
    font-size: 11px;
    padding: 4px 10px;
  }
  
  table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
  }
  
  th, td {
    border-bottom: 1px solid #e5e7eb;
    padding: 6px 8px;
    text-align: left;
  }
  
  th {
    background: #e5e7eb;
    font-weight: 600;
  }
  
  .status-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
  }
  
  .status-menunggu {
    background: rgba(234,179,8,0.15);
    color: #92400e;
  }
  
  .status-diproses {
    background: rgba(59,130,246,0.1);
    color: #1d4ed8;
  }
  
  .status-selesai {
    background: rgba(34,197,94,0.15);
    color: #166534;
  }
  
  .status-ditolak {
    background: rgba(248,113,113,0.12);
    color: #b91c1c;
  }
  
  .form-group {
    margin-bottom: 10px;
  }
  
  label {
    display: block;
    font-size: 12px;
    margin-bottom: 4px;
  }
  
  input[type="text"],
  input[type="password"],
  input[type="email"],
  select,
  textarea {
    width: 100%;
    font-size: 13px;
    padding: 6px 8px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
  }
  
  textarea {
    resize: vertical;
    min-height: 70px;
  }
  
  .alert {
    padding: 8px 10px;
    font-size: 12px;
    border-radius: 6px;
    margin-bottom: 10px;
  }
  
  .alert-error {
    background: #fee2e2;
    color: #991b1b;
  }
  
  .alert-success {
    background: #dcfce7;
    color: #166534;
  }
  
.footer {
    padding: 10px 24px 14px;
    font-size: 11px;
    color: #6b7280;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

.shell-main .footer {
    padding-inline: 24px;
  }
  
  a.link {
    color: #2563eb;
    text-decoration: none;
    font-size: 12px;
  }
  
  a.link:hover {
    text-decoration: underline;
  }
  
  @media (max-width: 768px) {
    header {
      padding-inline: 16px;
      flex-direction: column;
      align-items: flex-start;
    }
    main {
      padding-inline: 10px;
    }
    .footer {
      padding-inline: 16px;
      flex-direction: column;
    }

    .app-shell {
      flex-direction: column;
    }

    .sidebar {
      width: 100%;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: space-between;
    }

    .sidebar-nav {
      flex-direction: row;
      flex-wrap: wrap;
    }

    .sidebar-link {
      padding: 8px 10px;
    }

    .topbar {
      padding-inline: 16px;
    }

    .main-content {
      padding: 16px;
    }
  }

.hero-card {
    border-radius: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #f8fafc;
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.25);
  }

.hero-card h1 {
    font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
  }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.2);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
  }

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.12);
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

.stat-card {
    border-radius: 0.85rem;
    border: 1px solid rgba(148,163,184,0.35);
    background: #fff;
    padding: 1.1rem;
    text-align: center;
  }

.stat-card .label {
    font-size: 0.8rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

.stat-card .value {
    font-size: 1.6rem;
    font-weight: 700;
    color: #111827;
  }

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(255,255,255,0.2);
    color: #f8fafc;
  }

.gradient-card {
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #f8fafc;
    padding: 2rem;
    box-shadow: 0 20px 35px rgba(37, 99, 235, 0.25);
  }

.feature-card {
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 1rem;
    background: #fff;
    padding: 1.25rem;
    height: 100%;
  }

.hero-section {
    background: radial-gradient(circle at top, rgba(37,99,235,0.35), rgba(15,23,42,0.92));
    color: var(--slate-50);
  }

.hero-section .hero-card {
    background: rgba(15,23,42,0.55);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  }

.hero-section .stat-card {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    color: #f8fafc;
  }

.hero-section .stat-card .label,
.hero-section .stat-card .value,
.hero-section .stat-card p {
    color: #f8fafc;
  }

.feature-card h5 {
    color: #0f172a;
  }

.section-title {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
  }

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

.nav-gradient {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
  }

.timeline-step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 0;
  }

.timeline-dot {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(37,99,235,0.12);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
  }

.timeline-content h6 {
    margin-bottom: 4px;
    color: #0f172a;
  }

.cta-card {
    border-radius: 1.25rem;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

.app-shell.sidebar-collapsed .sidebar {
    width: 78px;
    padding-inline: 12px;
  }

.app-shell.sidebar-collapsed .sidebar-brand {
    display: none;
  }

.app-shell.sidebar-collapsed .sidebar-label,
.app-shell.sidebar-collapsed .sidebar-brand small {
    display: none;
  }

.app-shell.sidebar-collapsed .sidebar-link {
    justify-content: center;
  }

.app-shell.sidebar-collapsed .sidebar-text {
    display: none;
  }

.app-shell.sidebar-collapsed .shell-main {
    flex: 1;
  }

.app-shell.sidebar-collapsed .topbar {
    border-left: none;
  }
  