/* ============================================================
   1. RESET & BASE
   ============================================================ */
*, ::before, ::after { box-sizing: border-box; border-width: 0; border-style: solid; }
* { margin: 0; padding: 0; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Myanmar", Arial, sans-serif;
  line-height: 1.5; -webkit-font-smoothing: antialiased;
}
img, svg, video, canvas { display: block; vertical-align: middle; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: transparent; border: none; }
a { color: inherit; text-decoration: none; }
input:focus, textarea:focus, select:focus, button:focus { outline: none; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* ============================================================
   2. LAYOUT
   ============================================================ */
.page { background-color: #0a0c0a; color: #f1f5f9; min-height: 100vh; }
.page-center { display: flex; align-items: center; justify-content: center; padding: 1rem; }
.bg-app { background-color: #0a0c0a; }
.bg-card { background-color: #111411; }
.bg-elevated { background-color: #171717; }
.bg-black { background-color: #0a0a0a; }
.bg-black-40 { background-color: rgba(0,0,0,0.4); }
.bg-primary { background-color: #10b981; }
.bg-primary-soft { background-color: rgba(16,185,129,0.15); }
.bg-primary-muted { background-color: rgba(16,185,129,0.10); }
.bg-primary-strong { background-color: rgba(16,185,129,0.20); }
.bg-danger-soft { background-color: rgba(244,63,94,0.10); }
.bg-warning-soft { background-color: rgba(245,158,11,0.10); }
.bg-info-soft { background-color: rgba(14,165,233,0.10); }

.container { max-width: 36rem; margin-left: auto; margin-right: auto; padding: 1rem; }
.container-sm { max-width: 24rem; margin-left: auto; margin-right: auto; padding: 1rem; }
.container-md { max-width: 48rem; margin-left: auto; margin-right: auto; padding: 1rem; }
.container-lg { max-width: 72rem; margin-left: auto; margin-right: auto; }

.app-header {
  position: sticky; top: 0; z-index: 40; padding: 0.875rem 1rem;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(10,12,10,0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(2,44,34,0.8);
}
.app-footer {
  border-top: 1px solid #1e293b; padding: 1.5rem 1rem; text-align: center;
  font-size: 0.75rem; color: #64748b;
  background: rgba(17,20,17,0.72); backdrop-filter: blur(12px);
}
.back-btn {
  width: 2.25rem; height: 2.25rem; border-radius: 0.75rem;
  background: #171717; border: 1px solid rgba(6,78,59,0.5);
  display: flex; align-items: center; justify-content: center;
  color: #34d399; transition: color 150ms;
}
.back-btn:hover { color: #ffffff; }
.back-btn-text { color: #94a3b8; font-size: 1.125rem; }
.back-btn-text:hover { color: #ffffff; }

/* ============================================================
   3. CARDS
   ============================================================ */
.card-glass {
  background: rgba(17,20,17,0.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(16,185,129,0.15); border-radius: 1rem;
}
.glow-card {
  background: #111411; border: 1px solid rgba(16,185,129,0.20);
  box-shadow: 0 0 15px -3px rgba(16,185,129,0.15); border-radius: 1.5rem;
}
.card { background: #111411; border: 1px solid rgba(16,185,129,0.15); border-radius: 1.5rem; }
.card-neutral { background: rgba(23,23,23,0.7); border: 1px solid #022c22; border-radius: 0.75rem; }
.card-sm { padding: 0.875rem; }
.card-md { padding: 1.25rem; }
.card-lg { padding: 2rem; }
.card-center { text-align: center; }
.glow-text { text-shadow: 0 0 10px rgba(16,185,129,0.5); }

/* ============================================================
   4. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.625rem 1rem; border-radius: 0.75rem;
  font-weight: 600; font-size: 0.8125rem;
  transition: all 150ms; cursor: pointer; border: 1px solid transparent; text-align: center;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: #10b981; color: #000000; border-color: #10b981; font-weight: 700; }
.btn-primary:hover:not(:disabled) { background: #34d399; }
.btn-secondary { background: #171717; color: #cbd5e1; border-color: #022c22; }
.btn-secondary:hover:not(:disabled) { color: #ffffff; border-color: rgba(16,185,129,0.5); }
.btn-danger { background: rgba(244,63,94,0.15); color: #fb7185; border-color: rgba(244,63,94,0.30); }
.btn-danger:hover:not(:disabled) { background: rgba(244,63,94,0.25); }
.btn-ghost {
  background: rgba(17,20,17,0.72); backdrop-filter: blur(12px);
  color: #cbd5e1; border-color: rgba(30,41,59,0.8);
}
.btn-ghost:hover:not(:disabled) { color: #ffffff; }
.btn-info { background: #0284c7; color: #ffffff; border-color: #0284c7; font-weight: 700; }
.btn-info:hover:not(:disabled) { background: #0ea5e9; }
.btn-warning { background: #f59e0b; color: #000000; border-color: #f59e0b; font-weight: 700; }
.btn-outline { background: transparent; border: 1px solid rgba(16,185,129,0.4); color: #6ee7b7; }
.btn-outline:hover:not(:disabled) { background: rgba(16,185,129,0.10); }
.btn-outline-warning { background: transparent; border: 1px solid rgba(245,158,11,0.4); color: #fbbf24; }
.btn-outline-warning:hover:not(:disabled) { background: rgba(245,158,11,0.10); }
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.6875rem; border-radius: 0.5rem; }
.btn-lg { padding: 0.875rem 1.5rem; font-size: 0.875rem; }
.btn-block { width: 100%; }
.icon-btn {
  width: 2.25rem; height: 2.25rem; border-radius: 0.75rem;
  background: #171717; border: 1px solid #022c22;
  display: flex; align-items: center; justify-content: center;
  color: #34d399; transition: color 150ms;
}
.icon-btn:hover { color: #ffffff; }
.icon-btn-sm {
  width: 1.75rem; height: 1.75rem; border-radius: 0.5rem;
  background: #171717; color: #94a3b8; display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
}
.icon-btn-sm:hover { color: #ffffff; }

/* ============================================================
   5. BADGES / PILLS
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.125rem 0.5rem; border-radius: 0.375rem;
  font-size: 0.625rem; font-weight: 700; border: 1px solid; white-space: nowrap;
}
.badge-primary, .badge-success { background: rgba(16,185,129,0.10); color: #34d399; border-color: rgba(16,185,129,0.30); }
.badge-warning { background: rgba(245,158,11,0.10); color: #fbbf24; border-color: rgba(245,158,11,0.30); }
.badge-danger { background: rgba(244,63,94,0.10); color: #fb7185; border-color: rgba(244,63,94,0.30); }
.badge-info { background: rgba(14,165,233,0.10); color: #38bdf8; border-color: rgba(14,165,233,0.30); }
.badge-neutral { background: #171717; color: #94a3b8; border-color: #022c22; }
.pill {
  display: inline-flex; align-items: center; padding: 0.375rem 0.75rem;
  border-radius: 0.75rem; font-size: 0.75rem; font-weight: 700;
}
.pill-primary { background: rgba(16,185,129,0.15); color: #34d399; border: 1px solid rgba(16,185,129,0.30); }
.pill-emerald { background: rgba(5,150,105,0.20); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.40); padding: 0.25rem 0.75rem; border-radius: 0.75rem; font-size: 0.875rem; font-weight: 900; letter-spacing: 0.05em; }

/* ============================================================
   6. FORMS
   ============================================================ */
.form-group { display: flex; flex-direction: column; }
.form-label { display: block; font-size: 0.6875rem; color: #94a3b8; margin-bottom: 0.375rem; }
.form-input, .form-select, .form-textarea {
  width: 100%; background: #171717; border: 1px solid #022c22;
  border-radius: 0.75rem; padding: 0.625rem 1rem;
  font-size: 0.75rem; color: #ffffff; transition: border-color 150ms;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: #10b981; outline: none; }
.form-textarea { padding: 0.625rem 0.75rem; resize: vertical; }
.form-file {
  width: 100%; background: #171717; border: 1px solid #022c22;
  border-radius: 0.75rem; padding: 0.5rem 0.75rem;
  font-size: 0.75rem; color: #cbd5e1; cursor: pointer;
}
.form-file::file-selector-button {
  margin-right: 0.75rem; padding: 0.375rem 0.75rem;
  border-radius: 0.5rem; border: 0; font-size: 0.75rem; font-weight: 600;
  background: rgba(5,150,105,0.3); color: #6ee7b7; cursor: pointer;
}
.form-file:hover::file-selector-button { background: rgba(5,150,105,0.5); }
.accent-primary { accent-color: #10b981; }

/* ============================================================
   7. ALERTS
   ============================================================ */
.alert {
  padding: 0.5rem 0.75rem; border-radius: 0.75rem;
  font-size: 0.75rem; border: 1px solid; line-height: 1.5;
}
.alert-success { background: rgba(16,185,129,0.10); color: #6ee7b7; border-color: rgba(16,185,129,0.20); }
.alert-danger { background: rgba(244,63,94,0.10); color: #fb7185; border-color: rgba(244,63,94,0.20); }
.alert-warning { background: rgba(245,158,11,0.10); color: #fde68a; border-color: rgba(245,158,11,0.30); }

/* ============================================================
   8. TEXT
   ============================================================ */
.text-9 { font-size: 0.5625rem; }
.text-10 { font-size: 0.625rem; }
.text-11 { font-size: 0.6875rem; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-6xl { font-size: 3.75rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.text-white { color: #ffffff; }
.text-black { color: #000000; }
.text-primary { color: #34d399; }
.text-primary-light { color: #6ee7b7; }
.text-muted { color: #94a3b8; }
.text-muted-light { color: #cbd5e1; }
.text-muted-dark { color: #64748b; }
.text-danger { color: #fb7185; }
.text-warning { color: #fbbf24; }
.text-info { color: #38bdf8; }
.text-violet { color: #a78bfa; }
.text-gradient {
  background-image: linear-gradient(to right, #34d399, #2dd4bf);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.uppercase { text-transform: uppercase; }
.underline { text-decoration: underline; }
.whitespace-nowrap { white-space: nowrap; }
.whitespace-pre-wrap { white-space: pre-wrap; }
.break-words { overflow-wrap: break-word; }
.break-all { word-break: break-all; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select-all { user-select: all; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ============================================================
   9. FLEX / GRID
   ============================================================ */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.min-w-0 { min-width: 0; }
.min-h-0 { min-height: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-end { justify-content: flex-end; }
.row { display: flex; align-items: center; gap: 0.5rem; }
.row-center { display: flex; align-items: center; justify-content: center; }
.grid { display: grid; }
.grid-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack-xs > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem; }
.stack-sm > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.stack-md > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.stack-lg > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.stack-xl > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-sm { gap: 0.5rem; }
.gap-2 { gap: 0.5rem; }
.gap-md { gap: 0.75rem; }
.gap-3 { gap: 0.75rem; }
.gap-lg { gap: 1rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }

/* ============================================================
   10. SPACING
   ============================================================ */
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-sm { padding: 0.5rem; }
.p-md { padding: 0.75rem; }
.p-lg { padding: 1rem; }
.px-xs { padding-left: 0.25rem; padding-right: 0.25rem; }
.px-sm { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-md { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-lg { padding-left: 1rem; padding-right: 1rem; }
.py-xs { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-sm { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-md { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-lg { padding-top: 1rem; padding-bottom: 1rem; }
.pt-xs { padding-top: 0.25rem; }
.pt-sm { padding-top: 0.5rem; }
.pt-md { padding-top: 0.75rem; }
.pt-lg { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pb-xs { padding-bottom: 0.25rem; }
.pb-sm { padding-bottom: 0.5rem; }
.pb-md { padding-bottom: 0.75rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-20 { padding-bottom: 5rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pl-10 { padding-left: 2.5rem; }
.pr-20 { padding-right: 5rem; }
.pl-3\.5 { padding-left: 0.875rem; }
.pr-4 { padding-right: 1rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.pt-2 { padding-top: 0.5rem; }
.mt-xs { margin-top: 0.25rem; }
.mt-sm { margin-top: 0.5rem; }
.mt-md { margin-top: 0.75rem; }
.mt-2 { margin-top: 0.5rem; }
.mb-xs { margin-bottom: 0.25rem; }
.mb-sm { margin-bottom: 0.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-auto { margin-top: auto; margin-bottom: auto; }

/* ============================================================
   11. SIZES
   ============================================================ */
.w-1\.5 { width: 0.375rem; }
.w-2 { width: 0.5rem; }
.w-3\.5 { width: 0.875rem; }
.w-4 { width: 1rem; }
.w-8 { width: 2rem; }
.w-20 { width: 5rem; }
.w-full { width: 100%; }
.h-1\.5 { height: 0.375rem; }
.h-2 { height: 0.5rem; }
.h-3\.5 { height: 0.875rem; }
.h-4 { height: 1rem; }
.h-8 { height: 2rem; }
.h-20 { height: 5rem; }
.h-44 { height: 11rem; }
.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-xl { max-width: 36rem; }
.max-w-\[170px\] { max-width: 170px; }
.max-h-40 { max-height: 10rem; }
.max-h-60 { max-height: 15rem; }
.max-h-56 { max-height: 14rem; }
.max-h-\[75vh\] { max-height: 75vh; }
.min-h-screen { min-height: 100vh; }

/* ============================================================
   12. POSITION / MISC
   ============================================================ */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.top-1\/2 { top: 50%; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.right-1\.5 { right: 0.375rem; }
.right-2 { right: 0.5rem; }
.top-full { top: 100%; }
.left-3\.5 { left: 0.875rem; }
.-translate-y-1\/2 { transform: translateY(-50%); }
.-translate-x-full { transform: translateX(-100%); }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.z-120 { z-index: 120; }
.z-130 { z-index: 130; }
.z-300 { z-index: 300; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }
.overflow-auto { overflow: auto; }
.cursor-pointer { cursor: pointer; }
.opacity-50 { opacity: 0.5; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }
.rounded-sm { border-radius: 0.375rem; }
.rounded-md { border-radius: 0.5rem; }
.rounded-lg { border-radius: 0.75rem; }
.rounded-xl { border-radius: 1rem; }
.rounded-2xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.border { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-dark { border-color: #022c22; }
.border-subtle { border-color: #1e293b; }
.border-primary { border-color: #10b981; }
.border-primary-soft { border-color: rgba(16,185,129,0.30); }
.border-danger-soft { border-color: rgba(244,63,94,0.30); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.transition { transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.duration-300 { transition-duration: 300ms; }
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ============================================================
   13. ANIMATIONS
   ============================================================ */
@keyframes pulse { 50% { opacity: 0.5; } }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }
.animate-ping { animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }
.dot-pulse {
  display: inline-block; width: 0.375rem; height: 0.375rem;
  border-radius: 9999px; background: #34d399; animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ============================================================
   14. SPECIFIC COMPONENTS
   ============================================================ */
/* Modal */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,0.85);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  overflow-y: auto;
}
.modal-card {
  background: #111411; border: 1px solid rgba(16,185,129,0.40);
  border-radius: 1.5rem; padding: 1.25rem;
}
.modal-sm { max-width: 24rem; width: 100%; }

/* Drawer (user-dashboard) */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
}
.side-drawer {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 50;
  width: 18rem; background: #111411; border-right: 1px solid #022c22;
  padding: 1.25rem; display: flex; flex-direction: column; justify-content: space-between;
  transform: translateX(-100%); transition: transform 300ms;
}
.side-drawer:not(.-translate-x-full) { transform: translateX(0); }
.brand-badge {
  width: 1.75rem; height: 1.75rem; border-radius: 0.75rem;
  background: rgba(16,185,129,0.20); border: 1px solid rgba(16,185,129,0.40);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6875rem; font-weight: 900; color: #34d399;
}
.brand-badge-lg {
  width: 2.5rem; height: 2.5rem; border-radius: 1rem;
  background: rgba(16,185,129,0.20); border: 1px solid rgba(16,185,129,0.40);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 900; color: #34d399;
}
.side-nav { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.75rem; font-weight: 600; }
.nav-link {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 0.875rem; border-radius: 1rem;
  background: rgba(23,23,23,0.6); color: #cbd5e1; transition: all 150ms;
}
.nav-link:hover { background: #171717; color: #ffffff; }
.nav-link-active {
  background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.30); color: #34d399;
}
.nav-link-admin {
  background: rgba(245,158,11,0.10); border: 1px solid rgba(245,158,11,0.20); color: #fbbf24;
}

/* Dropdowns (user-dashboard) */
.dropdown-trigger {
  width: 100%; background: #171717; border: 1px solid #022c22;
  border-radius: 1rem; padding: 0.75rem 1rem; font-size: 0.75rem;
  display: flex; justify-content: space-between; align-items: center;
  color: #ffffff; transition: border-color 150ms;
}
.dropdown-trigger:hover:not(:disabled) { border-color: #065f46; }
.dropdown-trigger:disabled { opacity: 0.5; cursor: not-allowed; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; right: 0; margin-top: 0.5rem;
  background: #111411; border: 1px solid #064e3b; border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  z-index: 30; max-height: 14rem; overflow-y: auto; padding: 0.375rem; gap: 0.25rem;
}
.dropdown-menu:not(.hidden) { display: flex; flex-direction: column; }

/* Detail box (user-dashboard) */
.detail-box {
  background: rgba(10,10,10,0.8); border: 1px solid rgba(2,44,34,0.8);
  border-radius: 1rem; padding: 0.875rem; display: flex; flex-direction: column; gap: 0.5rem;
  font-size: 0.75rem;
}
.kv-row {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 0.375rem; border-bottom: 1px solid rgba(2,44,34,0.6);
}
.kv-row:last-child { border-bottom: 0; }

/* Success icon (order modal) */
.success-icon {
  width: 3rem; height: 3rem; border-radius: 9999px;
  background: rgba(16,185,129,0.20); border: 1px solid rgba(16,185,129,0.40);
  color: #34d399; display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 700; margin: 0 auto;
}
.order-id-box {
  background: #0a0c0a; border: 1px solid rgba(16,185,129,0.40);
  border-radius: 1rem; padding: 0.5rem 0.75rem; text-align: center;
}
.order-summary {
  background: #0a0a0a; border-radius: 1rem; padding: 0.875rem;
  border: 1px solid #022c22; font-size: 0.75rem;
}
.order-summary > div { margin-bottom: 0.5rem; }

/* Admin tabs */
.admin-tab {
  padding: 0.375rem 0.875rem; border-radius: 0.75rem;
  background: #171717; border: 1px solid #022c22; color: #cbd5e1;
  font-size: 0.75rem; font-weight: 700; white-space: nowrap; transition: all 150ms;
}
.admin-tab:hover { border-color: #065f46; }
.admin-tab-active { background: #059669; color: #000000; border-color: #059669; }

.order-filter-btn {
  padding: 0.25rem 0.75rem; border-radius: 0.75rem;
  background: #171717; border: 1px solid #022c22; color: #94a3b8;
  font-size: 0.6875rem; font-weight: 700; white-space: nowrap;
}
.order-filter-active { background: #10b981; color: #000000; border-color: #10b981; }

/* Orders page filters */
.filter-btn {
  padding: 0.375rem 0.875rem; border-radius: 0.75rem;
  background: #171717; border: 1px solid #1e293b; color: #94a3b8;
  font-size: 0.75rem; font-weight: 600; white-space: nowrap;
}
.filter-btn-active {
  background: #0284c7; color: #ffffff; border-color: #0284c7;
  box-shadow: 0 4px 6px -1px rgba(2,132,199,0.30);
}

/* Platform tabs */
.platform-tab {
  padding: 0.5rem 0.75rem; border-radius: 1rem;
  background: #171717; border: 1px solid #022c22; color: #cbd5e1;
  font-size: 0.75rem; font-weight: 700; white-space: nowrap;
  display: flex; align-items: center; gap: 0.5rem; transition: border-color 150ms;
}
.platform-tab:hover { border-color: #065f46; }
.platform-tab-active {
  background: #10b981; color: #000000; border-color: #10b981;
  box-shadow: 0 4px 6px -1px rgba(16,185,129,0.20);
}

/* Chat (ai-support) */
.chat-messages {
  flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 0.875rem;
  padding-right: 0.25rem; max-height: 75vh;
}
.chat-row { display: flex; align-items: flex-start; gap: 0.625rem; }
.chat-bubble {
  background: rgba(15,23,42,0.9); border: 1px solid #1e293b;
  border-radius: 1rem; border-top-left-radius: 0.125rem;
  padding: 0.875rem; font-size: 0.75rem; line-height: 1.6;
  max-width: 85%; color: #e2e8f0;
}
.avatar-icon {
  width: 2rem; height: 2rem; border-radius: 9999px;
  background: rgba(5,150,105,0.30); border: 1px solid rgba(16,185,129,0.50);
  display: flex; align-items: center; justify-content: center; font-size: 0.875rem;
}
.avatar-icon-sm {
  width: 1.75rem; height: 1.75rem; border-radius: 9999px;
  background: rgba(5,150,105,0.40); border: 1px solid rgba(16,185,129,0.40);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; flex-shrink: 0; margin-top: 0.125rem;
}
.option-btn {
  width: 100%; text-align: left; padding: 0.625rem 1rem;
  border-radius: 0.75rem; background: #0f172a; border: 1px solid;
  font-size: 0.75rem; font-weight: 600; transition: background 150ms;
  display: flex; align-items: center; gap: 0.5rem;
}
.option-primary { border-color: rgba(16,185,129,0.30); color: #6ee7b7; }
.option-primary:hover { background: #1e293b; }
.option-warning { border-color: rgba(245,158,11,0.30); color: #fcd34d; }
.option-warning:hover { background: #1e293b; }
.option-danger { border-color: rgba(244,63,94,0.30); color: #fda4af; }
.option-danger:hover { background: #1e293b; }
.chat-input-wrap { position: relative; display: flex; align-items: center; }
.chat-input {
  width: 100%; background: #0f172a; border: 1px solid rgba(51,65,85,0.8);
  border-radius: 1rem; padding: 0.875rem 1rem; padding-right: 6rem;
  font-size: 0.875rem; color: #ffffff;
}
.chat-input:focus { border-color: #10b981; }

/* Profile avatar */
.avatar-circle {
  width: 4rem; height: 4rem; margin: 0 auto;
  background: rgba(5,150,105,0.20); color: #34d399;
  border: 1px solid rgba(16,185,129,0.30);
  border-radius: 9999px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 700;
}

/* Hero (index) */
.brand { font-size: 1.25rem; font-weight: 800; letter-spacing: 0.05em; color: #34d399; }
.link-muted { font-size: 0.875rem; font-weight: 500; transition: color 150ms; }
.link-muted:hover { color: #34d399; }
.hero { max-width: 56rem; margin: 0 auto; padding: 4rem 1.5rem; text-align: center; display: flex; flex-direction: column; gap: 1.5rem; }
.hero-title { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; }
.hero-sub { font-size: 0.875rem; color: #94a3b8; max-width: 36rem; margin: 0 auto; }

/* Import modal (admin) */
.import-header {
  padding: 0.625rem 0.75rem; border-bottom: 1px solid #022c22;
  display: flex; justify-content: space-between; align-items: center; gap: 0.5rem;
  background: #0a0c0a;
}
.import-controls { padding: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; border-bottom: 1px solid rgba(2,44,34,0.6); }
.import-footer { padding: 0.75rem; border-top: 1px solid #022c22; display: flex; flex-direction: column; gap: 0.5rem; }

/* ============================================================
   15. RESPONSIVE
   ============================================================ */
@media (min-width: 640px) {
  .sm-flex-row { flex-direction: row; }
  .sm-text-sm { font-size: 0.875rem; }
  .sm-text-lg { font-size: 1.125rem; }
  .sm-w-auto { width: auto; }
  .hero-title { font-size: 3.75rem; }
  .hero-sub { font-size: 1rem; }
}
@media (min-width: 768px) {
  .md-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}