  * { box-sizing: border-box; }
  body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    margin: 0;
    padding: 16px;
    padding-bottom: 90px;
    color: #333;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
  }
  h1 {
    text-align: center;
    color: #2196f3;
    font-size: 20px;
    margin-top: 8px;
    margin-bottom: 2px;
  }
  .subtitle {
    text-align: center;
    color: #888;
    font-size: 12px;
    margin-bottom: 16px;
  }
  .card {
    background: #fff;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  }
  label {
    display: block;
    font-size: 13px;
    font-weight: bold;
    margin-top: 10px;
  }
  input, select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 16px; /* cegah auto-zoom iOS */
  }
  button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    margin-top: 10px;
  }
  .btn-lokasi { background: #2196f3; color: #fff; }
  .btn-lokasi.sukses { background: #4caf50; }

  /* METODE PENGIRIMAN */
  .metode-wrap {
    display: flex;
    gap: 8px;
    margin-top: 6px;
  }
  .metode-wrap button {
    flex: 1;
    margin: 0;
    padding: 12px 8px;
    background: #eee;
    color: #333;
    border: 2px solid transparent;
    font-size: 14px;
  }
  .metode-wrap button.active-pickup {
    background: #e8f5e9;
    border-color: #4caf50;
    color: #2e7d32;
  }
  .metode-wrap button.active-delivery {
    background: #e3f2fd;
    border-color: #2196f3;
    color: #1565c0;
  }
  .lokasi-status {
    font-size: 13px;
    margin-top: 8px;
    color: #666;
    text-align: center;
  }
  .lokasi-status a { color: #2196f3; font-weight: bold; }

  /* TAB MENU/TOPPING */
  .tabs-katalog {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
  }
  .tabs-katalog button {
    flex: 1;
    margin: 0;
    background: #ddd;
    color: #333;
  }
  .tabs-katalog button.active {
    background: #2196f3;
    color: #fff;
  }
  .tab-katalog-content { display: none; }
  .tab-katalog-content.active { display: block; }

  /* TOPPING GRID (mirip menu tapi tanpa foto besar) */
  .topping-item {
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .topping-item.habis { opacity: 0.5; }
  .topping-item-nama { font-size: 14px; font-weight: bold; }
  .topping-item-harga { font-size: 12px; color: #999; margin-top: 2px; }
  .topping-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .topping-item-qty button {
    width: 30px;
    height: 30px;
    padding: 0;
    margin: 0;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    border-radius: 6px;
    font-size: 16px;
  }
  .topping-item-qty span {
    min-width: 20px;
    text-align: center;
    font-weight: bold;
  }

  /* KATALOG GRID */
  .kategori-label {
    font-size: 14px;
    font-weight: bold;
    color: #555;
    margin: 16px 0 8px;
  }
  .grid-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  .menu-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
  }
  .menu-item.habis { opacity: 0.5; pointer-events: none; }
  .menu-item-foto {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #eee;
  }
  .menu-item-foto-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
  }

  /* Grid menu tetap 2 kolom di semua ukuran layar (seperti mobile) */
  .menu-item-info { padding: 8px; }
  .menu-item-nama {
    font-size: 13px;
    font-weight: bold;
    line-height: 1.3;
    min-height: 34px;
  }
  .menu-item-harga {
    font-size: 13px;
    color: #2196f3;
    font-weight: bold;
    margin-top: 4px;
  }
  .badge-habis {
    display: inline-block;
    background: #e53935;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-top: 4px;
  }

  /* MODAL DETAIL MENU */
  .modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: flex-end;
  }
  .modal-overlay.show { display: flex; }
  .modal-box {
    background: #fff;
    border-radius: 16px 16px 0 0;
    padding: 16px;
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    width: 100%;
    max-width: 480px;
    max-height: 70vh;
    max-height: 70dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .modal-scroll {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
  }
  .btn-tambah-keranjang-floating {
    flex-shrink: 0;
    margin-top: 12px;
    margin-bottom: 2px;
    box-shadow: 0 -6px 12px rgba(0,0,0,0.08);
    position: relative;
    z-index: 1;
  }
  .modal-foto {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    background: #eee;
  }
  .modal-nama {
    font-size: 17px;
    font-weight: bold;
    margin-top: 10px;
  }
  .modal-harga {
    font-size: 15px;
    color: #2196f3;
    font-weight: bold;
    margin-top: 2px;
  }
  .opsi-title {
    font-size: 13px;
    font-weight: bold;
    margin-top: 14px;
    margin-bottom: 6px;
  }
  .pedas-opsi {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .pedas-opsi button {
    width: auto;
    margin: 0;
    padding: 6px 12px;
    font-size: 12px;
    background: #eee;
    color: #333;
    border: 2px solid transparent;
  }
  .pedas-opsi button.active {
    background: #fff3e0;
    border-color: #ff9800;
    color: #ff9800;
  }
  .topping-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
  }
  .topping-nama { flex: 1; }
  .topping-harga { color: #999; font-size: 12px; }
  .topping-qty {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .topping-qty button {
    width: 26px;
    height: 26px;
    padding: 0;
    margin: 0;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 6px;
    font-size: 14px;
  }
  .qty-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
  }
  .qty-main button {
    width: 36px;
    height: 36px;
    padding: 0;
    margin: 0;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    border-radius: 8px;
    font-size: 18px;
  }
  .qty-main span {
    font-size: 18px;
    font-weight: bold;
    min-width: 24px;
    text-align: center;
  }
  .btn-tambah-keranjang {
    background: #2196f3;
    color: #fff;
    font-size: 15px;
    margin-top: 16px;
  }
  .modal-close {
    width: auto;
    background: #eee;
    color: #333;
    padding: 6px 12px;
    margin: 0;
    float: right;
  }

  /* ================= BOTTOM NAVIGATION (5 tab) ================= */
  .bottom-nav {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    height: 64px;
    background: #fff;
    display: flex;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.12);
    z-index: 2000;
    max-width: 550px;
    margin: 0 auto;
  }
  .nav-btn {
    flex: 1;
    border: none;
    background: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 11px;
    color: #9aa0a6;
    cursor: pointer;
    position: relative;
    padding: 8px 0 6px;
    font-family: inherit;
    transition: color .15s ease;
  }
  .nav-btn .nav-icon {
    position: relative;
    display: inline-flex;
    width: 24px;
    height: 24px;
  }
  .nav-btn .nav-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .nav-btn.active { color: #2196f3; font-weight: 700; }
  .nav-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background: #e53935;
    color: #fff;
    font-size: 9px;
    font-weight: bold;
    min-width: 15px;
    height: 15px;
    border-radius: 8px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
  }
  .nav-badge.show { display: flex; }

  /* HALAMAN KERANJANG (fullscreen) */
  .keranjang-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #f5f5f5;
    z-index: 1500;
    overflow-y: auto;
    padding: 16px;
    padding-bottom: 90px;
  }
  .keranjang-overlay.show { display: block; }
  .keranjang-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
  }
  .keranjang-header h2 {
    margin: 0;
    flex: 1;
    font-size: 18px;
    color: #2196f3;
  }
  .keranjang-back {
    width: auto;
    margin: 0;
    padding: 8px 14px;
    background: #eee;
    color: #333;
  }
  .keranjang-item {
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  }
  .keranjang-item-top {
    display: flex;
    justify-content: space-between;
  }
  .keranjang-item-nama { font-weight: bold; font-size: 14px; }
  .keranjang-item-harga { font-weight: bold; color: #2196f3; font-size: 14px; }
  .keranjang-item-detail { font-size: 12px; color: #777; margin-top: 4px; line-height: 1.5; }
  .keranjang-item-hapus {
    width: auto;
    margin-top: 6px;
    padding: 5px 10px;
    font-size: 11px;
    background: #ffebee;
    color: #e53935;
  }

  .btn-kirim { background: #25D366; color: #fff; font-size: 16px; padding: 14px; }
  .btn-kirim:disabled { background: #ccc; cursor: not-allowed; }

  .info-note {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 10px;
    line-height: 1.5;
  }

  .toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #333;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 13px;
    opacity: 0;
    transition: all 0.3s;
    z-index: 2000;
    max-width: 90%;
    text-align: center;
    pointer-events: none;
  }
  .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

  .loading { text-align: center; color: #888; padding: 20px; grid-column: 1 / -1; }

  /* ============================================================
     ===== HALAMAN UTAMA: DAFTAR RESTO (desain khas Jasfood) =====
     ============================================================ */
  #halamanResto {
    margin: -16px -16px 0;
    padding-bottom: 24px;
    font-family: 'Nunito', Arial, sans-serif;
  }

  @keyframes promoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
  }

  .resto-hero {
    position: relative;
    background: radial-gradient(circle at 15% 15%, #E23744 0%, #B71C1C 55%, #7f0f0f 100%);
    padding: 34px 20px 46px;
    overflow: hidden;
    border-radius: 0 0 28px 28px;
  }
  .resto-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image:
      repeating-radial-gradient(circle at 20% 30%, transparent 0, transparent 18px, rgba(255,215,0,0.5) 19px, transparent 20px),
      repeating-radial-gradient(circle at 80% 70%, transparent 0, transparent 24px, rgba(255,215,0,0.4) 25px, transparent 26px);
    pointer-events: none;
  }
  .resto-hero-content {
    position: relative;
    text-align: center;
  }
  .resto-eyebrow {
    display: inline-block;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #FFD54A;
    background: rgba(0,0,0,0.2);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
  }
  .resto-title {
    font-family: 'Baloo 2', cursive;
    font-weight: 800;
    font-size: 30px;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 0 rgba(0,0,0,0.15);
  }
  .resto-subtitle {
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    margin-top: 6px;
    font-weight: 600;
  }

  .resto-wave {
    display: block;
    width: 100%;
    height: 28px;
    margin-top: -1px;
  }

  .resto-list {
    padding: 0 16px;
    margin-top: -22px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .resto-section-label {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 13px;
    color: #7f0f0f;
    letter-spacing: 0.5px;
    margin: 4px 2px 10px;
    text-transform: uppercase;
  }

  .resto-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(183,28,28,0.18), 0 2px 6px rgba(0,0,0,0.06);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: transform 0.15s ease;
  }
  .resto-card:active {
    transform: scale(0.98);
  }
  .resto-card-foto-wrap {
    position: relative;
  }
  .resto-card-foto {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
    background: #f0e4d0;
  }
  .resto-badge-buka {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255,255,255,0.95);
    color: #2e7d32;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .resto-badge-buka::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2e7d32;
    display: inline-block;
  }
  .resto-card-body {
    padding: 14px 16px 16px;
  }
  .resto-card-nama {
    font-family: 'Baloo 2', cursive;
    font-weight: 700;
    font-size: 19px;
    color: #2b1a10;
  }
  .resto-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    font-size: 12px;
    color: #8a7a6d;
    font-weight: 600;
  }
  .resto-card-meta span {
    display: flex;
    align-items: center;
    gap: 3px;
  }
  .resto-card-tagline {
    font-size: 12.5px;
    color: #a35a2f;
    margin-top: 8px;
    font-weight: 600;
    background: #FFF3E0;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 8px;
  }
  .resto-card-cta {
    margin-top: 14px;
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 14px;
    color: #fff;
    background: linear-gradient(135deg, #E23744, #B71C1C);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
  }

  .resto-footer-note {
    text-align: center;
    font-size: 11.5px;
    color: #b0a397;
    margin-top: 22px;
    font-weight: 600;
  }

  /* ================= HALAMAN CARI ================= */
  .cari-input-wrap {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
  }
  .cari-input-wrap input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
  }
  .cari-section-label {
    font-size: 13px;
    font-weight: bold;
    color: #888;
    margin: 14px 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .cari-result-item {
    background: #fff;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  }
  .cari-result-nama { font-weight: bold; font-size: 14px; }
  .cari-result-harga { color: #2196f3; font-weight: bold; font-size: 14px; }
  .cari-empty {
    text-align: center;
    color: #999;
    font-size: 13px;
    padding: 30px 10px;
  }

  /* ================= HALAMAN PROMO ================= */
  .promo-card {
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border-left: 4px solid #4caf50;
  }
  .promo-kode {
    font-weight: 800;
    font-size: 15px;
    color: #2196f3;
    letter-spacing: 0.5px;
  }
  .promo-detail { font-size: 13px; color: #555; margin-top: 4px; }
  .promo-syarat { font-size: 11.5px; color: #999; margin-top: 4px; }
  .banner-promo {
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: #fff;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 13.5px;
  }
  .banner-promo-marquee {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    margin-right: 10px;
  }
  .banner-promo-marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: promoScroll 10s linear infinite;
  }

  /* ================= HALAMAN AKUN ================= */
  .akun-hero {
    background: linear-gradient(135deg, #2196f3 0%, #1565c0 100%);
    border-radius: 0 0 24px 24px;
    padding: 26px 20px 22px;
    margin: -16px -16px 18px;
    position: relative;
    overflow: hidden;
  }
  .akun-hero-row {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 2;
  }
  .akun-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.22);
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .akun-hero-nama {
    color: #fff;
    font-weight: 800;
    font-size: 16px;
  }
  .akun-hero-role {
    color: rgba(255,255,255,0.8);
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 2px;
  }
  .pengaturan-label-section {
    font-size: 14px;
    font-weight: bold;
    color: #555;
    margin: 4px 0 10px;
  }
  .pengaturan-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 10px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    cursor: pointer;
    border: none;
    width: 100%;
    font-family: inherit;
  }
  .pengaturan-item.disabled { opacity: 0.55; }
  .pengaturan-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
  }
  .pengaturan-label {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
  }
  .pengaturan-badge {
    background: #e53935;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 10px;
    margin-right: 4px;
  }
  .pengaturan-chevron { color: #bbb; font-size: 18px; }
  .akun-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 8px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
  }

  /* ================= LOCK SCREEN (kunci aplikasi lokal) ================= */
  .lock-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #2196f3 0%, #1565c0 100%);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  .lock-overlay.hide { display: none; }
  .lock-box {
    background: #fff;
    border-radius: 16px;
    padding: 26px 22px;
    width: 100%;
    max-width: 340px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  }
  .lock-icon { font-size: 38px; margin-bottom: 6px; }
  .lock-title { font-weight: 800; font-size: 17px; margin-bottom: 2px; }
  .lock-sub { font-size: 12px; color: #888; margin-bottom: 16px; }
  .lock-error { color: #e53935; font-size: 12px; margin-top: 8px; min-height: 14px; }
  .lock-forgot { display: inline-block; margin-top: 12px; font-size: 12px; color: #2196f3; font-weight: bold; text-decoration: none; }

  /* ================= AUTH: LOGIN / REGISTER / PROFIL ================= */
  .auth-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: #f5f5f5;
    z-index: 3000;
    overflow-y: auto;
    padding: 0;
  }
  .auth-overlay.show { display: block; }

  .auth-hero {
    background: linear-gradient(135deg, #2196f3 0%, #1565c0 100%);
    padding: 40px 24px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .auth-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: repeating-radial-gradient(circle at 20% 30%, transparent 0, transparent 18px, rgba(255,255,255,0.8) 19px, transparent 20px);
    pointer-events: none;
  }
  .auth-hero-icon { font-size: 48px; margin-bottom: 8px; position: relative; }
  .auth-hero-title {
    font-family: 'Baloo 2', cursive;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 4px;
    position: relative;
  }
  .auth-hero-sub {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    position: relative;
  }

  .auth-body {
    padding: 20px 16px 100px;
    max-width: 480px;
    margin: 0 auto;
  }

  .auth-tab-wrap {
    display: flex;
    background: #e8e8e8;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 20px;
  }
  .auth-tab-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    background: transparent;
    color: #888;
    cursor: pointer;
    transition: all 0.2s;
    margin: 0;
  }
  .auth-tab-btn.active {
    background: #fff;
    color: #2196f3;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }

  .auth-form { display: none; }
  .auth-form.active { display: block; }

  .auth-field {
    margin-bottom: 14px;
  }
  .auth-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #555;
    margin-bottom: 6px;
    margin-top: 0;
  }
  .auth-field input,
  .auth-field select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    background: #fff;
    transition: border-color 0.2s;
    margin: 0;
  }
  .auth-field input:focus,
  .auth-field select:focus {
    outline: none;
    border-color: #2196f3;
  }

  /* PASSWORD TOGGLE */
  .pwd-input {
    padding-right: 44px !important;
  }
  .pwd-toggle {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    height: auto;
    background: none;
    border: none;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    margin: 0;
    color: #999;
    transition: color 0.2s;
  }
  .pwd-toggle:active {
    color: #2196f3;
  }
  .pwd-toggle:hover {
    color: #666;
  }

  .auth-btn-submit {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #2196f3, #1565c0);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 6px;
    box-shadow: 0 4px 12px rgba(33,150,243,0.35);
  }
  .auth-btn-submit:disabled {
    background: #ccc;
    box-shadow: none;
    cursor: not-allowed;
  }

  .auth-divider {
    text-align: center;
    color: #bbb;
    font-size: 12px;
    margin: 14px 0;
    position: relative;
  }
  .auth-divider::before, .auth-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #ddd;
  }
  .auth-divider::before { left: 0; }
  .auth-divider::after { right: 0; }

  .auth-btn-skip {
    width: 100%;
    padding: 12px;
    border: 1.5px solid #ddd;
    border-radius: 12px;
    background: #fff;
    color: #888;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0;
  }

  .auth-error {
    background: #ffebee;
    color: #c62828;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 14px;
    display: none;
  }
  .auth-error.show { display: block; }

  .auth-success {
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 14px;
    display: none;
  }
  .auth-success.show { display: block; }

  /* Akun sudah login - tampilan di halaman Akun */
  .akun-login-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-top: 4px;
  }
  .akun-login-badge::before {
    content: "●";
    color: #a5d6a7;
    font-size: 8px;
  }

  .btn-logout {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 12px;
    background: #ffebee;
    color: #c62828;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .auth-info-box {
    background: #e3f2fd;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 12.5px;
    color: #1565c0;
    line-height: 1.6;
    margin-bottom: 16px;
  }

