/* Lekka - Mobile-first fee management (Prabudha branding) */
:root {
  --primary: #e9662f;
  --primary-dark: #d55a2a;
  --accent: #6e4796;
  --success: #388e3c;
  --error: #c62828;
  --surface: #fff;
  --text: #2c3e50;
  --text-muted: #757575;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Roboto, -apple-system, BlinkMacSystemFont, sans-serif; color: var(--text); background: #f5f5f5; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 10px 20px; border: none; border-radius: 8px; font-size: 1rem; cursor: pointer; font-weight: 500; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: #e0e0e0; color: var(--text); }
.btn-success { background: var(--success); color: #fff; }
.btn-danger { background: var(--error); color: #fff; }
.btn-sm { padding: 6px 12px; min-height: 36px; font-size: .9rem; }
.card { background: var(--surface); border-radius: 12px; padding: 16px; margin-bottom: 16px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.card h3 { margin: 0 0 12px; font-size: 1.1rem; }
input, select, textarea { font-size: 1rem; padding: 12px; border: 1px solid #ddd; border-radius: 8px; min-height: 44px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); }
label { display: block; margin-bottom: 4px; color: var(--text-muted); font-size: .9rem; }
.form-group { margin-bottom: 16px; }
.error-msg { color: var(--error); font-size: .9rem; margin-top: 4px; }
.nav { display: flex; align-items: center; padding: 12px 16px; background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); color: #fff; }
.nav-logo { height: 36px; width: auto; margin-right: 12px; }
.nav-brand { font-weight: 600; font-size: 1.2rem; }
.login-logo { display: block; height: 48px; margin: 0 auto 16px; }
.nav-links { display: flex; gap: 8px; margin-left: auto; }
.nav-links a { color: #fff; padding: 8px 12px; border-radius: 8px; min-height: 44px; display: flex; align-items: center; }
.nav-links a:hover { background: rgba(255,255,255,.2); text-decoration: none; }
.container { max-width: 960px; margin: 0 auto; padding: 16px; }
.login-box { max-width: 360px; margin: 60px auto; }
.login-box h1 { text-align: center; margin-bottom: 24px; }
.spinner { width: 40px; height: 40px; border: 3px solid #eee; border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; margin: 20px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.hidden { display: none !important; }
.mt-1 { margin-top: 8px; }
.mb-2 { margin-bottom: 16px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-row select { max-width: 160px; }
.text-success { color: var(--success); }
.text-error { color: var(--error); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px; text-align: left; border-bottom: 1px solid #eee; }
th { font-weight: 600; color: var(--text-muted); }
@media (max-width: 600px) { .nav-links { flex-wrap: wrap; } table { font-size: .9rem; } }
