/* Shared styles for clipdrop.xyz */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #020810;
  --surface: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
  --border-light: rgba(255,255,255,0.05);
  --primary: #0066FF;
  --primary-dark: #0052cc;
  --text: #fff;
  --text-muted: rgba(255,255,255,0.45);
  --text-dim: rgba(255,255,255,0.22);
  --success: #10B981;
  --error: #EF4444;
  --warning: #F59E0B;
  --radius: 12px;
  --radius-sm: 8px;
}
html, body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); }
body { background: var(--bg) radial-gradient(ellipse 90% 70% at 10% 10%, rgba(8,25,110,0.6) 0%, transparent 60%),
  radial-gradient(ellipse 80% 60% at 90% 90%, rgba(6,18,80,0.55) 0%, transparent 60%); min-height: 100vh; padding-top: 58px; }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(2,8,16,0.85); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); padding: 0 24px; height: 68px; display: flex; align-items: center;
  justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.nav-brand img { height: 52px; width: auto; }
.nav-brand span { font-size: 15px; font-weight: 700; }
.nav-brand .badge { font-size: 10px; font-weight: 700; padding: 2px 7px; background: var(--primary); border-radius: 20px;
  color: #fff; letter-spacing: 0.5px; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-link { color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 500; padding: 6px 12px;
  border-radius: var(--radius-sm); transition: color 0.15s, background 0.15s; }
.nav-link:hover { color: var(--text); background: var(--surface); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px;
  border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; cursor: pointer; border: none;
  text-decoration: none; transition: all 0.18s; font-family: inherit; white-space: nowrap; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--text-muted); border: 1px solid var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: var(--text); }
.btn-danger { background: rgba(239,68,68,0.15); color: #fc8181; border: 1px solid rgba(239,68,68,0.25); }
.btn-danger:hover { background: rgba(239,68,68,0.25); }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; top: 0; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent); }

/* Form */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 7px;
  letter-spacing: 0.01em; }
.form-input { width: 100%; padding: 12px 16px; background: rgba(255,255,255,0.05);
  border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-size: 14px;
  font-family: inherit; transition: border-color 0.15s, background 0.15s; outline: none; }
.form-input:focus { border-color: var(--primary); background: rgba(0,102,255,0.06); }
.form-input::placeholder { color: var(--text-dim); }

/* Alerts */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 16px; display: none; }
.alert.show { display: block; }
.alert-error { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.25); color: #fc8181; }
.alert-success { background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.25); color: #6ee7b7; }

/* Toast */
.toast { position: fixed; bottom: 24px; right: 24px; padding: 14px 20px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; z-index: 1000; display: none; backdrop-filter: blur(12px); }
.toast.show { display: block; }
.toast-success { background: rgba(16,185,129,0.9); color: #fff; }
.toast-error { background: rgba(239,68,68,0.9); color: #fff; }

/* Util */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.page-pad { padding: 40px 24px; }
.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }
.monospace { font-family: monospace; }
