/* ============================================================
   MS Korean — STUDENT PORTAL STYLESHEET v2.0
   ============================================================ */

/* ─── Student Layout ─────────────────────────────────────── */
.student-layout {
  display: flex;
  min-height: 100vh;
  background: #F1F5F9;
}

/* ─── Student Sidebar ────────────────────────────────────── */
.student-sidebar {
  width: 252px;
  background: #0F172A;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 200;
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #1E293B transparent;
}
.student-sidebar::-webkit-scrollbar { width: 4px; }
.student-sidebar::-webkit-scrollbar-thumb { background: #1E293B; border-radius: 4px; }

/* Sidebar Header */
.sb-header {
  padding: 22px 18px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.sb-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 14px;
}
.sb-logo {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #1E40AF, #0EA5E9);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 900;
  font-size: 0.85rem;
  color: white;
}
.sb-brand-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
}
.sb-brand-sub {
  font-size: 0.65rem;
  color: #64748B;
}

/* Student Profile in Sidebar */
.sb-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sb-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1E40AF, #0EA5E9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
  flex-shrink: 0;
  overflow: hidden;
}
.sb-avatar img { width: 100%; height: 100%; object-fit: cover; }
.sb-name {
  font-size: 0.855rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
}
.sb-course-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: #93C5FD;
  background: rgba(59,130,246,0.15);
  padding: 2px 8px;
  border-radius: 20px;
  margin-top: 3px;
  display: inline-block;
}

