@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@500;600;700&display=swap');

:root {
  --primary-color: #0d9488;
  --primary-hover: #0f766e;
  --secondary-color: #0284c7;
  --accent-green: #10b981;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-heading: 'Poppins', system-ui, sans-serif;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 600;
}

.navbar-zest {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}

.brand-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-badge {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.hero-section {
  padding: 5rem 0 4rem;
  background: radial-gradient(circle at top right, rgba(13, 148, 136, 0.08), transparent 50%),
              radial-gradient(circle at bottom left, rgba(2, 132, 199, 0.06), transparent 50%);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.stat-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.plan-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.plan-card.featured {
  border: 2px solid var(--primary-color);
}

.plan-ribbon {
  position: absolute;
  top: 15px;
  right: -30px;
  background: var(--primary-color);
  color: white;
  padding: 4px 35px;
  font-size: 0.75rem;
  font-weight: 600;
  transform: rotate(45deg);
}

.btn-zest-primary {
  background: var(--primary-color);
  color: white;
  border-radius: var(--radius-sm);
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  border: none;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-zest-primary:hover {
  background: var(--primary-hover);
  color: white;
}

.btn-zest-outline {
  border: 1.5px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: var(--radius-sm);
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  background: transparent;
  text-decoration: none;
  display: inline-block;
}

.btn-zest-outline:hover {
  background: var(--primary-color);
  color: white;
}

.dashboard-container {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background: var(--bg-card);
  border-right: 1px solid var(--border-color);
  padding: 1.5rem 1rem;
  flex-shrink: 0;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.sidebar-item {
  margin-bottom: 4px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.75rem 1rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.sidebar-link:hover, .sidebar-link.active {
  background: rgba(13, 148, 136, 0.08);
  color: var(--primary-color);
  font-weight: 600;
}

.main-content {
  flex-grow: 1;
  padding: 2rem;
  overflow-x: hidden;
}

.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--border-color);
  z-index: 1000;
  padding: 8px 0;
}

.mobile-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
}

.mobile-nav-link.active {
  color: var(--primary-color);
}

@media (max-width: 991px) {
  .sidebar { display: none; }
  .mobile-bottom-nav { display: flex; justify-content: space-around; }
  .main-content { padding: 1rem; padding-bottom: 5rem; }
  .hero-title { font-size: 2.2rem; }
}

.badge-active, .badge-success, .badge-Paid, .badge-Verified {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-pending, .badge-UnderReview, .badge-Pending, .badge-Processing {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-rejected, .badge-failed, .badge-Rejected, .badge-suspended {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.table-custom {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.table-custom th {
  background: #f1f5f9;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  font-weight: 600;
}

.table-custom td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}
