:root {
  --mc-green: #5dbd45;
  --mc-green-dark: #3d8b2e;
  --mc-green-light: #7dd66a;
  --mc-blue: #3b82f6;
  --mc-blue-dark: #1d4ed8;
  --mc-yellow: #f59e0b;
  --mc-yellow-light: #fcd34d;
  --mc-red: #ef4444;
  --mc-orange: #f97316;
  --mc-purple: #8b5cf6;
  --mc-white: #ffffff;
  --mc-bg: #f0f7ff;
  --mc-bg2: #e8f4fd;
  --mc-card: #ffffff;
  --mc-border: #c7dff7;
  --mc-text: #1e3a5f;
  --mc-text2: #4a7ab5;
  --mc-shadow: 0 4px 0 #b0cce8, 0 0 0 2px #d0e8f8;
  --mc-shadow-sm: 0 2px 0 #b0cce8, 0 0 0 1px #d0e8f8;
  --mc-radius: 4px;
  --mc-font: 'Nunito', sans-serif;
  --mc-font-pixel: 'Press Start 2P', monospace;
  --nav-height: 70px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

.mc-body {
  font-family: var(--mc-font);
  background: var(--mc-bg);
  color: var(--mc-text);
  min-height: 100vh;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(93,189,69,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(59,130,246,0.06) 0%, transparent 50%);
}

/* HEADER */
.mc-header {
  background: linear-gradient(135deg, #1a5fb4 0%, #1e40af 100%);
  padding: 12px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid #1d4ed8;
  box-shadow: 0 3px 10px rgba(30,64,175,0.3);
}
.mc-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mc-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mc-logo-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, #5dbd45, #3d8b2e);
  border-radius: var(--mc-radius);
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  box-shadow: 0 2px 0 rgba(0,0,0,0.3);
}
.mc-logo-text {
  font-family: var(--mc-font-pixel);
  font-size: 10px;
  color: #fff;
  letter-spacing: 0.5px;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}
.mc-balance-badge {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 6px 12px;
  color: white;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mc-balance-badge i { color: #fcd34d; }

/* BOTTOM NAV */
.mc-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: white;
  display: flex;
  align-items: flex-end;
  border-top: 3px solid var(--mc-border);
  box-shadow: 0 -4px 20px rgba(30,64,175,0.1);
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom);
}
.mc-nav-spacer { height: var(--nav-height); }
.mc-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 0 10px;
  text-decoration: none;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 700;
  transition: all 0.2s;
  gap: 4px;
}
.mc-nav-item.active { color: var(--mc-blue); }
.mc-nav-item:not(.mc-nav-deposit) .mc-nav-icon {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.mc-nav-item.active .mc-nav-icon { color: var(--mc-blue); }
.mc-nav-deposit {
  position: relative;
  padding-top: 0;
  flex: 1.2;
}
.mc-nav-deposit-btn {
  width: 58px; height: 58px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 24px;
  border: 4px solid white;
  box-shadow: 0 4px 15px rgba(249,115,22,0.5), 0 0 0 2px #fed7aa;
  margin-top: -20px;
  position: relative;
}
.mc-nav-deposit-btn::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.4), transparent);
}

