:root {
  --brand-primary: #1e3a5f;
  --brand-accent: #2c7a7b;
  --brand-bg: #f4f6f9;
}

body {
  background: var(--brand-bg);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

.app-navbar {
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
}

.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
}

.login-card {
  width: 100%;
  max-width: 400px;
  border: none;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

.card-header {
  background: #fff;
  border-bottom: 1px solid #eef0f3;
  font-weight: 600;
  color: var(--brand-primary);
  border-radius: 12px 12px 0 0 !important;
}

.stat-card {
  border-radius: 14px;
  color: #fff;
  padding: 1.25rem 1.5rem;
}
.stat-card .stat-value { font-size: 2rem; font-weight: 700; }
.stat-card .stat-label { opacity: .85; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }

.bg-grad-1 { background: linear-gradient(135deg, #1e3a5f, #2c7a7b); }
.bg-grad-2 { background: linear-gradient(135deg, #2c7a7b, #38a169); }
.bg-grad-3 { background: linear-gradient(135deg, #b7791f, #dd6b20); }
.bg-grad-4 { background: linear-gradient(135deg, #6b46c1, #805ad5); }

.student-photo {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.fee-summary-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  border-left: 5px solid #cbd5e0;
  height: 100%;
}
.fee-summary-card .fee-summary-icon {
  font-size: 1.6rem;
  width: 52px;
  height: 52px;
  min-width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f4f6f9;
}
.fee-summary-card .fee-summary-label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #718096;
  margin-bottom: 2px;
}
.fee-summary-card .fee-summary-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e3a5f;
}
.fee-summary-total { border-left-color: #1e3a5f; }
.fee-summary-total .fee-summary-icon { color: #1e3a5f; }
.fee-summary-paid { border-left-color: #38a169; }
.fee-summary-paid .fee-summary-icon { color: #38a169; }
.fee-summary-due { border-left-color: #e53e3e; }
.fee-summary-due .fee-summary-icon { color: #e53e3e; }
.fee-summary-due .fee-summary-value { color: #e53e3e; }
.fee-summary-clear { border-left-color: #38a169; }
.fee-summary-clear .fee-summary-icon { color: #38a169; }
.fee-summary-clear .fee-summary-value { color: #38a169; }

.table thead th {
  background: #eef2f6;
  color: var(--brand-primary);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.section-title {
  color: var(--brand-primary);
  font-weight: 600;
  border-bottom: 2px solid var(--brand-accent);
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 1rem;
}

@media print {
  .app-navbar, footer, .no-print { display: none !important; }
}
