/* ── TRANSFERA — MAIN CSS ── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

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

:root {
  --bg:       #080b12;
  --bg2:      #0d1120;
  --bg3:      #111827;
  --bg4:      #161d2e;
  --accent:   #00f5c4;
  --accent2:  #3d7fff;
  --accent3:  #ff4ecd;
  --text:     #e8edf7;
  --muted:    #5a6480;
  --muted2:   #8a94b0;
  --border:   rgba(255,255,255,0.07);
  --border2:  rgba(255,255,255,0.12);
  --danger:   #ff4e4e;
  --success:  #00f5c4;
  --warning:  #ffb547;
  --radius:   14px;
  --radius-lg:20px;
  --shadow:   0 8px 40px rgba(0,0,0,0.4);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  min-height: 100vh;
}

/* NOISE */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.022;
  pointer-events: none;
}

/* GRID */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(0,245,196,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,245,196,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* CURSOR */
#cursor {
  position: fixed; z-index: 9999;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%,-50%);
  transition: width .2s, height .2s, background .2s;
  mix-blend-mode: screen;
}
#cursor-ring {
  position: fixed; z-index: 9998;
  width: 36px; height: 36px;
  border: 1px solid rgba(0,245,196,0.5);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%,-50%);
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(0,245,196,0.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,245,196,0.4); }

/* TYPOGRAPHY */
h1,h2,h3,h4 { font-family: 'Syne', sans-serif; font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  cursor: none; transition: all .25s;
  border: none; letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: #080b12; font-weight: 700;
  box-shadow: 0 0 30px rgba(0,245,196,0.25);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 50px rgba(0,245,196,0.45); }
.btn-ghost {
  background: transparent; color: var(--muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--border2); }
.btn-danger {
  background: rgba(255,78,78,0.12); color: var(--danger);
  border: 1px solid rgba(255,78,78,0.25);
}
.btn-danger:hover { background: rgba(255,78,78,0.2); }
.btn-success {
  background: rgba(0,245,196,0.1); color: var(--accent);
  border: 1px solid rgba(0,245,196,0.25);
}
.btn-success:hover { background: rgba(0,245,196,0.18); }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 9px; }
.btn-lg { padding: 15px 34px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-block { width: 100%; justify-content: center; }

/* INPUTS */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 13px; font-weight: 500; color: var(--muted2); letter-spacing: 0.02em; }
.form-input {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 13px 16px;
  color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 15px;
  transition: border-color .2s, box-shadow .2s; outline: none; width: 100%;
}
.form-input:focus { border-color: rgba(0,245,196,0.4); box-shadow: 0 0 0 3px rgba(0,245,196,0.08); }
.form-input::placeholder { color: var(--muted); }
.form-input.error { border-color: rgba(255,78,78,0.5); }
.form-hint { font-size: 12px; color: var(--muted); }
.form-error { font-size: 12px; color: var(--danger); }
select.form-input { cursor: none; }

/* CARDS */
.card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
}
.card-sm { padding: 20px; border-radius: var(--radius); }

/* BADGES */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 100px; font-size: 12px; font-weight: 500;
}
.badge-pending  { background: rgba(255,181,71,0.12); color: var(--warning); border: 1px solid rgba(255,181,71,0.25); }
.badge-approved { background: rgba(0,245,196,0.1);  color: var(--accent);  border: 1px solid rgba(0,245,196,0.25); }
.badge-rejected { background: rgba(255,78,78,0.1);  color: var(--danger);  border: 1px solid rgba(255,78,78,0.25); }
.badge-deposit  { background: rgba(0,245,196,0.08); color: var(--accent);  border: 1px solid rgba(0,245,196,0.2); }
.badge-withdraw { background: rgba(255,78,205,0.08);color: var(--accent3); border: 1px solid rgba(255,78,205,0.2);}
.badge-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* TABLE */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; }
thead th {
  padding: 14px 20px; text-align: left;
  font-size: 12px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--muted); background: var(--bg3); border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
tbody td { padding: 16px 20px; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr { transition: background .15s; }
tbody tr:hover { background: rgba(255,255,255,0.02); }

/* ALERTS */
.alert { padding: 14px 18px; border-radius: var(--radius); font-size: 14px; margin-bottom: 20px; }
.alert-error   { background: rgba(255,78,78,0.1);  border: 1px solid rgba(255,78,78,0.25);  color: #ff8e8e; }
.alert-success { background: rgba(0,245,196,0.08); border: 1px solid rgba(0,245,196,0.2);  color: var(--accent); }
.alert-info    { background: rgba(61,127,255,0.08);border: 1px solid rgba(61,127,255,0.2); color: #7ba8ff; }

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

/* ANIMATIONS */
@keyframes fadeUp   { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:none; } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
@keyframes pulse    { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.7)} }
@keyframes spin     { to { transform: rotate(360deg); } }

.reveal { opacity:0; transform:translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity:1; transform:none; }

/* NAV (shared) */
.nav-logo {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 20px; color: var(--text); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo-mark {
  width: 30px; height: 30px; background: var(--accent);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: #080b12; font-weight: 900;
  box-shadow: 0 0 18px rgba(0,245,196,0.35);
}

/* UTILS */
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--muted); }
.text-danger  { color: var(--danger); }
.text-success { color: var(--success); }
.text-sm      { font-size: 13px; }
.text-xs      { font-size: 12px; }
.font-mono    { font-family: 'Courier New', monospace; }
.fw-700       { font-weight: 700; }
.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.flex  { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.w-full { width: 100%; }
