* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
}

/* ================= GLOBAL THEME ================= */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;

  /* GOLD PREMIUM ACCENT (from landing page) */
  --primary: #c9a961;
  --primary-light: #d6b56e;

  --border: rgba(15, 23, 42, 0.08);

  --shadow: 0 2px 10px rgba(0,0,0,0.06);
  --shadow-hover: 0 12px 28px rgba(0,0,0,0.10);

  --radius: 14px;
}

/* ================= FORCE BODY (ALL PAGES) ================= */
html, body {
  background: var(--bg) !important;
  color: var(--text) !important;
  line-height: 1.6;
  min-height: 100vh;
}

/* REMOVE ALL BACKGROUND OVERLAY */
body::before {
  display: none;
}

/* ================= GLOBAL TEXT ================= */
h1, h2, h3, h4, h5 {
  color: var(--text) !important;
  font-weight: 700;
  letter-spacing: -0.5px;
}

p, span, small, label {
  color: var(--muted);
}

/* ================= LINKS ================= */
a {
  color: var(--primary) !important;
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  color: var(--primary-light) !important;
}

/* ================= CONTAINERS ================= */
.container,
main,
section,
.auth-container,
.login-container,
.register-container,
.dashboard,
.wrapper {
  max-width: 1100px;
  margin: auto;
  padding: 32px 20px;
}

/* ================= CARDS ================= */
.card,
.vendor-card,
.vendor-owner-card,
.result-card,
.admin-section,
.auth-card,
.form-card,
div[class*="card"] {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius);
  padding: 20px;

  box-shadow: var(--shadow);
  transition: 0.2s ease;
}

.card:hover,
.vendor-card:hover,
.vendor-owner-card:hover,
.result-card:hover,
.admin-section:hover,
div[class*="card"]:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* ================= INPUTS ================= */
input,
textarea,
select,
input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  margin-top: 10px;

  border-radius: 10px;
  border: 1px solid var(--border);

  background: #fff;
  color: var(--text);

  outline: none;
  transition: 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(201,169,97,0.15);
}

/* ================= BUTTONS ================= */
button,
.btn,
[type="button"],
[type="submit"] {
  width: 100%;
  margin-top: 14px;
  padding: 12px 14px;

  border-radius: 10px;
  border: none;

  background: var(--primary) !important;
  color: #111 !important;

  font-weight: 600;
  cursor: pointer;

  transition: 0.2s ease;
}

button:hover,
.btn:hover {
  background: var(--primary-light) !important;
  transform: translateY(-2px);
}

/* ================= TOPBAR ================= */
.topbar,
header,
nav {
  background: #fff !important;
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  position: sticky;
  top: 0;
  z-index: 10;
}

/* ================= BADGES ================= */
.status-recommended,
.status-normal,
.status-weak,
.status-banned,
.verified-badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid;
}

/* GOLD STYLE BADGES (premium feel) */
.status-recommended {
  color: #16a34a;
  background: #ecfdf5;
  border-color: #bbf7d0;
}

.status-normal {
  color: var(--primary);
  background: rgba(201,169,97,0.08);
  border-color: rgba(201,169,97,0.2);
}

.status-weak {
  color: #f59e0b;
  background: #fffbeb;
  border-color: #fde68a;
}

.status-banned {
  color: #ef4444;
  background: #fef2f2;
  border-color: #fecaca;
}

.verified-badge {
  color: var(--primary);
  background: rgba(201,169,97,0.08);
  border-color: rgba(201,169,97,0.25);
}

/* ================= MODALS ================= */
.modal {
  position: fixed;
  inset: 0;
  display: none;

  background: rgba(0,0,0,0.4);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;

  width: 90%;
  max-width: 520px;

  box-shadow: var(--shadow-hover);
}

/* ================= GRID ================= */
.grid,
#premiumVendors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

/* ================= TOAST ================= */
#toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);

  background: #111;
  color: #fff;

  padding: 12px 16px;
  border-radius: 10px;

  opacity: 0;
  transition: 0.2s ease;
}

#toast.show {
  opacity: 1;
}

/* ================= CLEAN PERFORMANCE ================= */
* {
  scroll-behavior: smooth;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}