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

:root {
  --primary: #006a4e;
  --primary-dark: #004d38;
  --accent: #f42a41;
  --bg: #f5f7fa;
}

body {
  font-family: 'Noto Sans Bengali', 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: #222;
}

html[lang="bn"] body { font-family: 'Noto Sans Bengali', 'Inter', sans-serif; }
html[lang="en"] body { font-family: 'Inter', 'Noto Sans Bengali', sans-serif; }

.navbar.bg-primary { background: var(--primary) !important; }
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.text-primary { color: var(--primary) !important; }
.bg-primary { background: var(--primary) !important; }

.summary-card {
  border-left: 4px solid var(--primary);
  transition: transform 0.15s;
}
.summary-card:hover { transform: translateY(-2px); }
.summary-card .amount { font-size: 1.7rem; font-weight: 700; color: var(--primary); }
.summary-card .label { color: #666; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; }
.summary-card .count { font-size: 0.8rem; color: #888; }

.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #006a4e 0%, #004d38 100%);
}
.login-card {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  max-width: 420px;
  width: 100%;
}
.login-card h1 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.login-card .logo {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.page-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
}
.section-title h2 { color: var(--primary); font-size: 1.4rem; margin: 0; }

.status-pending { background: #fff3cd; color: #856404; padding: 2px 8px; border-radius: 4px; font-size: 0.8rem; }
.status-verified { background: #d1f0d8; color: #155724; padding: 2px 8px; border-radius: 4px; font-size: 0.8rem; }
.status-rejected { background: #f8d7da; color: #721c24; padding: 2px 8px; border-radius: 4px; font-size: 0.8rem; }

.role-badge {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}
.role-super_admin { background: #6f42c1; color: white; }
.role-admin { background: #0d6efd; color: white; }
.role-operator { background: #198754; color: white; }
.role-viewer { background: #6c757d; color: white; }

table { background: white; }
.table thead th { background: #f0f3f7; color: #444; font-weight: 600; }

.chart-container {
  background: white;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.amount-display { font-weight: 600; color: var(--primary); }
.text-muted-bn { color: #888; }

#toast-area {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9999;
}

footer.app-footer {
  text-align: center;
  padding: 1rem;
  color: #888;
  font-size: 0.85rem;
}
