/* === BASE THEME (your original CSS, preserved) === */
:root {
  --bg: #050816;
  --card: rgba(15, 23, 42, 0.75);
  --accent: #6366f1;
  --accent-soft: rgba(99, 102, 241, 0.25);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --radius: 20px;
  --shadow: 0 20px 60px rgba(0,0,0,0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
#status {
  min-height: 20px;
  margin: 15px 0;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

#status:empty {
  display: none;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: radial-gradient(circle at top, #111827 0%, #020617 60%, #000 100%);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  letter-spacing: -0.01em;
}

/* HEADER */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 70px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px);
  background: rgba(15, 23, 42, 0.4);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.5px;
  cursor: pointer;
}

/* MAIN */
.main {
  padding-top: 120px;
  width: 100%;
  max-width: 1100px;
  margin: auto;
}

.hero {
  text-align: center;
  margin-bottom: 40px;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 10px;
  font-weight: 600;
}

.hero p {
  color: var(--muted);
}

/* UPLOAD CARD */
.upload-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(25px);
  margin-bottom: 50px;
  text-align: center;
}

.dropzone {
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  transition: 0.2s;
}

.dropzone:hover {
  border-color: var(--accent);
  background: rgba(99,102,241,0.05);
}

.drop-inner h3 {
  font-size: 20px;
  margin-bottom: 6px;
  font-weight: 600;
}

.drop-inner p {
  color: var(--muted);
  margin-bottom: 12px;
}

/* BUTTONS */
.btn-primary {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  border: none;
  padding: 10px 22px;
  border-radius: 999px;
  color: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(99,102,241,0.4);
  transition: 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(99,102,241,0.55);
}

.btn-full {
  width: 100%;
  margin-top: 20px;
}

/* INPUTS */
.option input,
.option select,
.link-box input {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-size: 14px;
}

/* RESULT BOX */
.result-box {
  display: none;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  animation: fadeIn 0.4s ease;
  margin-top: 30px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

/* FOOTER */
.footer {
  padding: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(10px);
}

/* === ADDITIONS FOR ADMIN + ERROR PAGES === */

.status-text {
  margin-top: 15px;
  color: var(--muted);
  font-size: 14px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: left;
}

.badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.badge-success { background: rgba(34,197,94,0.15); color: #22c55e; }
.badge-danger  { background: rgba(239,68,68,0.15); color: #ef4444; }
.badge-muted   { background: rgba(156,163,175,0.15); color: #9ca3af; }
