/* ===== Root Variables ===== */
:root {
  --bg: #0b0f14;
  --card: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
  --text: #e6edf3;
  --muted: #9aa4af;
  --accent: #f48120;
  --accent2: #ffb86b;
  --danger: #ff6b6b;
  --radius: 16px;
  --blur: blur(14px);
  --shadow: 0 10px 25px rgba(0,0,0,0.35);
}
body.light {
  --bg: #f6f8fb;
  --card: rgba(255,255,255,0.9);
  --border: rgba(0,0,0,0.08);
  --text: #0b0f14;
  --muted: #5b6570;
  --shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* ===== Base ===== */
* { box-sizing:border-box; margin:0; padding:0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
body { background: radial-gradient(circle at 20% 0%, #111826, #05070a 60%); color:var(--text); min-height:100vh; }
body.light { background: linear-gradient(180deg,#f6f8fb,#e9eef5); }
a { color: var(--accent2); text-decoration:none; transition:0.2s; }
a:hover { text-decoration: underline; }

/* ===== Header ===== */
.header { display:flex; justify-content:space-between; align-items:center; padding:20px 40px; background:var(--card); backdrop-filter:var(--blur); border-bottom:1px solid var(--border); border-radius:var(--radius); margin:10px 20px; }
.logo { display:flex; align-items:center; gap:10px; font-weight:700; font-size:20px; }
.logo-badge { width:34px; height:34px; border-radius:10px; background:linear-gradient(135deg,var(--accent),var(--accent2)); display:flex; justify-content:center; align-items:center; font-weight:700; color:#000; }
.header-actions button { cursor:pointer; border-radius:10px; padding:8px 14px; border:1px solid var(--border); background:transparent; color:var(--text); transition:0.2s; font-weight:500; }
.header-actions button:hover { border-color:var(--accent); color:var(--accent2); }

/* ===== Wrapper ===== */
.wrapper { max-width:1200px; margin:auto; padding:32px 20px 60px; display:flex; flex-direction:column; gap:20px; }

/* ===== Cards ===== */
.card { background:var(--card); backdrop-filter:var(--blur); border:1px solid var(--border); border-radius:var(--radius); padding:20px; margin-bottom:20px; box-shadow:var(--shadow); transition:0.2s; }
.card:hover { transform: translateY(-2px); box-shadow:0 15px 35px rgba(0,0,0,0.45); }

/* ===== Auth ===== */
.auth-wrapper { min-height:100vh; display:flex; align-items:center; justify-content:center; }
.auth-card { width:360px; display:flex; flex-direction:column; gap:14px; }

/* ===== Inputs ===== */
input, select, textarea { width:100%; padding:12px 14px; border-radius:var(--radius); border:1px solid var(--border); background:transparent; color:var(--text); font-size:14px; transition:0.2s; }
input:focus, select:focus, textarea:focus { outline:none; border-color:var(--accent); box-shadow:0 0 10px rgba(244,129,32,0.3); }

/* ===== Buttons ===== */
button, .btn { border:1px solid var(--border); background:transparent; color:var(--text); padding:8px 14px; border-radius:var(--radius); cursor:pointer; font-size:14px; font-weight:500; transition:0.2s; }
button:hover, .btn:hover { border-color:var(--accent); color:var(--accent2); transform: translateY(-1px); }
.btn-accent { background:linear-gradient(135deg,var(--accent),var(--accent2)); color:#000; border:none; font-weight:600; }
.btn-danger { border-color:var(--danger); color:var(--danger); }

/* ===== Upload Box ===== */
.upload-box { border:2px dashed var(--border); border-radius:var(--radius); padding:30px; text-align:center; transition:0.2s; margin-bottom:20px; display:flex; flex-direction:column; gap:12px; }
.upload-box:hover { border-color:var(--accent); background:rgba(244,129,32,0.05); }

/* ===== Files ===== */
.file-row { display:flex; justify-content:space-between; align-items:center; padding:14px; margin-bottom:10px; border-radius:var(--radius); border:1px solid var(--border); background:var(--card); transition:0.2s; }
.file-row:hover { background: rgba(255,255,255,0.06); transform: translateY(-1px); }
body.light .file-row:hover { background: rgba(0,0,0,0.05); }
.file-actions { display:flex; gap:10px; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { height:10px; width:10px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius:20px; }
body.light ::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); }
