html, body { margin: 0; padding: 0; }

:root {
  --cs-green:       #2D6A4F;
  --cs-green-dark:  #1B4332;
  --cs-green-light: #52B788;
  --cs-accent:      #F4A261;
  --cs-bg:          #F8FAF9;
  --cs-card:        #FFFFFF;
  --cs-border:      #DEE8E2;
}

body { background: var(--cs-bg); font-family: 'Segoe UI', system-ui, sans-serif; }

/* ── Navbar ── */
.cs-navbar {
  background: var(--cs-green-dark);
  padding: 1rem 0;
  overflow: visible;
  min-height: 64px;
  align-items: center;
}
.cs-navbar .navbar-brand {
  font-size: 1.25rem;
  line-height: 1.5;
  overflow: visible;
  display: flex;
  align-items: center;
}
.cs-navbar .nav-link { color: rgba(255,255,255,.85) !important; }
.cs-navbar .nav-link:hover { color: #fff !important; }

.cs-btn-accent {
  background: var(--cs-accent);
  color: #1a1a1a;
  border: none;
  border-radius: 6px;
  padding: .35rem .85rem;
  font-weight: 600;
}
.cs-btn-accent:hover { background: #e6893e; color: #1a1a1a; }

/* ── Layout ── */
.cs-main { min-height: calc(100vh - 120px); }
.cs-footer { background: var(--cs-green-dark); color: #aaa; }

/* ── Cards ── */
.cs-card {
  background: var(--cs-card);
  border: 1px solid var(--cs-border);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

/* ── Hero ── */
.cs-hero {
  background: linear-gradient(135deg, var(--cs-green-dark) 0%, var(--cs-green) 100%);
  color: #fff;
  padding: 5rem 0 4rem;
}
.cs-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }

/* ── Badges ── */
.badge-free     { background: #e9ecef; color: #495057; }
.badge-basic    { background: #cff4fc; color: #055160; }
.badge-pro      { background: #d1e7dd; color: #0a3622; }
.badge-active   { background: #d1e7dd; color: #0a3622; }
.badge-suspended{ background: #fff3cd; color: #664d03; }
.badge-cancelled{ background: #f8d7da; color: #58151c; }

/* ── Search result ── */
.cs-result {
  background: #fff;
  border-left: 4px solid var(--cs-green-light);
  border-radius: 0 8px 8px 0;
  padding: 1.5rem 1.75rem;
  font-size: .95rem;
  line-height: 1.7;
}
.cs-result h1,.cs-result h2,.cs-result h3 { color: var(--cs-green-dark); margin-top: 1.2rem; }
.cs-result h2 { font-size: 1.1rem; }
.cs-result h3 { font-size: 1rem; }
.cs-result ul { padding-left: 1.4rem; }

/* ── Quota bar ── */
.quota-bar { height: 8px; border-radius: 4px; overflow: hidden; background: #e9ecef; }
.quota-fill { height: 100%; background: var(--cs-green-light); transition: width .4s; }

/* ── Table ── */
.cs-table thead th { background: var(--cs-green-dark); color: #fff; border: none; }
.cs-table tbody tr:hover { background: #f0f8f3; }

/* ── Sidebar layout ── */
.cs-sidebar {
  width: 240px;
  min-height: calc(100vh - 56px);
  background: var(--cs-green-dark);
  color: #fff;
  padding: 1.5rem 1rem;
  flex-shrink: 0;
}
.cs-sidebar a { color: rgba(255,255,255,.8); text-decoration: none; display: flex; align-items: center; gap: .5rem; padding: .5rem .75rem; border-radius: 6px; }
.cs-sidebar a:hover, .cs-sidebar a.active { background: rgba(255,255,255,.12); color: #fff; }
.cs-content { flex: 1; padding: 2rem; }

.cs-shell { display: flex; }
