/* ─── OBRA Shared Styles ─── */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Space Mono', monospace;
  background: #F4F4F5; color: #171717;
  overflow-x: hidden; min-height: 100vh;
}
.font-pixel { font-family: 'Silkscreen', cursive; }
a { color: inherit; text-decoration: none; }

/* ─── Buttons ─── */
.btn-primary {
  background: #EA580C; color: #fff;
  padding: 0.7rem 1.4rem; font-weight: 700;
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.05em; border: 2px solid #171717;
  transition: all 0.2s; cursor: pointer;
  font-family: 'Space Mono', monospace;
  display: inline-block; text-align: center;
  position: relative; overflow: hidden; z-index: 1;
  box-shadow: 4px 4px 0 #171717;
}
.btn-primary::before {
  content: ''; position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: #171717; transition: left 0.3s; z-index: -1;
}
.btn-primary:hover::before { left: 0; }
.btn-primary:hover { color: #fff; transform: translate(-2px,-2px); box-shadow: 6px 6px 0 #171717; }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: 4px 4px 0 #171717; }

.btn-outline {
  background: #fff; color: #171717;
  padding: 0.7rem 1.4rem; font-weight: 700;
  font-size: 0.75rem; text-transform: uppercase;
  border: 2px solid #171717; transition: all 0.2s;
  cursor: pointer; font-family: 'Space Mono', monospace;
  display: inline-block; box-shadow: 4px 4px 0 #171717;
}
.btn-outline:hover { background: #171717; color: #fff; transform: translate(-2px,-2px); box-shadow: 6px 6px 0 #EA580C; }

.btn-google {
  background: #fff; color: #171717;
  padding: 1rem 1.8rem; font-weight: 700;
  font-size: 0.9rem; border: 2px solid #171717;
  transition: all 0.2s; cursor: pointer;
  font-family: 'Space Mono', monospace;
  display: inline-flex; align-items: center; gap: 0.8rem;
  box-shadow: 4px 4px 0 #EA580C;
}
.btn-google:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 #EA580C; }
.btn-google img { width: 24px; height: 24px; }

.btn-success {
  background: #10B981; color: #fff;
  padding: 0.5rem 1rem; font-weight: 700;
  font-size: 0.7rem; text-transform: uppercase;
  border: 2px solid #171717; cursor: pointer;
  font-family: 'Space Mono', monospace;
  box-shadow: 3px 3px 0 #171717; transition: all 0.2s;
}
.btn-success:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 #171717; }

.btn-danger {
  background: #EF4444; color: #fff;
  padding: 0.5rem 1rem; font-weight: 700;
  font-size: 0.7rem; text-transform: uppercase;
  border: 2px solid #171717; cursor: pointer;
  font-family: 'Space Mono', monospace;
  box-shadow: 3px 3px 0 #171717; transition: all 0.2s;
}
.btn-danger:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 #171717; }

.btn-ghost {
  background: transparent; color: #171717;
  padding: 0.5rem 1rem; font-weight: 700;
  font-size: 0.7rem; text-transform: uppercase;
  border: 1px solid #D1D5DB; cursor: pointer;
  font-family: 'Space Mono', monospace;
  transition: all 0.2s;
}
.btn-ghost:hover { background: #171717; color: #fff; border-color: #171717; }

/* ─── Inputs ─── */
.brutal-input, .brutal-select, .brutal-textarea {
  width: 100%; padding: 0.75rem 0.9rem;
  border: 2px solid #171717; background: #fff;
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem; transition: all 0.2s;
}
.brutal-input:focus, .brutal-select:focus, .brutal-textarea:focus {
  outline: none; border-color: #EA580C;
  box-shadow: 4px 4px 0 #EA580C;
}
.brutal-textarea { min-height: 100px; resize: vertical; }
.brutal-label {
  display: block; font-size: 0.7rem;
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 0.5rem;
}

/* ─── Cards ─── */
.brutal-card {
  background: #fff; border: 2px solid #171717;
  padding: 1.5rem; transition: all 0.2s;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.08);
}
.brutal-card:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 rgba(234,88,12,0.15); }

/* ─── Badges ─── */
.badge {
  display: inline-block; padding: 0.3rem 0.7rem;
  font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  border: 1px solid;
}
.badge-pending { background: #FEF3C7; border-color: #F59E0B; color: #92400E; }
.badge-verified, .badge-approved { background: #D1FAE5; border-color: #10B981; color: #065F46; }
.badge-rejected { background: #FEE2E2; border-color: #EF4444; color: #991B1B; }
.badge-info { background: #DBEAFE; border-color: #3B82F6; color: #1E40AF; }
.badge-group-a { background: #FEE2E2; border-color: #EF4444; color: #991B1B; }
.badge-group-b { background: #FEF3C7; border-color: #F59E0B; color: #92400E; }
.badge-group-c { background: #DBEAFE; border-color: #3B82F6; color: #1E40AF; }
.badge-group-d { background: #D1FAE5; border-color: #10B981; color: #065F46; }

/* ─── Status dot ─── */
.status-dot {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; margin-right: 6px;
  animation: pulse-dot 1.5s ease-in-out infinite;
}
.status-dot.online { background: #10B981; }
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ─── Toast ─── */
.toast {
  position: fixed; bottom: 2rem; right: 2rem;
  padding: 1rem 1.4rem; background: #171717;
  color: #fff; font-size: 0.85rem; font-weight: 700;
  border: 2px solid #D1D5DB; z-index: 9999;
  max-width: 400px; box-shadow: 8px 8px 0 rgba(234,88,12,0.3);
  display: none;
}
.toast.show { display: block; animation: fadeInUp 0.3s ease-out; }
.toast.success { border-left: 6px solid #10B981; }
.toast.error { border-left: 6px solid #EF4444; }
.toast.info { border-left: 6px solid #3B82F6; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Loading splash ─── */
#loading-splash {
  position: fixed; inset: 0; background: #F4F4F5;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; z-index: 99999;
}
#loading-splash .spinner {
  width: 56px; height: 56px;
  border: 4px solid #D1D5DB; border-top-color: #EA580C;
  border-radius: 50%; animation: spin 0.8s linear infinite;
  margin-bottom: 1.5rem;
}
#loading-splash p {
  font-size: 0.875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: #6B7280;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #F4F4F5; }
::-webkit-scrollbar-thumb { background: #EA580C; border: 1px solid #171717; }
::-webkit-scrollbar-thumb:hover { background: #171717; }

/* ─── Dashboard Layout ─── */
.dash-layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.dash-sidebar {
  background: #171717; color: #fff;
  padding: 1.5rem 1rem; position: sticky; top: 0;
  height: 100vh; overflow-y: auto;
}
.dash-sidebar .logo {
  display: flex; align-items: center; gap: 0.6rem;
  margin-bottom: 2rem; padding-bottom: 1rem;
  border-bottom: 1px solid #333;
}
.dash-sidebar .logo img { height: 40px; }
.dash-sidebar .logo-text {
  font-family: 'Silkscreen', cursive;
  font-size: 1.1rem; color: #EA580C;
}
.dash-sidebar nav a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem; margin-bottom: 0.3rem;
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: #D1D5DB; transition: all 0.2s;
  border-left: 3px solid transparent;
}
.dash-sidebar nav a:hover, .dash-sidebar nav a.active {
  background: #262626; color: #EA580C;
  border-left-color: #EA580C;
}
.dash-main { padding: 2rem; background: #F4F4F5; min-height: 100vh; }
.dash-header {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 2rem;
  padding-bottom: 1rem; border-bottom: 2px solid #171717;
  flex-wrap: wrap; gap: 1rem;
}
.dash-header h1 { font-family: 'Silkscreen', cursive; font-size: 1.5rem; }

.stat-card {
  background: #fff; border: 2px solid #171717;
  padding: 1.2rem; box-shadow: 6px 6px 0 rgba(0,0,0,0.08);
  transition: all 0.2s;
}
.stat-card:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 rgba(234,88,12,0.2); }
.stat-card .stat-label {
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: #6B7280; margin-bottom: 0.5rem;
}
.stat-card .stat-value {
  font-family: 'Silkscreen', cursive;
  font-size: 2rem; color: #EA580C; line-height: 1;
}
.stat-card .stat-sub {
  font-size: 0.7rem; color: #6B7280; margin-top: 0.3rem;
}

/* ─── Tables ─── */
.brutal-table {
  width: 100%; border-collapse: collapse;
  background: #fff; border: 2px solid #171717;
  font-size: 0.85rem;
}
.brutal-table th {
  background: #171717; color: #fff;
  padding: 0.9rem; text-align: left;
  font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.05em;
}
.brutal-table td { padding: 0.9rem; border-bottom: 1px solid #E5E7EB; }
.brutal-table tr:hover { background: #FFF7ED; }

/* ─── Stepper ─── */
.stepper {
  display: flex; justify-content: space-between;
  margin-bottom: 2.5rem; position: relative;
}
.stepper::before {
  content: ''; position: absolute;
  top: 20px; left: 10%; right: 10%;
  height: 2px; background: #D1D5DB; z-index: 0;
}
.step { flex: 1; text-align: center; position: relative; z-index: 1; }
.step-circle {
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 2px solid #D1D5DB;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.5rem; font-weight: 700;
  font-family: 'Silkscreen', cursive;
  color: #6B7280; transition: all 0.3s;
}
.step.active .step-circle { background: #EA580C; border-color: #171717; color: #fff; box-shadow: 4px 4px 0 #171717; }
.step.done .step-circle { background: #10B981; border-color: #171717; color: #fff; }
.step-label {
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: #6B7280;
}
.step.active .step-label { color: #171717; }

/* ─── File upload ─── */
.file-upload {
  border: 2px dashed #171717; background: #fff;
  padding: 2rem; text-align: center;
  cursor: pointer; transition: all 0.2s;
}
.file-upload:hover { border-color: #EA580C; background: #FFF7ED; }
.file-upload.has-file { border-style: solid; border-color: #10B981; background: #F0FDF4; }
.file-upload i { font-size: 2.5rem; color: #EA580C; margin-bottom: 0.5rem; }
.file-upload p { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }

/* ─── Calendar ─── */
.calendar { background: #fff; border: 2px solid #171717; padding: 1.2rem; }
.calendar-header {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 1rem;
  padding-bottom: 0.8rem; border-bottom: 1px solid #E5E7EB;
}
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.calendar-day-name {
  text-align: center; font-size: 0.65rem;
  font-weight: 700; text-transform: uppercase;
  padding: 0.5rem; color: #6B7280;
}
.calendar-day {
  aspect-ratio: 1; display: flex;
  align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
  background: #F4F4F5; border: 1px solid transparent;
  cursor: pointer; transition: all 0.2s;
  position: relative;
}
.calendar-day:hover { border-color: #EA580C; }
.calendar-day.present { background: #D1FAE5; color: #065F46; border-color: #10B981; }
.calendar-day.absent { background: #FEE2E2; color: #991B1B; border-color: #EF4444; }
.calendar-day.today { border-color: #EA580C; border-width: 2px; }
.calendar-day.empty { background: transparent; cursor: default; }
.calendar-day.has-event::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #EA580C;
}

/* ─── Mobile ─── */
.mobile-menu-btn { display: none; background: transparent; border: none; font-size: 1.5rem; cursor: pointer; }
@media (max-width: 768px) {
  .dash-layout { grid-template-columns: 1fr; }
  .dash-sidebar {
    position: fixed; left: -280px;
    width: 260px; z-index: 100;
    transition: left 0.3s;
  }
  .dash-sidebar.open { left: 0; }
  .mobile-menu-btn { display: block; }
  .dash-main { padding: 1rem; }
}

/* ─── Utilities ─── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }

/* ═══════════════════════════════════════════════════════ */
/* ─── CHAT SYSTEM ─── */
/* ═══════════════════════════════════════════════════════ */
.chat-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1rem;
  height: calc(100vh - 200px);
  min-height: 500px;
}
@media (max-width: 768px) {
  .chat-layout { grid-template-columns: 1fr; height: auto; }
}

.chat-channels {
  background: #fff;
  border: 2px solid #171717;
  overflow-y: auto;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.08);
}
.chat-channel {
  padding: 1rem;
  border-bottom: 1px solid #E5E7EB;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.chat-channel:hover { background: #FFF7ED; }
.chat-channel.active { background: #EA580C; color: #fff; }
.chat-channel .channel-icon {
  font-size: 1.3rem;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: #F4F4F5;
  border: 2px solid #171717;
  border-radius: 50%;
  font-weight: 700;
}
.chat-channel.active .channel-icon { background: #fff; color: #EA580C; }
.chat-channel .channel-name {
  font-weight: 700; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.03em;
}
.chat-channel .channel-desc {
  font-size: 0.7rem; opacity: 0.7; margin-top: 0.2rem;
}

.chat-main {
  background: #fff;
  border: 2px solid #171717;
  display: flex; flex-direction: column;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.08);
  overflow: hidden;
}
.chat-header {
  padding: 1rem 1.2rem;
  border-bottom: 2px solid #171717;
  background: #F4F4F5;
  display: flex; justify-content: space-between; align-items: center;
}
.chat-header h3 {
  font-family: 'Silkscreen', cursive;
  font-size: 1rem; color: #EA580C;
}
.chat-header .online-count {
  font-size: 0.75rem; color: #10B981; font-weight: 700;
}

.chat-messages {
  flex: 1; overflow-y: auto;
  padding: 1.2rem; background: #FAFAFA;
  display: flex; flex-direction: column; gap: 0.8rem;
}
.chat-message {
  display: flex; gap: 0.7rem;
  max-width: 75%;
  animation: fadeInUp 0.3s ease-out;
}
.chat-message.own { align-self: flex-end; flex-direction: row-reverse; }
.chat-message.announcement { max-width: 100%; align-self: stretch; }

.chat-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #EA580C; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
  flex-shrink: 0;
  border: 2px solid #171717;
}
.chat-avatar.admin { background: #EF4444; }
.chat-avatar.tutor { background: #3B82F6; }

.chat-bubble {
  background: #fff;
  border: 2px solid #171717;
  padding: 0.7rem 1rem;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.08);
}
.chat-message.own .chat-bubble {
  background: #EA580C; color: #fff;
}
.chat-message.announcement .chat-bubble {
  background: #FEF3C7;
  border-color: #F59E0B;
  border-width: 3px;
  width: 100%;
}
.chat-sender {
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  color: #EA580C;
}
.chat-message.own .chat-sender { color: #fff; opacity: 0.9; }
.chat-message.announcement .chat-sender { color: #92400E; }
.chat-text {
  font-size: 0.85rem; line-height: 1.5;
  word-wrap: break-word; white-space: pre-wrap;
}
.chat-time {
  font-size: 0.65rem; opacity: 0.6;
  margin-top: 0.3rem; text-align: right;
}

.chat-input-area {
  padding: 1rem;
  border-top: 2px solid #171717;
  background: #fff;
  display: flex; gap: 0.7rem;
}
.chat-input-area.readonly {
  background: #F4F4F5;
  justify-content: center; align-items: center;
  color: #6B7280;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}
.chat-input {
  flex: 1;
  padding: 0.7rem 1rem;
  border: 2px solid #171717;
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  resize: none;
  min-height: 44px;
  max-height: 120px;
}
.chat-input:focus {
  outline: none;
  border-color: #EA580C;
  box-shadow: 3px 3px 0 #EA580C;
}
.chat-send-btn {
  background: #EA580C; color: #fff;
  border: 2px solid #171717;
  padding: 0 1.2rem;
  font-weight: 700; cursor: pointer;
  font-family: 'Space Mono', monospace;
  text-transform: uppercase; font-size: 0.75rem;
  box-shadow: 3px 3px 0 #171717;
  transition: all 0.2s;
}
.chat-send-btn:hover {
  transform: translate(-1px,-1px);
  box-shadow: 4px 4px 0 #171717;
}
.chat-send-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.announcement-composer {
  background: #FEF3C7;
  border: 3px solid #F59E0B;
  padding: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 4px 4px 0 rgba(245,158,11,0.3);
}
.announcement-composer h4 {
  font-family: 'Silkscreen', cursive;
  color: #92400E;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.empty-chat {
  text-align: center; padding: 3rem 1rem; color: #6B7280;
}
.empty-chat i {
  font-size: 3rem; color: #EA580C;
  margin-bottom: 1rem; opacity: 0.5;
}

/* ─── Payment Cards ─── */
.payment-card {
  background: #FFF7ED; border: 3px solid #EA580C;
  padding: 1.5rem; margin-bottom: 1.5rem;
  box-shadow: 6px 6px 0 #171717;
}
.payment-card h3 { font-family: 'Silkscreen', cursive; font-size: 1.2rem; margin-bottom: 0.5rem; }
.payment-card .amount { font-family: 'Silkscreen', cursive; font-size: 2rem; color: #EA580C; }
.payment-card.locked { background: #F4F4F5; border-color: #D1D5DB; opacity: 0.6; }
.payment-card.locked .amount { color: #6B7280; }
.payment-status {
  display: inline-block; padding: 0.4rem 0.8rem;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════════════════ */
/* ─── ASSIGNMENTS ─── */
/* ═══════════════════════════════════════════════════════ */
.assignment-card {
  background: #fff;
  border: 2px solid #171717;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.08);
  transition: all 0.2s;
}
.assignment-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(234,88,12,0.15);
}
.assignment-card.overdue {
  border-color: #EF4444;
  background: #FEF2F2;
}
.assignment-card.submitted {
  border-color: #10B981;
  background: #F0FDF4;
}
.assignment-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1rem;
}
.assignment-title {
  font-family: 'Silkscreen', cursive;
  font-size: 1.1rem;
  color: #EA580C;
  margin-bottom: 0.3rem;
}
.assignment-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: #6B7280;
  margin-bottom: 1rem;
}
.assignment-description {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #4B5563;
  margin-bottom: 1rem;
}
.assignment-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #E5E7EB;
}
.countdown-timer {
  font-family: 'Silkscreen', cursive;
  font-size: 1.2rem;
  color: #EF4444;
}
.countdown-timer.safe {
  color: #10B981;
}

/* ═══════════════════════════════════════════════════════ */
/* ─── EVENTS CALENDAR ─── */
/* ═══════════════════════════════════════════════════════ */
.event-card {
  background: #fff;
  border: 2px solid #171717;
  padding: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.08);
  transition: all 0.2s;
}
.event-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(234,88,12,0.15);
}
.event-card.live {
  border-color: #EF4444;
  background: #FEF2F2;
  animation: pulse-border 2s ease-in-out infinite;
}
@keyframes pulse-border {
  0%, 100% { box-shadow: 4px 4px 0 rgba(239,68,68,0.3); }
  50% { box-shadow: 4px 4px 0 rgba(239,68,68,0.6); }
}
.event-type-badge {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.event-type-badge.live-class { background: #DBEAFE; color: #1E40AF; }
.event-type-badge.workshop { background: #FEF3C7; color: #92400E; }
.event-type-badge.deadline { background: #FEE2E2; color: #991B1B; }
.event-type-badge.orientation { background: #D1FAE5; color: #065F46; }
.event-title {
  font-family: 'Silkscreen', cursive;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.event-datetime {
  font-size: 0.8rem;
  color: #6B7280;
  margin-bottom: 0.5rem;
}
.event-join-btn {
  background: #10B981;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border: 2px solid #171717;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 3px 3px 0 #171717;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.event-join-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #171717;
}
.event-join-btn.disabled {
  background: #D1D5DB;
  cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════ */
/* ─── LIVE POLLS ─── */
/* ═══════════════════════════════════════════════════════ */
.poll-card {
  background: #fff;
  border: 3px solid #EA580C;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 6px 6px 0 rgba(234,88,12,0.2);
}
.poll-card.live {
  animation: pulse-border 2s ease-in-out infinite;
}
.poll-question {
  font-family: 'Silkscreen', cursive;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #171717;
}
.poll-options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.poll-option {
  background: #F4F4F5;
  border: 2px solid #D1D5DB;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.poll-option:hover {
  border-color: #EA580C;
  background: #FFF7ED;
}
.poll-option.selected {
  border-color: #EA580C;
  background: #FFF7ED;
}
.poll-option.correct {
  border-color: #10B981;
  background: #D1FAE5;
}
.poll-option.wrong {
  border-color: #EF4444;
  background: #FEE2E2;
}
.poll-option-letter {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #171717;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'Silkscreen', cursive;
}
.poll-option-text {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 700;
}
.poll-timer {
  font-family: 'Silkscreen', cursive;
  font-size: 2rem;
  color: #EF4444;
  text-align: center;
  margin: 1rem 0;
}
.poll-results {
  margin-top: 1rem;
}
.poll-result-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.poll-result-label {
  width: 120px;
  font-size: 0.8rem;
  font-weight: 700;
}
.poll-result-bar-bg {
  flex: 1;
  height: 24px;
  background: #E5E7EB;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.poll-result-bar-fill {
  height: 100%;
  background: #EA580C;
  transition: width 0.5s ease;
  display: flex;
  align-items: center;
  padding-left: 0.5rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}
.poll-result-bar-fill.correct {
  background: #10B981;
}

/* ═══════════════════════════════════════════════════════ */
/* ─── QUIZZES ─── */
/* ═══════════════════════════════════════════════════════ */
.quiz-card {
  background: #fff;
  border: 2px solid #171717;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.08);
}
.quiz-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1rem;
}
.quiz-title {
  font-family: 'Silkscreen', cursive;
  font-size: 1.1rem;
  color: #EA580C;
}
.quiz-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: #6B7280;
  margin-bottom: 1rem;
}
.quiz-question {
  background: #F4F4F5;
  border: 2px solid #D1D5DB;
  padding: 1.2rem;
  margin-bottom: 1rem;
}
.quiz-question-text {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.quiz-option {
  background: #fff;
  border: 2px solid #D1D5DB;
  padding: 0.8rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
}
.quiz-option:hover {
  border-color: #EA580C;
}
.quiz-option.selected {
  border-color: #EA580C;
  background: #FFF7ED;
}

/* ═══════════════════════════════════════════════════════ */
/* ─── GRADEBOOK ─── */
/* ═══════════════════════════════════════════════════════ */
.gradebook-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 2px solid #171717;
  font-size: 0.8rem;
}
.gradebook-table th {
  background: #171717;
  color: #fff;
  padding: 0.8rem;
  text-align: center;
  font-size: 0.7rem;
  text-transform: uppercase;
  position: sticky;
  top: 0;
  z-index: 10;
}
.gradebook-table th:first-child {
  text-align: left;
  position: sticky;
  left: 0;
  z-index: 11;
  background: #171717;
}
.gradebook-table td {
  padding: 0.8rem;
  border: 1px solid #E5E7EB;
  text-align: center;
}
.gradebook-table td:first-child {
  text-align: left;
  font-weight: 700;
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 5;
}
.gradebook-table tr:hover td {
  background: #FFF7ED;
}
.gradebook-table tr:hover td:first-child {
  background: #FFF7ED;
}
.grade-cell {
  font-weight: 700;
  font-family: 'Silkscreen', cursive;
}
.grade-cell.excellent { color: #10B981; }
.grade-cell.good { color: #3B82F6; }
.grade-cell.average { color: #F59E0B; }
.grade-cell.poor { color: #EF4444; }

/* ═══════════════════════════════════════════════════════ */
/* ─── MENTOR MATCHING ─── */
/* ═══════════════════════════════════════════════════════ */
.mentor-card {
  background: #fff;
  border: 2px solid #171717;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.08);
  transition: all 0.2s;
}
.mentor-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(234,88,12,0.15);
}
.mentor-header {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}
.mentor-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #EA580C;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  border: 3px solid #171717;
}
.mentor-info h3 {
  font-family: 'Silkscreen', cursive;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.mentor-info p {
  font-size: 0.8rem;
  color: #6B7280;
}
.mentor-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.expertise-tag {
  background: #DBEAFE;
  color: #1E40AF;
  padding: 0.3rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
}
.mentor-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: #F4F4F5;
  border-radius: 4px;
}
.mentor-stat {
  text-align: center;
}
.mentor-stat-value {
  font-family: 'Silkscreen', cursive;
  font-size: 1.3rem;
  color: #EA580C;
}
.mentor-stat-label {
  font-size: 0.65rem;
  color: #6B7280;
  text-transform: uppercase;
}