/* =============================================
   WaZap Lite — User Portal CSS
   ============================================= */

:root {
  --bg: #0a0f14;
  --bg-card: #111920;
  --bg-input: #0d1318;
  --bg-hover: #1a242d;
  --border: rgba(134, 150, 160, 0.12);
  --border-active: rgba(0, 168, 132, 0.4);
  --text: #e9edef;
  --text-sec: #8696a0;
  --text-muted: #5a6b75;
  --green: #00a884;
  --green-lt: #00d4a4;
  --red: #ea4335;
  --yellow: #fbbf24;
  --blue: #3b82f6;
  --radius: 12px;
  --radius-sm: 8px;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--text-sec);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: 0.2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--green); }

/* Container */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 24px;
}

/* Typography */
h1, h2, h3 { margin-bottom: 16px; }
h1 { font-size: 32px; font-weight: 700; }
h2 { font-size: 24px; font-weight: 600; }
p { color: var(--text-sec); line-height: 1.6; margin-bottom: 16px; }

/* Buttons */
.btn {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  display: inline-block;
  text-decoration: none;
  transition: 0.2s;
}
.btn-primary { background: linear-gradient(135deg, var(--green), var(--green-lt)); color: #fff; }
.btn-primary:hover { box-shadow: 0 4px 12px rgba(0, 168, 132, 0.3); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }

/* Forms */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 12px; color: var(--text-sec); }
.form-group input, .form-group select {
  width: 100%; padding: 12px; background: var(--bg-input);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); outline: none;
}
.form-group input:focus { border-color: var(--green); }

/* Cards & Grid */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card:hover { border-color: var(--border-active); }

/* Pricing Card */
.pricing-card { text-align: center; display: flex; flex-direction: column; }
.pricing-price { font-size: 36px; font-weight: 700; color: var(--green); margin: 16px 0; }
.pricing-features { list-style: none; margin: 24px 0; text-align: left; flex: 1; }
.pricing-features li { margin-bottom: 12px; font-size: 14px; display: flex; gap: 8px; }
.pricing-features li::before { content: '✓'; color: var(--green); }

/* Badges */
.badge { padding: 4px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; }
.badge-active, .badge-paid { background: rgba(0, 168, 132, 0.15); color: var(--green); }
.badge-pending { background: rgba(251, 188, 4, 0.15); color: var(--yellow); }
.badge-cancelled { background: rgba(234, 67, 53, 0.15); color: var(--red); }

/* Table */
table { width: 100%; border-collapse: collapse; margin-top: 16px; }
th, td { padding: 12px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
th { color: var(--text-sec); font-size: 12px; text-transform: uppercase; }

/* Auth Layout */
.auth-layout { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.auth-box { width: 100%; max-width: 400px; padding: 40px; background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border); }
.text-center { text-align: center; }

/* QRIS */
.qris-container { text-align: center; padding: 24px; background: #fff; border-radius: var(--radius); display: inline-block; }
.qris-img { width: 250px; height: 250px; }