/* CARDS */
.mc-card {
  background: var(--mc-card);
  border-radius: 12px;
  border: 2px solid var(--mc-border);
  box-shadow: var(--mc-shadow);
  padding: 16px;
  position: relative;
  overflow: hidden;
}
.mc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mc-green), var(--mc-blue));
}
.mc-card-blue {
  background: linear-gradient(135deg, #1a5fb4 0%, #1e40af 100%);
  border-color: #1d4ed8;
  color: white;
}
.mc-card-blue::before { background: linear-gradient(90deg, #60a5fa, #93c5fd); }
.mc-card-green {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  border-color: #14532d;
  color: white;
}
.mc-card-orange {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  border-color: #c2410c;
  color: white;
}

/* BALANCE CARD */
.mc-balance-card {
  background: linear-gradient(135deg, #1a5fb4, #1e40af);
  border-radius: 16px;
  padding: 20px;
  color: white;
  border: 2px solid #1d4ed8;
  box-shadow: 0 6px 0 #1e3a8a, 0 0 0 2px #bfdbfe;
  position: relative;
  overflow: hidden;
}
.mc-balance-card::after {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.mc-balance-label {
  font-size: 11px;
  opacity: 0.8;
  margin-bottom: 4px;
  display: flex; align-items: center; gap: 6px;
}
.mc-balance-label i { color: #fcd34d; }
.mc-balance-amount {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.5px;
}
.mc-balance-amount span { font-size: 14px; opacity: 0.8; }
.mc-topup-btn {
  background: linear-gradient(135deg, #5dbd45, #3d8b2e);
  color: white;
  border: 2px solid #2d6b1e;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 0 #1a4d10;
  transition: all 0.15s;
}
.mc-topup-btn:hover { transform: translateY(1px); box-shadow: 0 2px 0 #1a4d10; }
.mc-topup-btn:active { transform: translateY(3px); box-shadow: none; }

/* BUTTONS */
.mc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--mc-radius);
  font-family: var(--mc-font);
  font-weight: 800;
  font-size: 14px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}
.mc-btn:active { transform: translateY(2px); }
.mc-btn-primary {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  border-color: #1e3a8a;
  box-shadow: 0 3px 0 #1e3a8a;
}
.mc-btn-primary:active { box-shadow: none; }
.mc-btn-success {
  background: linear-gradient(135deg, #5dbd45, #3d8b2e);
  color: white;
  border-color: #1a4d10;
  box-shadow: 0 3px 0 #1a4d10;
}
.mc-btn-success:active { box-shadow: none; }
.mc-btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  border-color: #991b1b;
  box-shadow: 0 3px 0 #991b1b;
}
.mc-btn-danger:active { box-shadow: none; }
.mc-btn-warning {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  border-color: #92400e;
  box-shadow: 0 3px 0 #92400e;
}
.mc-btn-sm { padding: 6px 12px; font-size: 12px; }
.mc-btn-full { width: 100%; }
.mc-btn-outline {
  background: white;
  color: var(--mc-blue);
  border-color: var(--mc-blue);
  box-shadow: 0 3px 0 #bfdbfe;
}

/* INPUTS */
.mc-input-group { margin-bottom: 16px; }
.mc-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--mc-text2);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mc-input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--mc-border);
  border-radius: var(--mc-radius);
  font-family: var(--mc-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--mc-text);
  background: white;
  transition: border-color 0.2s;
  outline: none;
}
.mc-input:focus {
  border-color: var(--mc-blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
.mc-input-icon { position: relative; }
.mc-input-icon .mc-input { padding-left: 40px; }
.mc-input-icon i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mc-text2);
  font-size: 16px;
}

/* SERVICE CARDS */
.mc-service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.mc-service-card {
  background: white;
  border: 2px solid var(--mc-border);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  text-decoration: none;
  color: var(--mc-text);
  transition: all 0.2s;
  box-shadow: var(--mc-shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.mc-service-card:hover { transform: translateY(-2px); box-shadow: var(--mc-shadow); }
.mc-service-card:active { transform: translateY(0); }
.mc-service-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--mc-bg2);
  border: 2px solid var(--mc-border);
}
.mc-service-icon img { width: 100%; height: 100%; object-fit: cover; }
.mc-service-name { font-size: 13px; font-weight: 800; }

/* COUNTRY LIST */
.mc-country-item {
  background: white;
  border: 2px solid var(--mc-border);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: var(--mc-shadow-sm);
}
.mc-country-header {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  gap: 10px;
  cursor: pointer;
}
.mc-country-flag {
  width: 32px; height: 22px;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
.mc-country-flag img { width: 100%; height: 100%; object-fit: cover; }
.mc-country-name { font-size: 14px; font-weight: 800; flex: 1; }
.mc-badge {
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  background: #e0f2fe;
  color: #0369a1;
}
.mc-badge-green { background: #dcfce7; color: #15803d; }
.mc-badge-orange { background: #fff7ed; color: #c2410c; }
.mc-badge-red { background: #fee2e2; color: #b91c1c; }
.mc-badge-gray { background: #f1f5f9; color: #64748b; }

/* SERVER LIST */
.mc-server-item {
  background: white;
  border: 2px solid var(--mc-border);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--mc-shadow-sm);
}
.mc-server-info { flex: 1; }
.mc-server-name { font-size: 13px; font-weight: 800; }
.mc-server-id { font-size: 11px; color: var(--mc-text2); margin-top: 2px; }
.mc-server-price { font-size: 16px; font-weight: 900; color: var(--mc-blue); text-align: right; margin-right: 10px; }

/* STATUS BADGE */
.mc-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
}
.mc-status-pending { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.mc-status-received { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.mc-status-completed { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.mc-status-canceled { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.mc-status-expiring { background: #fefce8; color: #854d0e; border: 1px solid #fef08a; }
.mc-status-success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.mc-status-cancel { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* OTP DISPLAY */
.mc-otp-box {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 3px solid #86efac;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.mc-otp-code {
  font-family: var(--mc-font-pixel);
  font-size: 24px;
  color: #15803d;
  letter-spacing: 6px;
  margin: 8px 0;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.1);
}

/* ALERT */
.mc-alert {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.mc-alert-error { background: #fee2e2; border: 2px solid #fca5a5; color: #b91c1c; }
.mc-alert-success { background: #dcfce7; border: 2px solid #86efac; color: #15803d; }
.mc-alert-warning { background: #fff7ed; border: 2px solid #fed7aa; color: #c2410c; }
.mc-alert-info { background: #eff6ff; border: 2px solid #bfdbfe; color: #1d4ed8; }

/* SECTION HEADERS */
.mc-section-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--mc-text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mc-section-title i { color: var(--mc-blue); }

/* PAGE WRAPPER */
.mc-page { padding: 16px; }

/* LOADER */
.mc-loader {
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px;
  padding: 40px;
  color: var(--mc-text2);
}
.mc-spinner {
  width: 40px; height: 40px;
  border: 4px solid var(--mc-border);
  border-top-color: var(--mc-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* EMPTY STATE */
.mc-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--mc-text2);
}
.mc-empty i { font-size: 48px; margin-bottom: 12px; color: #cbd5e1; }
.mc-empty h3 { font-size: 16px; margin-bottom: 6px; }
.mc-empty p { font-size: 13px; }

/* TABS */
.mc-tabs {
  display: flex;
  background: var(--mc-bg2);
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 16px;
  border: 2px solid var(--mc-border);
}
.mc-tab {
  flex: 1;
  padding: 9px;
  text-align: center;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  color: var(--mc-text2);
  transition: all 0.2s;
}
.mc-tab.active {
  background: white;
  color: var(--mc-blue);
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

/* ORDER ITEM */
.mc-order-item {
  background: white;
  border: 2px solid var(--mc-border);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 10px;
  text-decoration: none;
  color: var(--mc-text);
  display: block;
  box-shadow: var(--mc-shadow-sm);
  transition: all 0.2s;
}
.mc-order-item:hover { transform: translateY(-1px); box-shadow: var(--mc-shadow); }
.mc-order-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.mc-order-service {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 800;
}
.mc-order-service img {
  width: 28px; height: 28px; border-radius: 6px;
  border: 1px solid var(--mc-border);
}
.mc-order-meta {
  font-size: 11px; color: var(--mc-text2);
  display: flex; gap: 10px;
  margin-top: 4px;
}
.mc-order-meta i { margin-right: 2px; }

/* QR CODE */
.mc-qr-box {
  background: white;
  border: 3px solid var(--mc-border);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: var(--mc-shadow);
}
.mc-qr-box img {
  max-width: 220px;
  width: 100%;
  border-radius: 8px;
  margin: 10px auto;
  display: block;
}

/* STAT CARDS */
.mc-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.mc-stat-card {
  background: white;
  border: 2px solid var(--mc-border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--mc-shadow-sm);
  position: relative;
  overflow: hidden;
}
.mc-stat-card::before {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 60px; height: 60px;
  border-radius: 50%;
  opacity: 0.07;
}
.mc-stat-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  margin-bottom: 8px;
}
.mc-stat-icon.blue { background: #dbeafe; color: #1d4ed8; }
.mc-stat-icon.green { background: #dcfce7; color: #15803d; }
.mc-stat-icon.orange { background: #fff7ed; color: #c2410c; }
.mc-stat-icon.purple { background: #ede9fe; color: #7c3aed; }
.mc-stat-value { font-size: 20px; font-weight: 900; }
.mc-stat-label { font-size: 11px; color: var(--mc-text2); font-weight: 700; margin-top: 2px; }

/* PROFILE */
.mc-profile-header {
  background: linear-gradient(135deg, #1a5fb4, #1e40af);
  padding: 24px 16px 40px;
  color: white;
  text-align: center;
}
.mc-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5dbd45, #3d8b2e);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  color: white;
  border: 4px solid rgba(255,255,255,0.3);
  margin: 0 auto 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.mc-profile-name { font-size: 20px; font-weight: 900; }
.mc-profile-email { font-size: 12px; opacity: 0.7; margin-top: 4px; }

/* SERVER STATUS */
.mc-server-status {
  background: white;
  border: 2px solid var(--mc-border);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.mc-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
.mc-dot.green { background: #22c55e; box-shadow: 0 0 6px #22c55e; }
.mc-dot.red { background: #ef4444; box-shadow: 0 0 6px #ef4444; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ADMIN */
.mc-admin-nav {
  background: linear-gradient(135deg, #1a5fb4, #1e40af);
  padding: 0;
  border-bottom: 3px solid #1d4ed8;
}
.mc-admin-nav-inner {
  display: flex;
  overflow-x: auto;
  gap: 0;
  scrollbar-width: none;
}
.mc-admin-nav-inner::-webkit-scrollbar { display: none; }
.mc-admin-nav-item {
  padding: 12px 16px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}
.mc-admin-nav-item.active, .mc-admin-nav-item:hover {
  color: white;
  border-bottom-color: #fcd34d;
}

/* PAGINATION */
.mc-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}
.mc-page-btn {
  width: 36px; height: 36px;
  border-radius: var(--mc-radius);
  border: 2px solid var(--mc-border);
  background: white;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  color: var(--mc-text);
  font-weight: 800;
  font-size: 13px;
  transition: all 0.15s;
}
.mc-page-btn.active {
  background: var(--mc-blue);
  color: white;
  border-color: var(--mc-blue-dark);
}
.mc-page-btn:hover:not(.active) { background: var(--mc-bg2); }

/* CS PAGE */
.mc-cs-card {
  background: white;
  border: 2px solid var(--mc-border);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  box-shadow: var(--mc-shadow);
  text-decoration: none;
  color: var(--mc-text);
  display: block;
  transition: all 0.2s;
}
.mc-cs-card:hover { transform: translateY(-3px); box-shadow: 0 8px 0 #b0cce8; }
.mc-cs-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin: 0 auto 12px;
}

/* PIXEL DECORATION */
.mc-pixel-header {
  font-family: var(--mc-font-pixel);
  font-size: 8px;
  color: var(--mc-text2);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.mc-pixel-header::before, .mc-pixel-header::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--mc-border);
  border-radius: 2px;
}

/* NOTIFICATION BADGE */
.mc-float-cs {
  position: fixed;
  right: 16px;
  bottom: calc(var(--nav-height) + 16px);
  z-index: 99;
}
.mc-float-cs a {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(59,130,246,0.5);
  border: 3px solid white;
}

/* SEARCH */
.mc-search {
  position: relative;
  margin-bottom: 16px;
}
.mc-search input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 2px solid var(--mc-border);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--mc-font);
  font-weight: 600;
  background: white;
  color: var(--mc-text);
  outline: none;
}
.mc-search input:focus { border-color: var(--mc-blue); }
.mc-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mc-text2);
  font-size: 16px;
}

/* DIVIDER */
.mc-divider {
  height: 1px;
  background: var(--mc-border);
  margin: 16px 0;
}

/* TABLE */
.mc-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.mc-table th {
  background: var(--mc-bg2);
  padding: 10px 12px;
  text-align: left;
  font-weight: 800;
  color: var(--mc-text2);
  font-size: 11px;
  text-transform: uppercase;
  border-bottom: 2px solid var(--mc-border);
}
.mc-table td {
  padding: 12px;
  border-bottom: 1px solid var(--mc-border);
  font-weight: 600;
}
.mc-table tr:last-child td { border-bottom: none; }
.mc-table-wrap {
  background: white;
  border: 2px solid var(--mc-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--mc-shadow-sm);
  overflow-x: auto;
}

/* MODAL OVERLAY */
.mc-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  display: none;
}
.mc-modal-overlay.open { display: flex; }
.mc-modal {
  background: white;
  border-radius: 20px 20px 0 0;
  padding: 20px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.mc-modal-handle {
  width: 40px; height: 4px;
  background: var(--mc-border);
  border-radius: 2px;
  margin: 0 auto 16px;
}

/* TIMER */
.mc-timer {
  font-family: var(--mc-font-pixel);
  font-size: 14px;
  color: var(--mc-orange);
  padding: 8px 16px;
  background: #fff7ed;
  border: 2px solid #fed7aa;
  border-radius: 8px;
  text-align: center;
}

/* STRUK / RECEIPT */
.mc-receipt {
  background: white;
  border: 2px dashed #94a3b8;
  border-radius: 12px;
  padding: 20px;
  position: relative;
}
.mc-receipt::before {
  content: '';
  position: absolute;
  top: -8px; left: 50%;
  transform: translateX(-50%);
  width: 16px; height: 16px;
  background: var(--mc-bg);
  border: 2px solid #94a3b8;
  border-radius: 50%;
}
.mc-receipt::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 50%;
  transform: translateX(-50%);
  width: 16px; height: 16px;
  background: var(--mc-bg);
  border: 2px solid #94a3b8;
  border-radius: 50%;
}
.mc-receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 13px;
}
.mc-receipt-row:last-child { border-bottom: none; }
.mc-receipt-row .label { color: var(--mc-text2); font-weight: 700; }
.mc-receipt-row .value { font-weight: 800; }

/* TOOLTIP */
[data-tooltip] { position: relative; cursor: help; }
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #1e293b;
  color: white;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  font-family: var(--mc-font);
  font-weight: 600;
}
[data-tooltip]:hover::after { opacity: 1; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 2px; }

/* RESPONSIVE */
@media (max-width: 380px) {
  .mc-balance-amount { font-size: 22px; }
  .mc-service-grid { gap: 8px; }
}
