/* Arfaa Science Secondary School - Custom Styles */

:root {
  --primary: #1e3a5f;
  --secondary: #2563eb;
  --accent: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --light: #f8fafc;
  --dark: #1e293b;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f1f5f9;
  color: #334155;
  min-height: 100vh;
}

/* Login Page */
.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 50%, #0f172a 100%);
  display: flex; align-items: center; justify-content: center;
}

.login-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  width: 420px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}

.school-logo {
  text-align: center;
  margin-bottom: 24px;
}

.school-logo .emblem {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, #1e3a5f, #2563eb);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

/* Sidebar */
.sidebar {
  width: 260px;
  height: 100vh;
  background: linear-gradient(180deg, #1e3a5f 0%, #0f2444 100%);
  position: fixed; left: 0; top: 0; z-index: 100;
  overflow-y: auto;
  overflow-x: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all 0.2s;
  font-size: 14px;
}

.sidebar-nav a:hover, .sidebar-nav a.active {
  background: rgba(255,255,255,0.15);
  color: white;
  border-right: 3px solid #10b981;
}

.sidebar-nav a i { width: 20px; text-align: center; }

/* Main Content */
.main-content {
  margin-left: 260px;
  min-height: 100vh;
  background: #f1f5f9;
  width: calc(100% - 260px);
  max-width: 100%;
  overflow-x: hidden;
}

.topbar {
  background: white;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  position: sticky; top: 0; z-index: 50;
  width: 100%;
  box-sizing: border-box;
  left: 0;
  right: 0;
}

.page-content { padding: 24px; }

/* Stats Cards */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }

.stat-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-left: 4px solid;
  transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.stat-card.blue { border-color: #2563eb; }
.stat-card.green { border-color: #10b981; }
.stat-card.orange { border-color: #f59e0b; }
.stat-card.red { border-color: #ef4444; }
.stat-card.purple { border-color: #8b5cf6; }

.stat-value { font-size: 28px; font-weight: 700; color: #1e293b; }
.stat-label { font-size: 13px; color: #64748b; margin-top: 4px; }
.stat-icon { font-size: 32px; opacity: 0.15; float: right; margin-top: -10px; }

/* Cards */
.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
}

.card-header {
  padding: 16px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex; align-items: center; justify-content: space-between;
}

.card-header h3 { font-size: 16px; font-weight: 600; color: #1e293b; }
.card-body { padding: 20px; }

/* Tables */
.table-container { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; }

th {
  background: #f8fafc;
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e2e8f0;
}

td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
  color: #374151;
}

tr:hover td { background: #f8fafc; }
tr:last-child td { border-bottom: none; }

/* Badges */
.badge {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-success { background: #d1fae5; color: #065f46; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-info { background: #dbeafe; color: #1e40af; }
.badge-secondary { background: #f1f5f9; color: #475569; }
.badge-purple { background: #ede9fe; color: #5b21b6; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}

.btn:hover { opacity: 0.9; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: #2563eb; color: white; }
.btn-success { background: #10b981; color: white; }
.btn-warning { background: #f59e0b; color: white; }
.btn-danger { background: #ef4444; color: white; }
.btn-secondary { background: #64748b; color: white; }
.btn-outline { background: transparent; border: 1.5px solid #2563eb; color: #2563eb; }
.btn-sm { padding: 5px 10px; font-size: 12px; }

/* Forms */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 500; color: #374151; margin-bottom: 6px; }

.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  color: #374151;
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

select.form-control { cursor: pointer; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.modal {
  background: white;
  border-radius: 16px;
  width: 90%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
  animation: modalIn 0.3s ease;
}

.modal-lg { max-width: 900px; }
.modal-xl { max-width: 1100px; }

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(-20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, #1e3a5f, #2563eb);
  color: white;
  border-radius: 16px 16px 0 0;
}

.modal-header h3 { font-size: 18px; font-weight: 600; }

.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid #e2e8f0; display: flex; gap: 8px; justify-content: flex-end; }

/* Attendance Grid */
.attendance-grid { display: grid; gap: 8px; }

.attendance-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.attendance-name { flex: 1; font-size: 14px; font-weight: 500; }

.attendance-options { display: flex; gap: 8px; }

.att-btn {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}

.att-btn.present { border-color: #10b981; color: #10b981; background: white; }
.att-btn.absent { border-color: #ef4444; color: #ef4444; background: white; }
.att-btn.late { border-color: #f59e0b; color: #f59e0b; background: white; }
.att-btn.excused { border-color: #8b5cf6; color: #8b5cf6; background: white; }
.att-btn.selected.present { background: #10b981; color: white; }
.att-btn.selected.absent { background: #ef4444; color: white; }
.att-btn.selected.late { background: #f59e0b; color: white; }
.att-btn.selected.excused { background: #8b5cf6; color: white; }

/* Progress Bars */
.progress { height: 8px; background: #e2e8f0; border-radius: 4px; overflow: hidden; }
.progress-bar { height: 100%; border-radius: 4px; transition: width 0.5s ease; }
.progress-green { background: #10b981; }
.progress-blue { background: #2563eb; }
.progress-orange { background: #f59e0b; }
.progress-red { background: #ef4444; }

/* Alerts */
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  display: flex; align-items: center; gap: 8px;
}

.alert-success { background: #d1fae5; color: #065f46; border-left: 4px solid #10b981; }
.alert-error { background: #fee2e2; color: #991b1b; border-left: 4px solid #ef4444; }
.alert-info { background: #dbeafe; color: #1e40af; border-left: 4px solid #2563eb; }
.alert-warning { background: #fef3c7; color: #92400e; border-left: 4px solid #f59e0b; }

/* Toast Notifications */
.toast-container {
  position: fixed; top: 20px; right: 20px;
  z-index: 9999; display: flex; flex-direction: column; gap: 8px;
}

.toast {
  padding: 14px 18px;
  border-radius: 10px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  min-width: 280px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  animation: slideIn 0.3s ease, slideOut 0.3s ease 2.7s;
  display: flex; align-items: center; gap: 10px;
}

.toast-success { background: #10b981; }
.toast-error { background: #ef4444; }
.toast-info { background: #2563eb; }
.toast-warning { background: #f59e0b; }

@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(100%); opacity: 0; } }

/* Charts */
.chart-container { position: relative; height: 280px; }

/* Search & Filters */
.search-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 16px;
}

.search-input {
  flex: 1; min-width: 200px;
  padding: 9px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
}

.search-input:focus { outline: none; border-color: #2563eb; }

/* Tabs */
.tabs { display: flex; gap: 2px; background: #f1f5f9; padding: 4px; border-radius: 10px; margin-bottom: 20px; }
.tab-btn {
  flex: 1; padding: 8px 16px; border: none; background: transparent;
  border-radius: 8px; font-size: 13px; font-weight: 500; color: #64748b;
  cursor: pointer; transition: all 0.2s;
}
.tab-btn.active { background: white; color: #2563eb; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }

/* Profile Card */
.profile-card {
  display: flex; align-items: center; gap: 16px;
  padding: 20px; background: white; border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-bottom: 16px;
}

.avatar {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, #2563eb, #1e3a5f);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 24px; font-weight: 700;
  flex-shrink: 0;
}

/* Loading Spinner */
.spinner {
  display: inline-block;
  width: 24px; height: 24px;
  border: 3px solid rgba(37, 99, 235, 0.2);
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-overlay {
  position: fixed; inset: 0;
  background: rgba(255,255,255,0.8);
  display: flex; align-items: center; justify-content: center;
  z-index: 9998;
}

/* Receipt */
.receipt {
  background: white; padding: 30px;
  border: 2px dashed #e2e8f0;
  border-radius: 12px;
  max-width: 400px;
  margin: 0 auto;
}

.receipt-header { text-align: center; margin-bottom: 20px; border-bottom: 2px solid #1e3a5f; padding-bottom: 16px; }
.receipt-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; border-bottom: 1px dotted #e2e8f0; }
.receipt-total { font-size: 18px; font-weight: 700; border-top: 2px solid #1e3a5f; padding-top: 12px; margin-top: 8px; }

/* Report Card */
.report-card { max-width: 800px; margin: 0 auto; background: white; padding: 32px; }
.report-card-header { text-align: center; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 3px double #1e3a5f; }

/* Mobile Responsive */
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; width: 100%; }
  .topbar { width: 100%; }
  .form-grid, .form-grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  #menu-btn { display: inline-flex !important; }
  .sidebar-close-btn { display: flex !important; }
  .page-content { padding: 16px; }
}

/* Sidebar close button (mobile) */
.sidebar-close-btn {
  display: none;
  align-items: center;
  justify-content: flex-end;
  padding: 12px 16px 0;
}

.sidebar-close-btn button {
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.sidebar-close-btn button:hover {
  background: rgba(255,255,255,0.25);
}

/* Sidebar overlay for mobile */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 99;
}

@media (max-width: 768px) {
  .sidebar-overlay.visible { display: block; }
}

/* Fee Slip PDF Styles */
.fee-slip {
  max-width: 650px;
  margin: 0 auto;
  background: white;
  border: 2px solid #1e3a5f;
  border-radius: 8px;
  overflow: hidden;
  font-family: 'Segoe UI', sans-serif;
}

.fee-slip-header {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
  color: white;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.fee-slip-header img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.3);
  object-fit: cover;
  background: white;
}

.fee-slip-logo-placeholder {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.fee-slip-school-info h2 {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin: 0 0 2px;
}

.fee-slip-school-info p {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  margin: 0;
}

.fee-slip-title {
  text-align: center;
  background: #f0f4ff;
  padding: 10px;
  border-bottom: 2px solid #e2e8f0;
}

.fee-slip-title h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1e3a5f;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

.fee-slip-body { padding: 20px 24px; }

.fee-slip-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.fee-slip-info-item label {
  display: block;
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.fee-slip-info-item span {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
}

.fee-slip-breakdown {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}

.fee-slip-breakdown table {
  width: 100%;
  border-collapse: collapse;
}

.fee-slip-breakdown th {
  background: #1e3a5f;
  color: white;
  padding: 10px 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
}

.fee-slip-breakdown td {
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
}

.fee-slip-total-row {
  background: #eff6ff;
  font-weight: 700;
  font-size: 15px !important;
  color: #1e3a5f !important;
  border-top: 2px solid #2563eb !important;
}

.fee-slip-payment-methods {
  margin-bottom: 16px;
}

.fee-slip-payment-methods h4 {
  font-size: 13px;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e2e8f0;
}

.payment-method-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 8px;
  background: white;
}

.payment-method-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.payment-method-icon.cash { background: #d1fae5; color: #065f46; }
.payment-method-icon.jazzcash { background: #fef3c7; color: #92400e; }
.payment-method-icon.easypaisa { background: #d1fae5; color: #065f46; }
.payment-method-icon.bank_transfer { background: #dbeafe; color: #1e40af; }
.payment-method-icon.cheque { background: #ede9fe; color: #5b21b6; }

.fee-slip-footer {
  background: #f8fafc;
  padding: 12px 24px;
  border-top: 1px solid #e2e8f0;
  text-align: center;
  font-size: 11px;
  color: #64748b;
}

/* DMC Report Card Styles */
.dmc-card {
  max-width: 750px;
  margin: 0 auto;
  background: white;
  border: 3px solid #1e3a5f;
  font-family: 'Segoe UI', sans-serif;
}

.dmc-header {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
  color: white;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.dmc-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.4);
  object-fit: cover;
  background: white;
  flex-shrink: 0;
}

.dmc-logo-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
}

.dmc-school-info { flex: 1; }
.dmc-school-info h1 { font-size: 22px; font-weight: 800; color: white; margin: 0 0 4px; letter-spacing: 0.5px; }
.dmc-school-info p { font-size: 12px; color: rgba(255,255,255,0.85); margin: 0 0 2px; }

.dmc-title-bar {
  background: #f59e0b;
  text-align: center;
  padding: 8px;
}

.dmc-title-bar h2 {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0;
}

.dmc-body { padding: 20px 24px; }

.dmc-student-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px;
  background: #f0f4ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  margin-bottom: 20px;
}

.dmc-info-row { display: flex; gap: 6px; font-size: 13px; }
.dmc-info-row label { color: #64748b; font-weight: 600; min-width: 110px; }
.dmc-info-row span { color: #1e293b; font-weight: 500; }

.dmc-results-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  border: 2px solid #1e3a5f;
}

.dmc-results-table th {
  background: #1e3a5f;
  color: white;
  padding: 10px 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid #2563eb;
  text-align: center;
}

.dmc-results-table td {
  padding: 9px 12px;
  border: 1px solid #e2e8f0;
  font-size: 13px;
  text-align: center;
}

.dmc-results-table tr:nth-child(even) td { background: #f8fafc; }

.dmc-summary {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.dmc-summary-box {
  text-align: center;
  padding: 12px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.dmc-summary-box .value { font-size: 24px; font-weight: 700; color: #1e3a5f; }
.dmc-summary-box .label { font-size: 11px; color: #64748b; font-weight: 600; text-transform: uppercase; margin-top: 4px; }

.dmc-grade-scale {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
}

.dmc-grade-scale h4 { font-size: 12px; font-weight: 700; color: #1e3a5f; margin-bottom: 8px; text-transform: uppercase; }
.grade-scale-row { display: flex; gap: 8px; flex-wrap: wrap; }
.grade-chip {
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

.dmc-signatures {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed #cbd5e1;
}

.dmc-sig-box { text-align: center; }
.dmc-sig-line { border-top: 1.5px solid #94a3b8; padding-top: 6px; font-size: 11px; color: #64748b; font-weight: 600; }

.dmc-footer {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
  padding: 10px 24px;
  text-align: center;
  color: rgba(255,255,255,0.8);
  font-size: 11px;
}

/* Payment submission form */
.payment-proof-form { }
.payment-method-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.method-option {
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

.method-option:hover { border-color: #2563eb; background: #eff6ff; }
.method-option.selected { border-color: #2563eb; background: #eff6ff; }
.method-option .method-icon { font-size: 24px; margin-bottom: 6px; }
.method-option .method-name { font-size: 12px; font-weight: 600; color: #1e293b; }

/* Admin fee approvals */
.approval-card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}

.approval-card-header {
  padding: 12px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.approval-screenshot {
  max-width: 100%;
  max-height: 300px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  cursor: zoom-in;
}

/* School Banner */
.school-banner {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
  color: white; padding: 16px 24px;
  display: flex; align-items: center; gap: 16px;
}

/* Fee Status Colors */
.fee-paid { color: #065f46; }
.fee-pending { color: #92400e; }
.fee-overdue { color: #991b1b; font-weight: 700; }

/* Announcement Cards */
.announcement-card {
  padding: 16px;
  border-radius: 10px;
  border-left: 4px solid;
  margin-bottom: 12px;
  background: #f8fafc;
}

.announcement-card.pinned { border-color: #2563eb; background: #eff6ff; }
.announcement-card.all { border-color: #10b981; }
.announcement-card.teacher { border-color: #f59e0b; }
.announcement-card.student { border-color: #8b5cf6; }

/* Calendar/Schedule */
.schedule-day { 
  font-size: 12px; font-weight: 700; color: #64748b; 
  text-transform: uppercase; letter-spacing: 1px;
  padding: 8px 0; border-bottom: 2px solid #e2e8f0; margin-bottom: 8px;
}

.schedule-item {
  display: flex; gap: 12px; align-items: center;
  padding: 8px 12px; background: white; border-radius: 8px;
  border-left: 3px solid #2563eb; margin-bottom: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.schedule-time { font-size: 12px; color: #64748b; font-weight: 600; white-space: nowrap; }
.schedule-subject { font-size: 14px; font-weight: 600; color: #1e293b; }
.schedule-teacher { font-size: 12px; color: #64748b; }

/* Print Styles */
@media print {
  .sidebar, .topbar, .no-print { display: none !important; }
  .main-content { margin-left: 0 !important; }
  body { background: white; }
}

/* Dark accents for headings */
h1, h2, h3 { color: #1e293b; }

/* Utility classes */
.text-muted { color: #64748b; }
.text-small { font-size: 12px; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.justify-between { justify-content: space-between; }
.font-bold { font-weight: 700; }
.hidden { display: none; }
