/* ===== ORGANIZER PANEL ===== */
.org-panel { padding: 16px; }
.org-stats-bar { display: flex; gap: 8px; margin-bottom: 16px; }
.org-stat { flex: 1; text-align: center; background: #f8f9fa; padding: 12px 8px; border-radius: 12px; }
.org-stat-num { display: block; font-size: 24px; font-weight: 800; color: #FF6B00; }
.org-stat-label { font-size: 12px; color: #666; }
.org-section-title { font-size: 16px; font-weight: 700; margin: 16px 0 8px; }
.org-event-card { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 12px; margin-bottom: 8px; }
.org-event-card.cancelled { opacity: 0.6; }
.org-event-card.past { opacity: 0.7; }
.org-event-card.draft-card { border-left: 3px solid #e65100; background: #fffbf5; }
.org-event-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.org-event-info { flex: 1; min-width: 0; }
.org-event-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.org-event-meta { font-size: 12px; color: #666; }
.org-badge { font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 6px; white-space: nowrap; flex-shrink: 0; margin-left: 8px; }
.org-badge.active { background: #d4edda; color: #155724; }
.org-badge.cancelled { background: #f8d7da; color: #721c24; }
.org-badge.closed { background: #fff3cd; color: #856404; }
.org-badge.past { background: #e2e3e5; color: #383d41; }
.org-event-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.org-action-btn { padding: 6px 10px; border: 1px solid #ddd; border-radius: 8px; font-size: 12px; background: #fff; cursor: pointer; font-weight: 500; font-family: inherit; }
.org-action-btn:active { background: #f0f0f0; }
.org-action-btn.cancel { border-color: #dc3545; color: #dc3545; }
.org-action-btn.edit { border-color: #FF6B00; color: #FF6B00; }
.org-action-btn.close { border-color: #ffc107; color: #856404; }

/* Toggle switch */
.switch { position: relative; display: inline-block; width: 48px; height: 28px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch-slider {
  position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--gray-300); transition: 0.3s; border-radius: 28px;
}
.switch-slider:before {
  position: absolute; content: ""; height: 22px; width: 22px; left: 3px; bottom: 3px;
  background: white; transition: 0.3s; border-radius: 50%;
}
.switch input:checked + .switch-slider { background: var(--orange-accent); }
.switch input:checked + .switch-slider:before { transform: translateX(20px); }

/* Admin panel */
.admin-tab-panel { min-height: 200px; }
.admin-card {
  background: var(--white); border-radius: var(--radius-md); padding: 14px 16px;
  margin-bottom: 10px; border: 1px solid var(--gray-200);
}
.admin-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.admin-card-title { font-size: 15px; font-weight: 600; color: var(--gray-800); }
.admin-card-subtitle { font-size: 13px; color: var(--gray-500); margin-top: 2px; }
.admin-card-meta { font-size: 12px; color: var(--gray-500); margin-top: 6px; display: flex; gap: 12px; flex-wrap: wrap; }
.admin-card-actions { display: flex; gap: 6px; flex-shrink: 0; }
.admin-btn {
  padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 600;
  border: 1px solid var(--gray-200); cursor: pointer; background: var(--white); color: var(--gray-700);
  transition: all 0.15s;
}
.admin-btn:hover { background: var(--gray-50); }
.admin-btn.danger { color: var(--red); border-color: var(--red); }
.admin-btn.danger:hover { background: var(--red-light); }
.admin-btn.success { color: #2e7d32; border-color: #2e7d32; }
.admin-btn.success:hover { background: #e8f5e9; }
.admin-stat-card {
  background: var(--white); border-radius: var(--radius-md); padding: 16px;
  text-align: center; border: 1px solid var(--gray-200);
}
.admin-stat-number { font-size: 28px; font-weight: 800; color: var(--orange-accent); }
.admin-stat-label { font-size: 12px; color: var(--gray-500); margin-top: 4px; }
.admin-role-badge {
  display: inline-block; padding: 2px 8px; border-radius: 12px; font-size: 11px; font-weight: 600;
}
.admin-role-badge.superadmin { background: #fce4ec; color: #c62828; }
.admin-role-badge.organizer { background: #e8f5e9; color: #2e7d32; }
.admin-role-badge.participant { background: #e3f2fd; color: #1565c0; }
.banner-preview {
  height: 60px; border-radius: 8px; display: flex; align-items: center; padding: 0 16px;
  color: white; font-weight: 600; font-size: 14px; margin-bottom: 8px;
}

/* Desktop adjustments */
.desktop-only { display: none; }
@media (max-width: 899px) {
  .desktop-hide { display: none !important; }
}