/* Progress in Sidebar */
.sb-progress-wrap {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sb-progress-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #64748B;
  margin-bottom: 7px;
}
.sb-progress-label span { color: #93C5FD; font-weight: 700; }
.sb-prog-bar {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 100px;
  overflow: hidden;
}
.sb-prog-fill {
  height: 100%;
  background: linear-gradient(90deg, #1E40AF, #0EA5E9);
  border-radius: 100px;
  transition: width 1s ease;
}

/* Sidebar Nav */
.sb-nav {
  flex: 1;
  padding: 10px 10px;
}
.sb-section-label {
  font-size: 0.63rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #334155;
  padding: 12px 10px 5px;
}
.sb-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #94A3B8;
  font-size: 0.855rem;
  font-weight: 500;
  margin-bottom: 2px;
  transition: all 0.2s ease;
  text-decoration: none;
  position: relative;
}
.sb-link:hover { background: rgba(255,255,255,0.05); color: white; }
.sb-link.active {
  background: #1E40AF;
  color: white;
  box-shadow: 0 2px 8px rgba(30,64,175,0.4);
}
.sb-link i {
  width: 17px;
  font-size: 0.855rem;
  flex-shrink: 0;
  text-align: center;
}
.sb-badge {
  margin-left: auto;
  background: #EF4444;
  color: white;
  font-size: 0.63rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
  min-width: 20px;
  text-align: center;
}
.sb-link.active .sb-badge { background: rgba(255,255,255,0.25); }

/* Sidebar Footer */
.sb-footer {
  padding: 14px 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.sb-help {
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 10px;
  padding: 12px;
  font-size: 0.75rem;
  color: #93C5FD;
  text-align: center;
}
.sb-help i { display: block; font-size: 1.1rem; margin-bottom: 5px; }
.sb-help a { color: #60A5FA; font-weight: 600; }

/* Overlay — placed after sidebar in DOM */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 199;
  backdrop-filter: blur(2px);
}
.sidebar-overlay.is-open,
.student-sidebar.open + .sidebar-overlay,
.admin-sidebar.open + .sidebar-overlay {
  display: block;
}
body.student-sidebar-open {
  overflow: hidden;
}

/* ─── Student Content ───────────────────────────────────── */
.student-content {
  margin-left: 252px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Student Topbar */
.student-topbar {
  background: white;
  border-bottom: 1px solid #E2E8F0;
  padding: 0 24px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.topbar-left { display: flex; align-items: center; gap: 12px; }
#stuMenuBtn {
  display: none;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #334155;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
#stuMenuBtn:hover { background: #F1F5F9; }
.topbar-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
}
.topbar-title span { color: #1E40AF; }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.topbar-date { font-size: 0.75rem; color: #94A3B8; }

/* Student Main */
.student-main {
  flex: 1;
  padding: 26px;
  background: #F1F5F9;
}

/* ─── Student Cards ──────────────────────────────────────── */
.s-card {
  background: white;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  overflow: hidden;
  transition: all 0.2s ease;
}
.s-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
.s-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.s-card-header h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.s-card-body { padding: 20px; }

/* Stat Cards */
.s-stat-card {
  background: white;
  border-radius: 14px;
  border: 1px solid #E2E8F0;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.2s ease;
}
.s-stat-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.07); }
.s-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
  flex-shrink: 0;
}
.s-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1;
}
.s-stat-label { font-size: 0.75rem; color: #94A3B8; font-weight: 500; margin-top: 3px; }

/* ─── Welcome Banner ─────────────────────────────────────── */
.stu-welcome {
  background: linear-gradient(135deg, #0F172A, #1E3A8A 60%, #1E40AF);
  border-radius: 18px;
  padding: 24px 28px;
  margin-bottom: 22px;
  color: white;
  position: relative;
  overflow: hidden;
}
.stu-welcome::before {
  content: '학생';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  pointer-events: none;
}
.stu-welcome-greeting {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 5px;
}
.stu-welcome-date {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}
.stu-welcome-progress {
  max-width: 400px;
}
.stu-prog-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}
.stu-prog-label span { color: #93C5FD; font-weight: 700; }
.stu-prog-bar {
  height: 6px;
  background: rgba(255,255,255,0.12);
  border-radius: 100px;
  overflow: hidden;
}
.stu-prog-fill {
  height: 100%;
  background: linear-gradient(90deg, #60A5FA, #38BDF8);
  border-radius: 100px;
  transition: width 1.2s ease;
}

/* ─── Assignment Items ───────────────────────────────────── */
.assign-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
  margin-bottom: 4px;
  cursor: pointer;
}
.assign-item:hover {
  background: #F8FAFC;
  border-color: #E2E8F0;
  color: inherit;
}
.assign-item.unread {
  background: #EFF6FF;
  border-color: #BFDBFE;
}
.assign-type-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  color: white;
}
.assign-type-icon.assignment { background: linear-gradient(135deg, #1E40AF, #3B82F6); }
.assign-type-icon.notes      { background: linear-gradient(135deg, #10B981, #34D399); }
.assign-type-icon.classlink  { background: linear-gradient(135deg, #F59E0B, #FCD34D); }
.assign-item-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 3px;
  line-height: 1.3;
}
.assign-item.unread .assign-item-title { color: #1E40AF; }
.assign-item-meta {
  font-size: 0.75rem;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 8px;
}
.assign-unread-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1E40AF;
  flex-shrink: 0;
  margin-top: 5px;
}

/* ─── Class Link Items ───────────────────────────────────── */
.class-link-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}
.class-link-item:hover { border-color: #1E40AF; background: #EFF6FF; }
.class-platform-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.platform-zoom    { background: #2D8CFF22; color: #2D8CFF; }
.platform-meet    { background: #00832d22; color: #00832d; }
.platform-youtube { background: #FF000022; color: #FF0000; }
.platform-teams   { background: #6264A722; color: #6264A7; }
.platform-other   { background: #64748B22; color: #64748B; }

.class-link-title { font-size: 0.875rem; font-weight: 600; color: #0F172A; margin-bottom: 3px; }
.class-link-meta  { font-size: 0.75rem; color: #94A3B8; }
.class-link-btn   { margin-left: auto; flex-shrink: 0; }

/* ─── Payment Items ──────────────────────────────────────── */
.payment-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #F1F5F9;
}
.payment-row:last-child { border-bottom: none; }
.pay-month  { font-size: 0.875rem; font-weight: 600; color: #0F172A; }
.pay-amount { font-size: 1rem; font-weight: 800; color: #1E40AF; }
.pay-date   { font-size: 0.75rem; color: #94A3B8; }

/* EasyPaisa Info Box */
.payment-info-box {
  background: linear-gradient(135deg, #064E3B, #065F46);
  border-radius: 16px;
  padding: 22px;
  color: white;
  margin-bottom: 20px;
}
.pib-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.pib-name  { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.pib-num   { font-size: 1.5rem; font-weight: 800; letter-spacing: 1px; color: #6EE7B7; }
.pib-hint  { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 10px; line-height: 1.5; }
.pib-copy-btn {
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  cursor: pointer;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.pib-copy-btn:hover { background: rgba(255,255,255,0.2); }

/* Upload Zone */
.upload-zone {
  border: 2px dashed #CBD5E1;
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #FAFBFC;
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: #1E40AF;
  background: #EFF6FF;
}
.upload-zone i { font-size: 1.8rem; color: #CBD5E1; margin-bottom: 8px; display: block; }
.upload-zone p { font-size: 0.82rem; color: #94A3B8; margin: 0; }
.upload-zone .upload-hint { font-size: 0.75rem; color: #CBD5E1; margin-top: 4px; }
.upload-preview {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #EFF6FF;
  border-radius: 8px;
  margin-top: 10px;
}
.upload-preview img { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; }
.upload-preview .up-name { font-size: 0.8rem; font-weight: 600; color: #1E40AF; }
.upload-preview .up-size { font-size: 0.72rem; color: #64748B; }

/* ─── Course Progress ────────────────────────────────────── */
.course-prog-card {
  background: white;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  overflow: hidden;
}
.cpc-header {
  background: linear-gradient(135deg, #0F172A, #1E3A8A);
  padding: 20px 22px;
  color: white;
}
.cpc-course-name { font-size: 0.78rem; color: rgba(255,255,255,0.55); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 5px; }
.cpc-prog-num { font-size: 2.2rem; font-weight: 800; line-height: 1; margin-bottom: 8px; }
.cpc-prog-bar {
  height: 6px;
  background: rgba(255,255,255,0.12);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 8px;
}
.cpc-prog-fill {
  height: 100%;
  background: linear-gradient(90deg, #60A5FA, #38BDF8);
  border-radius: 100px;
  transition: width 1.5s ease;
}
.cpc-prog-label { font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.cpc-body { padding: 18px 22px; }

/* Month Milestones */
.month-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.month-card {
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  border: 1.5px solid #E2E8F0;
  transition: all 0.2s ease;
}
.month-card.done   { background: #D1FAE5; border-color: #6EE7B7; }
.month-card.active { background: #EFF6FF; border-color: #93C5FD; }
.month-card.upcoming { background: #F8FAFC; }
.month-num  { font-size: 1.4rem; font-weight: 800; color: #0F172A; line-height: 1; }
.month-done .month-num { color: #059669; }
.month-label { font-size: 0.72rem; color: #94A3B8; margin-top: 4px; }
.month-done-icon { font-size: 1.1rem; color: #059669; margin-bottom: 4px; }

/* Lesson List */
.lesson-list { }
.lesson-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 4px;
  transition: all 0.2s ease;
  background: white;
  border: 1px solid #F1F5F9;
}
.lesson-item:hover { border-color: #E2E8F0; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.lesson-item.completed { background: #F0FDF4; border-color: #BBF7D0; }
.lesson-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748B;
  flex-shrink: 0;
}
.lesson-item.completed .lesson-num { background: #D1FAE5; color: #059669; }
.lesson-title { font-size: 0.875rem; font-weight: 500; color: #0F172A; flex: 1; }
.lesson-item.completed .lesson-title { color: #059669; }
.lesson-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: transparent;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  background: none;
}
.lesson-check:hover { border-color: #1E40AF; color: #1E40AF; }
.lesson-item.completed .lesson-check {
  background: #059669;
  border-color: #059669;
  color: white;
}
.lesson-week-divider {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #94A3B8;
  padding: 14px 0 6px;
}

/* ─── Profile ────────────────────────────────────────────── */
.profile-photo-wrap {
  position: relative;
  display: inline-block;
}
.profile-photo {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  object-fit: cover;
  border: 3px solid #E2E8F0;
}
.profile-photo-placeholder {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  background: linear-gradient(135deg, #1E40AF, #0EA5E9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: white;
}
.profile-photo-edit {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 26px;
  height: 26px;
  background: #1E40AF;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.65rem;
  cursor: pointer;
  border: 2px solid white;
}

/* ─── Certificate Card ───────────────────────────────────── */
.cert-card {
  background: linear-gradient(135deg, #0F172A, #1E3A8A);
  border-radius: 18px;
  padding: 28px;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cert-card::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 0%, rgba(59,130,246,0.3) 0%, transparent 60%);
  pointer-events: none;
}
.cert-card-ko {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 10px;
  opacity: 0.8;
}
.cert-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.cert-card p  { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-bottom: 16px; }
.cert-id {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-family: 'Courier New', monospace;
  color: #93C5FD;
  display: inline-block;
  margin-bottom: 14px;
}

/* ─── Student Alerts ─────────────────────────────────────── */
.s-alert {
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.s-alert-success { background: #D1FAE5; color: #065F46; border-left: 4px solid #10B981; }
.s-alert-danger  { background: #FEE2E2; color: #991B1B; border-left: 4px solid #EF4444; }
.s-alert-info    { background: #E0F2FE; color: #0369A1; border-left: 4px solid #0EA5E9; }
.s-alert-warning { background: #FEF3C7; color: #92400E; border-left: 4px solid #F59E0B; }

/* ─── Form Styles (Student) ──────────────────────────────── */
.s-form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
}
.s-form-control {
  width: 100%;
  padding: 9px 13px;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: #0F172A;
  background: white;
  transition: all 0.2s ease;
  outline: none;
}
.s-form-control:focus {
  border-color: #1E40AF;
  box-shadow: 0 0 0 3px rgba(30,64,175,0.1);
}
.s-form-control::placeholder { color: #CBD5E1; }

/* ─── Student Login Page ─────────────────────────────────── */
.student-login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 50%, #0EA5E9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.student-login-page::before {
  content: '학생 포털';
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  font-family: 'Noto Sans KR', sans-serif;
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  white-space: nowrap;
  pointer-events: none;
}
.student-login-card {
  background: white;
  border-radius: 24px;
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
  position: relative;
  z-index: 1;
}

/* ─── Responsive Student ─────────────────────────────────── */
@media (max-width: 992px) {
  .student-sidebar { transform: translateX(-100%); z-index: 2100; }
  .student-sidebar.open { transform: translateX(0); }
  .student-sidebar.open + .sidebar-overlay { display: block; }
  .student-content { margin-left: 0; }
  #stuMenuBtn { display: inline-flex; }
  .student-main { padding: 18px 14px; }
}
@media (max-width: 576px) {
  .student-main  { padding: 14px 10px; }
  .stu-welcome   { padding: 18px; }
  .stu-welcome::before { display: none; }
  .student-login-card { padding: 28px 22px; }
  .payment-row { grid-template-columns: 1fr 1fr; }
  .hw-photo-grid { grid-template-columns: repeat(2, 1fr); }
  .topbar-date { display: none; }
}

/* ─── Animations ─────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.35s ease forwards; }
