/* ============================================================
   EduTrack - Global Styles
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f0f4f8;
  color: #1e293b;
  /* iOS safe area support */
  padding-top: env(safe-area-inset-top);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  padding-bottom: env(safe-area-inset-bottom);
}

/* ---- Login Page ---- */
.login-bg {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 40%, #24243e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(20px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom));
  position: relative;
  overflow: hidden;
}

.login-bg::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.35) 0%, transparent 70%);
  top: -150px; left: -150px;
  animation: floatOrb 8s ease-in-out infinite;
}

.login-bg::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236,72,153,0.3) 0%, transparent 70%);
  bottom: -100px; right: -100px;
  animation: floatOrb 10s ease-in-out infinite reverse;
}

.login-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  animation: floatOrb 12s ease-in-out infinite;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -40px) scale(1.05); }
  66%       { transform: translate(-20px, 20px) scale(0.97); }
}

.login-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 44px 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.15);
  position: relative;
  z-index: 1;
}

.login-card input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  font-size: 15px;
  transition: border 0.2s, background 0.2s;
  outline: none;
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.login-card input::placeholder { color: rgba(255,255,255,0.4); }
.login-card input:focus {
  border-color: rgba(139,92,246,0.8);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.2);
}

/* ---- Sidebar ---- */
.sidebar {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: 260px;
  background: linear-gradient(180deg, #1e1b4b 0%, #312e81 60%, #4c1d95 100%);
  color: #e0e7ff;
  display: flex;
  flex-direction: column;
  z-index: 100;
  transition: transform 0.3s ease;
  overflow-y: auto;
  /* iOS safe area: sidebar top must clear the notch */
  padding-top: env(safe-area-inset-top);
  padding-left: env(safe-area-inset-left);
  padding-bottom: env(safe-area-inset-bottom);
}

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

.sidebar-logo h1 { font-size: 18px; font-weight: 900; color: #fff; margin: 0; }
.sidebar-logo p { font-size: 10px; color: #a5b4fc; margin: 4px 0 0; }
.sidebar-logo img { display: block; }

.sidebar-user {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
}

.sidebar-user .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; color: #fff;
  flex-shrink: 0;
}

.sidebar-user .info .name { font-size: 13px; font-weight: 600; color: #fff; }
.sidebar-user .info .role { font-size: 11px; color: #a5b4fc; margin-top: 2px; }

.impersonate-bar {
  background: #fbbf24;
  color: #1e1b4b;
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-section-title {
  padding: 14px 20px 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6366f1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  cursor: pointer;
  transition: background 0.15s;
  border-radius: 0;
  font-size: 14px;
  color: #c7d2fe;
  border-left: 3px solid transparent;
}

.nav-item:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav-item.active { background: rgba(99,102,241,0.25); color: #fff; border-left-color: #818cf8; }
.nav-item .icon { width: 20px; text-align: center; font-size: 16px; }
.nav-item .badge {
  margin-left: auto;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
}

.sidebar-footer {
  margin-top: auto;
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ---- Main layout ---- */
.main-wrapper {
  margin-left: 260px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  /* Prevent content sitting behind iOS notch when sticky */
  padding-left: max(28px, env(safe-area-inset-left));
  padding-right: max(28px, env(safe-area-inset-right));
}

.topbar h2 { font-size: 20px; font-weight: 800; color: #1e293b; margin: 0; }
.topbar .breadcrumb { font-size: 12px; color: #94a3b8; margin-top: 2px; }

.page-content {
  padding: 28px;
  flex: 1;
}

/* ---- Cards ---- */
.stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07);
  border: 1px solid #e2e8f0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

.stat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 12px;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07);
  border: 1px solid #e2e8f0;
  margin-bottom: 20px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 10px;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---- Tables ---- */
.table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid #e2e8f0; }

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

thead { background: #f8fafc; }

th {
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

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

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

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  text-decoration: none;
}

.btn-primary { background: #6366f1; color: #fff; }
.btn-primary:hover { background: #4f46e5; }
.btn-success { background: #10b981; color: #fff; }
.btn-success:hover { background: #059669; }
.btn-warning { background: #f59e0b; color: #fff; }
.btn-warning:hover { background: #d97706; }
.btn-danger { background: #ef4444; color: #fff; }
.btn-danger:hover { background: #dc2626; }
.btn-secondary { background: #e2e8f0; color: #475569; }
.btn-secondary:hover { background: #cbd5e1; }
.btn-ghost { background: transparent; color: #6366f1; border: 2px solid #6366f1; }
.btn-ghost:hover { background: #6366f1; color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-xs { padding: 4px 8px; font-size: 11px; border-radius: 6px; }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1da851; }
.btn-icon { padding: 8px; border-radius: 8px; }

/* ---- Badges ---- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.badge-green { background: #d1fae5; color: #065f46; }
.badge-red { background: #fee2e2; color: #991b1b; }
.badge-yellow { background: #fef3c7; color: #92400e; }
.badge-blue { background: #dbeafe; color: #1e40af; }
.badge-purple { background: #ede9fe; color: #5b21b6; }
.badge-gray { background: #f1f5f9; color: #475569; }
.badge-orange { background: #ffedd5; color: #9a3412; }

/* ---- Grade badges ---- */
.grade-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
}

.grade-A { background: #d1fae5; color: #065f46; }
.grade-B { background: #dbeafe; color: #1e40af; }
.grade-C { background: #fef3c7; color: #92400e; }
.grade-D { background: #ffedd5; color: #9a3412; }
.grade-F { background: #fee2e2; color: #991b1b; }

/* ---- Avatar ---- */
.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: #fff;
  flex-shrink: 0;
}

.avatar-lg { width: 56px; height: 56px; font-size: 22px; }
.avatar-xl { width: 80px; height: 80px; font-size: 32px; }

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

.modal {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
  animation: modalIn 0.2s ease;
}

.modal-lg { max-width: 800px; }
.modal-xl { max-width: 1000px; }

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

.modal-header {
  padding: 22px 24px 18px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title { font-size: 18px; font-weight: 800; color: #1e293b; }

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

.close-btn {
  background: none; border: none; font-size: 20px; color: #94a3b8; cursor: pointer; padding: 4px 8px; border-radius: 6px;
}
.close-btn:hover { background: #f1f5f9; color: #374151; }

/* ---- Forms ---- */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
  background: #fff;
  color: #1e293b;
}
.form-control:focus { border-color: #6366f1; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

textarea.form-control { resize: vertical; min-height: 90px; }
select.form-control { cursor: pointer; }

/* ---- Tabs ---- */
.tab-bar {
  display: flex;
  gap: 4px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tab-btn:hover { background: rgba(255,255,255,0.7); color: #374151; }
.tab-btn.active { background: linear-gradient(135deg,#6366f1,#8b5cf6); color: #fff; box-shadow: 0 4px 16px rgba(99,102,241,0.45); }

/* ---- Progress bar ---- */
.progress-bar {
  background: #e2e8f0;
  border-radius: 10px;
  height: 8px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  transition: width 0.3s ease;
}

/* ---- Toggle ---- */
.toggle {
  position: relative;
  width: 44px; height: 24px;
  display: inline-block;
  cursor: pointer;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-track {
  position: absolute;
  inset: 0;
  background: #e2e8f0;
  border-radius: 12px;
  transition: background 0.2s;
}
.toggle input:checked ~ .toggle-track { background: #6366f1; }
.toggle-thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.toggle input:checked ~ .toggle-track .toggle-thumb { left: 22px; }

/* ---- Search ---- */
.search-box {
  position: relative;
}
.search-box .icon {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}
.search-box input {
  padding-left: 36px !important;
}

/* ---- Student profile card ---- */
.student-card {
  background: #fff;
  border-radius: 16px;
  border: 2px solid #e2e8f0;
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s;
}
.student-card:hover { border-color: #6366f1; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(99,102,241,0.15); }

/* ---- Alert / Toast ---- */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: #1e293b;
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  animation: toastIn 0.3s ease;
  max-width: 320px;
  display: flex;
  align-items: center;
  gap: 10px;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.toast.success { background: #065f46; }
.toast.error { background: #991b1b; }
.toast.warning { background: #92400e; }

/* ---- Charts ---- */
.chart-wrap { position: relative; }

/* ---- Attendance grid ---- */
.att-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(36px, 1fr)); gap: 6px; }
.att-dot {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff;
  cursor: pointer;
  transition: transform 0.1s;
}
.att-dot:hover { transform: scale(1.1); }
.att-present { background: #10b981; }
.att-absent { background: #ef4444; }
.att-late { background: #f59e0b; }
.att-none { background: #e2e8f0; color: #94a3b8; }

/* ---- Syllabus ---- */
.topic-row {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.topic-status-badge {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

/* ---- Permission checkboxes ---- */
.perm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.perm-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.perm-item:hover { border-color: #a5b4fc; }
.perm-item input[type=checkbox] { width: 16px; height: 16px; accent-color: #6366f1; }

/* ---- Message bubbles ---- */
.msg-bubble {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 10px;
}
.msg-sent { background: #6366f1; color: #fff; margin-left: auto; border-bottom-right-radius: 2px; }
.msg-recv { background: #f1f5f9; color: #1e293b; margin-right: auto; border-bottom-left-radius: 2px; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .sidebar { transform: translateX(-260px); }
  .sidebar.open { transform: translateX(0); }
  .main-wrapper { margin-left: 0; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .page-content { padding: 16px; }
  .topbar { padding: 12px max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left)); }
}

/* ---- Misc ---- */
.divider { border: none; border-top: 1px solid #e2e8f0; margin: 16px 0; }

.text-muted { color: #94a3b8; font-size: 13px; }
.text-sm { font-size: 13px; }
.text-xs { font-size: 11px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }

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

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.rotate-90 { transform: rotate(90deg); }

/* ---- Whatsapp float button ---- */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  cursor: pointer;
  z-index: 900;
  text-decoration: none;
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.1); }

/* ---- Leave status ---- */
.leave-card {
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  transition: border-color 0.2s;
}
.leave-card.pending { border-left: 4px solid #f59e0b; }
.leave-card.approved { border-left: 4px solid #10b981; }
.leave-card.rejected { border-left: 4px solid #ef4444; }

/* ---- Empty state ---- */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: #94a3b8;
}
.empty-state i { font-size: 48px; margin-bottom: 16px; opacity: 0.5; }
.empty-state h3 { font-size: 16px; font-weight: 600; color: #64748b; margin: 0 0 8px; }
.empty-state p { font-size: 14px; margin: 0; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Switch impersonation bar */
.imp-banner {
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  color: #1e1b4b;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---- Mobile sidebar overlay ---- */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 98;
  backdrop-filter: blur(2px);
}
.sidebar-overlay.active { display: block; }

/* ---- Hamburger toggle - CSS-driven visibility ---- */
#menu-toggle { display: none; }

/* ---- Topbar left section ---- */
.topbar-left { display: flex; align-items: center; }

/* ---- Mobile topbar improvements ---- */
@media (max-width: 768px) {
  #menu-toggle { display: inline-flex !important; }
  .topbar-school-info { display: none !important; }
  .topbar-divider { display: none !important; }
  .topbar-username { display: none !important; }
  .topbar h2 { font-size: 16px; }
  .page-content { padding-bottom: 24px; }
}

/* ---- Notification badge pulse ---- */
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.5); }
  50% { box-shadow: 0 0 0 4px rgba(239,68,68,0); }
}
.nav-item .badge { animation: badgePulse 2s ease-in-out infinite; }

/* ---- Quick action buttons (Parent home) ---- */
.quick-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.quick-btn {
  flex: 1;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.quick-btn:hover {
  border-color: #6366f1;
  color: #6366f1;
  background: #ede9fe;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99,102,241,0.15);
}
.quick-btn i { font-size: 22px; }

@media (max-width: 480px) {
  .quick-btn { min-width: calc(50% - 5px); }
  .quick-actions { gap: 8px; }
}
