/* Theme CSS uses CSS variables defined in base.html */
:root{
  --brand-primary: #2E7D32;
  --brand-secondary: #1565C0;
  --brand-accent: #FFB300;
  --brand-bg: #F7FAF7;
  --brand-text: #0F1F12;
  --brand-card: #ffffff;
  --brand-muted: #4b5b52;
  --shadow-soft: 0 10px 25px rgba(0,0,0,.06);
}

html, body {
  height: 100%;
}

body {
  font-family:
    "Vazirmatn",
    system-ui,
    -apple-system,
    "Segoe UI",
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Noto Color Emoji",
    sans-serif;
  background: var(--brand-bg);
  color: var(--brand-text);
}

a {
  color: var(--brand-secondary);
  text-decoration: none;
}
a:hover{
  text-decoration: underline;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: -0.2px;
}

.hero {
  background: radial-gradient(1200px circle at 80% 20%, rgba(21,101,192,.18), transparent 55%),
              radial-gradient(1000px circle at 20% 20%, rgba(46,125,50,.20), transparent 60%),
              linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.65));
  border-bottom: 1px solid rgba(0,0,0,.05);
}

.hero-card {
  background: var(--brand-card);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .65rem;
  border-radius: 999px;
  background: rgba(46,125,50,.12);
  color: var(--brand-primary);
  font-weight: 600;
}

.btn-brand {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  padding: .65rem 1rem;
}
.btn-brand:hover{
  filter: brightness(0.95);
  color: #fff;
}

.btn-outline-brand {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  font-weight: 700;
  border-radius: 12px;
  padding: .65rem 1rem;
}
.btn-outline-brand:hover{
  background: rgba(46,125,50,.12);
  color: var(--brand-primary);
}

.card-soft {
  background: var(--brand-card);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(21,101,192,.12);
  color: var(--brand-secondary);
}

.text-muted-strong {
  color: var(--brand-muted) !important;
}

.footer {
  border-top: 1px solid rgba(0,0,0,.05);
  background: rgba(255,255,255,.6);
}

.form-control, .form-select {
  border-radius: 12px;
}

.table thead th {
  white-space: nowrap;
}

.alert {
  border-radius: 14px;
}

.rtl-fix .dropdown-menu {
  text-align: right;
}
