/* ============================================================
   Beekix Dashboard Styles — Stitch Layout
   ============================================================ */

/* ── Typography ── */
html, body { margin: 0; padding: 0; }
body { font-family: 'Be Vietnam Pro', sans-serif; }
.font-headline { font-family: 'Plus Jakarta Sans', sans-serif; }

/* ── Theme Variables (light mode defaults) ── */
body {
  --text: #0f172a;
  --text-light: #64748b;
  --card-bg: #ffffff;
  --border: #e2e8f0;
  --primary: #354996;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  --shadow-airy: 0 4px 24px rgba(30, 58, 95, 0.08);
  --transition-airy: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-airy: cubic-bezier(0.4, 0, 0.2, 1);
  --bg-ghost: #f0f4f8;
}

/* ── Surface ── */
*, *::before, *::after { box-sizing: border-box; }
.bg-surface { background: #faf8ff; }
.min-h-screen { min-height: 100vh; }
body.flex { display: flex; }

/* ── Layout ── */
.dash-layout {
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar ── */
.dash-sidebar {
  display: flex;
  flex-direction: column;
  width: 240px;
  height: 100vh;
  position: sticky;
  top: 0;
  background: rgba(239, 246, 255, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid rgba(191, 219, 254, 0.1);
  padding: 16px 0 8px;
  overflow: hidden;
  flex-shrink: 0;
  z-index: 50;
}

.sidebar-brand { padding: 0 20px; margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; }
.sidebar-brand-text { min-width: 0; }
.sidebar-logo { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 20px; font-weight: 800; color: #1e40af; margin: 0; }
.sidebar-tagline { font-size: 10px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 2px; margin-top: 2px; }

.sidebar-nav { flex: 1; display: flex; flex-direction: column; gap: 1px; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.sidebar-nav::-webkit-scrollbar { display: none; }

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 20px;
  margin: 0 8px;
  color: #475569;
  font-size: 14px;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  background: none;
  width: calc(100% - 16px);
  font-family: inherit;
}

.sidebar-link:hover {
  background: rgba(191, 219, 254, 0.3);
  transform: translateX(4px);
}

.sidebar-link.active {
  background: #1e3a5f;
  color: white;
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.3);
}

.sidebar-link.active .material-symbols-outlined {
  font-variation-settings: 'FILL' 1;
}

.sidebar-link .material-symbols-outlined {
  font-size: 22px;
}

.sidebar-label { white-space: nowrap; overflow: hidden; }

/* Sidebar dropdown */
.sidebar-dropdown { padding: 0; }
.sidebar-dropdown-trigger { justify-content: flex-start; position: relative; }
.sidebar-dropdown-arrow { margin-left: auto; font-size: 18px; transition: transform 0.3s; }
.sidebar-dropdown-trigger.open .sidebar-dropdown-arrow { transform: rotate(180deg); }
.sidebar-dropdown-items { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; margin-left: 48px; }
.sidebar-dropdown-items.open { max-height: 300px; }
.sidebar-sub-link {
  display: block;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}
.sidebar-sub-link:hover { color: #354996; }
.sidebar-sub-link.active { color: #2563eb; font-weight: 700; }

/* Sidebar bottom */
.sidebar-bottom { padding: 0 16px; margin-top: auto; padding-top: 8px; }
.sidebar-new-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: linear-gradient(135deg, #354996, #4e62b0);
  color: white;
  font-weight: 700;
  font-size: 14px;
  font-family: inherit;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(53, 73, 150, 0.3);
  transition: transform 0.2s;
}
.sidebar-new-btn:hover { transform: scale(1.02); }
.sidebar-new-btn:active { transform: scale(0.95); }

.sidebar-user { padding: 8px 8px 0; font-size: 12px; }
.sidebar-user-email { color: #475569; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user-plan { color: #354996; font-weight: 700; text-transform: uppercase; font-size: 11px; margin-top: 2px; }

/* Sidebar collapse toggle — transparent, inline with logo */
.sidebar-collapse-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: transparent;
  color: #94a3b8;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0;
  flex-shrink: 0;
  transition: color 0.2s, background 0.2s;
}
.sidebar-collapse-toggle:hover { color: #1e3a5f; background: rgba(30, 58, 95, 0.08); }
.sidebar-collapse-icon { font-size: 20px; transition: transform 0.3s; }

/* ── Sidebar Collapsed State (desktop only, >768px) ── */
@media (min-width: 769px) {
  .dash-sidebar {
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .dash-sidebar.dash-sidebar-collapsed {
    width: 56px;
    padding: 12px 0 8px;
    align-items: center;
  }

  /* Brand: hide logo text, show expand button centered */
  .dash-sidebar.dash-sidebar-collapsed .sidebar-brand {
    padding: 0;
    margin-bottom: 12px;
    justify-content: center;
  }
  .dash-sidebar.dash-sidebar-collapsed .sidebar-brand-text {
    display: none;
  }
  .dash-sidebar.dash-sidebar-collapsed .sidebar-collapse-icon {
    transform: rotate(180deg);
  }

  /* Hide text labels */
  .dash-sidebar.dash-sidebar-collapsed .sidebar-label {
    display: none;
  }

  /* Icon links: circular background on hover/active */
  .dash-sidebar.dash-sidebar-collapsed .sidebar-link {
    justify-content: center;
    padding: 0;
    margin: 1px auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    position: relative;
  }
  .dash-sidebar.dash-sidebar-collapsed .sidebar-link:hover {
    transform: none;
    background: rgba(30, 58, 95, 0.08);
  }
  .dash-sidebar.dash-sidebar-collapsed .sidebar-link.active {
    background: #1e3a5f;
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.25);
  }
  .dash-sidebar.dash-sidebar-collapsed .sidebar-link .material-symbols-outlined {
    font-size: 20px;
  }

  /* Tooltip on hover */
  .dash-sidebar.dash-sidebar-collapsed .sidebar-link::after {
    content: attr(title);
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: #1e293b;
    color: #fff;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s;
    z-index: 100;
  }
  .dash-sidebar.dash-sidebar-collapsed .sidebar-link:hover::after {
    opacity: 1;
  }

  /* Dropdown hidden in collapsed mode */
  .dash-sidebar.dash-sidebar-collapsed .sidebar-dropdown-arrow {
    display: none;
  }
  .dash-sidebar.dash-sidebar-collapsed .sidebar-dropdown-items {
    margin-left: 0;
  }
  .dash-sidebar.dash-sidebar-collapsed .sidebar-dropdown-items .sidebar-sub-link {
    padding: 0;
    margin: 1px auto;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0;
  }
  .dash-sidebar.dash-sidebar-collapsed .sidebar-dropdown-items .sidebar-sub-link:hover {
    background: rgba(30, 58, 95, 0.08);
  }
  .dash-sidebar.dash-sidebar-collapsed .sidebar-dropdown-items .sidebar-sub-link.active {
    color: white;
    background: #1e3a5f;
  }
  .dash-sidebar.dash-sidebar-collapsed .sidebar-dropdown-items .sidebar-sub-link .material-symbols-outlined {
    font-size: 18px;
    margin-right: 0;
  }

  /* Bottom section */
  .dash-sidebar.dash-sidebar-collapsed .sidebar-bottom { padding: 0 8px; }
  .dash-sidebar.dash-sidebar-collapsed .sidebar-new-btn {
    padding: 8px;
    font-size: 0;
    gap: 0;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    margin: 0 auto;
  }
  .dash-sidebar.dash-sidebar-collapsed .sidebar-new-btn .material-symbols-outlined {
    font-size: 20px;
  }
  .dash-sidebar.dash-sidebar-collapsed .sidebar-user { display: none; }

  /* Create launcher card position in collapsed */
  .dash-sidebar.dash-sidebar-collapsed .create-launcher-card {
    left: 56px !important;
    right: auto !important;
    bottom: 0 !important;
    width: 200px;
  }
}

/* Hide collapse toggle on mobile — sidebar is a drawer there */
@media (max-width: 768px) {
  .sidebar-collapse-toggle { display: none; }
}

/* ── Main Wrapper ── */
.dash-main-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

/* ── Top Bar ── */
.dash-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 250, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0, 23, 74, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
}

.topbar-left { display: flex; align-items: center; gap: 12px; }
.topbar-burger { display: none; background: none; border: none; cursor: pointer; color: #354996; padding: 4px; }
.topbar-icon { font-size: 28px; color: #354996; }
.topbar-title { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 20px; color: #1e3a8a; margin: 0; }

.topbar-right { display: flex; align-items: center; gap: 16px; }

.topbar-search {
  display: flex;
  align-items: center;
  background: #f2f3ff;
  padding: 8px 20px;
  border-radius: 9999px;
  width: 320px;
  transition: all 0.3s;
}
.topbar-search:focus-within {
  box-shadow: 0 0 0 2px rgba(53, 73, 150, 0.2);
  background: white;
}
.topbar-search-icon { color: #94a3b8; margin-right: 8px; font-size: 20px; }
.topbar-search input {
  background: transparent;
  border: none;
  outline: none;
  font-size: 14px;
  font-weight: 500;
  width: 100%;
  color: #1e3a8a;
  font-family: inherit;
}
.topbar-search input::placeholder { color: #94a3b8; }
.topbar-search-shortcut {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 2px 6px;
  white-space: nowrap;
}

.topbar-btn {
  padding: 8px;
  border-radius: 9999px;
  background: none;
  border: none;
  cursor: pointer;
  color: #64748b;
  transition: background 0.2s;
}
.topbar-btn:hover { background: rgba(191, 219, 254, 0.3); }

.topbar-avatar {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  border: 2px solid #4e62b0;
  overflow: hidden;
  cursor: pointer;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #354996;
  font-size: 28px;
}

/* Account floating panel */
.account-wrap { position: relative; overflow: visible; }

.account-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 300px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 23, 74, 0.15);
  border: 1px solid rgba(192, 199, 209, 0.15);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.97);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.account-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.account-panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(192, 199, 209, 0.15);
}

.account-panel-avatar {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: #e3e7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #354996;
  flex-shrink: 0;
  overflow: hidden;
}

.account-panel-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-panel-info { flex: 1; min-width: 0; }

.account-panel-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #00174a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-panel-email {
  font-size: 12px;
  color: #404750;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-panel-plan {
  font-size: 11px;
  font-weight: 700;
  color: #2b5ea7;
  text-transform: uppercase;
  margin-top: 2px;
}

.account-panel-close {
  background: none;
  border: none;
  font-size: 20px;
  color: #717881;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s;
}
.account-panel-close:hover { color: #00174a; }

.account-panel-options {
  padding: 8px 0;
}

.account-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #00174a;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.account-option:hover { background: #f2f3ff; }

.account-option .material-symbols-outlined {
  font-size: 20px;
  color: #717881;
}

.account-theme-badge, .account-plan-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  background: #e3e7ff;
  color: #354996;
  white-space: nowrap;
  flex-shrink: 0;
}

.account-plan-info { cursor: default; }

.account-panel-footer {
  padding: 8px 12px 12px;
  border-top: 1px solid rgba(192, 199, 209, 0.15);
}

.account-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border-radius: 9999px;
  background: none;
  border: 1.5px solid rgba(192, 199, 209, 0.3);
  color: #717881;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.account-logout:hover {
  background: #fef2f2;
  border-color: #ef4444;
  color: #ef4444;
}

.account-logout .material-symbols-outlined { font-size: 18px; }

/* ── Content Area ── */
.dash-content {
  flex: 1;
  overflow-y: auto;
  padding: 32px;
  background: #faf8ff;
}

/* ── Floating Action Buttons ── */
.dash-fab {
  position: absolute;
  bottom: 32px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 30;
}

.fab-secondary {
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background: white;
  border: 1px solid rgba(113, 120, 129, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #354996;
  transition: transform 0.2s;
}
.fab-secondary:hover { transform: scale(1.1); }

.fab-primary {
  padding: 0 32px;
  height: 56px;
  border-radius: 9999px;
  background: #354996;
  color: white;
  border: none;
  box-shadow: 0 10px 30px rgba(53, 73, 150, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s;
}
.fab-primary:hover { transform: scale(1.05); }

/* ── Mobile Bottom Navigation ── */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(113, 120, 129, 0.1);
  height: 72px;
  justify-content: space-around;
  align-items: center;
  padding: 0 16px;
  z-index: 50;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
  transition: color 0.2s;
}
.mobile-nav-item .material-symbols-outlined { font-size: 24px; }
.mobile-nav-item.active { color: #354996; }
.mobile-nav-item.active .material-symbols-outlined { font-variation-settings: 'FILL' 1; }

/* ── Sidebar Overlay (mobile) ── */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 45;
}
.sidebar-overlay.active { display: block; }

/* ── Responsive: Tablet & Mobile ── */
@media (max-width: 768px) {
  .dash-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 50;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 280px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  .dash-sidebar.open { transform: translateX(0); box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1); }
  .topbar-burger { display: flex; }
  .topbar-search { display: none; }
  .topbar-search-shortcut { display: none; }
  .mobile-bottom-nav { display: flex; }
  .dash-content { padding: 16px; padding-bottom: 88px; }
  .dash-fab { bottom: 88px; right: 16px; }

  /* Topbar de-clutter: drop decorative icon, ellipsis the title, tighten right group */
  .dash-topbar { padding: 12px 16px; }
  .topbar-icon { display: none; }
  .topbar-title { font-size: 17px; max-width: 50vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar-right { gap: 6px; }
  .topbar-btn { padding: 6px; }

  /* Compact FAB for one-thumb reach */
  .fab-primary { padding: 0 18px; height: 48px; font-size: 13px; }
  .fab-primary .material-symbols-outlined { font-size: 20px; }
  .fab-secondary { width: 48px; height: 48px; }
}

/* Tiny phones (<=380px): drop "Ask Beekix" label, FAB becomes circular icon-only.
   font-size: 0 on the button hides the text node; the icon span keeps explicit size. */
@media (max-width: 380px) {
  .topbar-title { max-width: 40vw; font-size: 16px; }
  .fab-primary { padding: 0; width: 48px; min-width: 48px; gap: 0; font-size: 0; }
  .fab-primary .material-symbols-outlined { font-size: 22px; }
}

@media (max-width: 1024px) {
  .topbar-search { width: 240px; }
  .topbar-search-shortcut { display: none; }
}

/* ── Page Header ── */
.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.dash-header h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 24px;
}

/* ── Stats Row ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 4px;
}

/* ── Course Grid ── */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.course-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.course-card-main {
  padding: 24px;
}

.course-card:hover {
  box-shadow: 0 4px 16px rgba(53, 73, 150, 0.12);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ── CRUD action buttons ──────────────────────────────────── */
.card-actions {
  display: flex;
  gap: 6px;
  padding: 8px 16px;
  border-top: 1px solid var(--border, #DFE6E9);
}
.card-actions .btn { font-size: 11px; padding: 4px 12px; }

.item-actions {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-left: 8px;
}
.item-actions .btn { padding: 4px 8px; font-size: 12px; line-height: 1; }

.question-actions {
  display: flex;
  gap: 6px;
  padding: 10px 0 0;
  margin-top: 10px;
  border-top: 1px solid var(--border, #DFE6E9);
}
.question-actions .btn { font-size: 11px; padding: 4px 12px; }

.btn-danger {
  background: rgba(225, 112, 85, 0.1);
  color: #E17055;
  border: 1px solid rgba(225, 112, 85, 0.3);
}
.btn-danger:hover {
  background: #E17055;
  color: #fff;
}

.course-color-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.course-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 8px 0 8px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.course-platform {
  display: inline-block;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  background: #f0eeff;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 12px;
}

.course-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-light);
}

/* ── Assignment List ── */
.assignment-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.assignment-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.assignment-item:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(53, 73, 150, 0.08);
}

.assignment-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.assignment-info p {
  font-size: 13px;
  color: var(--text-light);
  margin: 0;
}

.assignment-badge {
  display: inline-block;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  background: #f0f0f0;
  color: var(--text-light);
  font-weight: 500;
  text-transform: capitalize;
}

.assignment-questions-count {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
}

/* ── Question List ── */
.question-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.question-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  transition: all 0.15s;
}

.question-card:hover {
  border-color: var(--primary);
}

.question-card.question-starred {
  border-left: 3px solid #f0c040;
}

.question-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.question-number {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}

.question-type-badge {
  display: inline-block;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  background: #e8f0fe;
  color: #4285f4;
  font-weight: 500;
  text-transform: capitalize;
  margin-left: 8px;
  vertical-align: middle;
}

.starred-icon {
  color: #f0c040;
  font-size: 18px;
}

.question-image {
  margin-bottom: 12px;
}

.question-image img {
  max-width: 100%;
  max-height: 300px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.question-choices {
  margin-bottom: 12px;
}

.question-choices-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 6px;
}

.question-choices ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.question-choices li {
  font-size: 14px;
  color: var(--text);
  padding: 8px 12px;
  background: #f8f8f8;
  border-radius: 6px;
  border: 1px solid #eee;
}

.question-choices li.choice-correct {
  background: #e6f9f1;
  border-color: #00B894;
  font-weight: 600;
}

.choice-check {
  color: #00B894;
  font-weight: 700;
  margin-left: 4px;
}

.question-ai-answer {
  background: #f0f7ff;
}

.question-ai-answer .question-answer-label {
  color: #4285f4;
}

.question-sources {
  margin-top: 12px;
  margin-bottom: 12px;
}

.question-sources-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 6px;
}

.question-sources ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.question-sources li {
  font-size: 13px;
}

.question-sources a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.question-sources a:hover {
  text-decoration: underline;
}

.source-snippet {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
  line-height: 1.4;
}

.question-notes {
  background: #fffde6;
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 12px;
  margin-bottom: 12px;
  border-left: 3px solid #f0c040;
}

.question-notes-label {
  font-size: 12px;
  font-weight: 600;
  color: #b8860b;
  margin-bottom: 4px;
}

.question-notes p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
  margin: 0;
}

.tag-badge {
  background: #f0eeff;
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
}

.question-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.5;
}

.question-answer {
  background: #f8f7ff;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
}

.question-answer-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.question-answer-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

.question-steps {
  margin-top: 12px;
}

.question-steps-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 8px;
}

.question-steps ol {
  margin: 0;
  padding-left: 20px;
}

.question-steps li {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 4px;
}

.question-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-light);
}

.confidence-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
}

.confidence-high {
  background: #e6f9f1;
  color: #00B894;
}

.confidence-medium {
  background: #fff3e0;
  color: #FF9800;
}

.confidence-low {
  background: #ffeaea;
  color: #E74C3C;
}

/* ── Search ── */
.search-container {
  margin-bottom: 24px;
}

.search-input {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  transition: border-color 0.2s;
  background: #fff;
  box-sizing: border-box;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: var(--text-light);
}

/* ── Empty State ── */
.empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--text-light);
}

.empty-state-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-state-icon svg {
  opacity: 0.7;
}

.empty-state h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}

.empty-state p {
  font-size: 14px;
  color: var(--text-light);
  max-width: 360px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Loading ── */
.loading {
  text-align: center;
  padding: 40px;
  color: var(--text-light);
}

.loading-spinner {
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ── Back Link ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 16px;
}

.back-link:hover {
  text-decoration: underline;
}

/* ── Quota Usage Card ── */
.quota-card {
  background: var(--card-bg, #fff);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.quota-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.quota-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quota-bar-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quota-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text);
}

.quota-bar-count {
  font-weight: 600;
}

.quota-bar-track {
  width: 100%;
  height: 10px;
  background: #f0f0f0;
  border-radius: 5px;
  overflow: hidden;
}

.quota-bar {
  height: 100%;
  border-radius: 5px;
  transition: width 0.4s ease;
  min-width: 2px;
}

.quota-unlimited-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #00B894;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

[data-theme="dark"] .quota-card {
  background: var(--card-bg);
}

[data-theme="dark"] .quota-bar-track {
  background: #2a2a4a;
}

/* ── Status Badges ── */
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: capitalize;
  white-space: nowrap;
}

.status-badge-open {
  background: #ffeaea;
  color: #E74C3C;
}

.status-badge-in_progress {
  background: #fff3e0;
  color: #FF9800;
}

.status-badge-resolved {
  background: #e6f9f1;
  color: #00B894;
}

.status-badge-closed {
  background: #f0f0f0;
  color: #888;
}

/* ── System Notification Banner ── */
.system-notification-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-radius: 8px;
  margin-bottom: 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.notification-message {
  flex: 1;
  margin-right: 12px;
}

.notification-dismiss-btn {
  background: rgba(255, 255, 255, 0.25);
  border: none;
  color: #fff;
  font-size: 18px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
  line-height: 1;
}

.notification-dismiss-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* ── Theme Toggle ── */
.dash-theme-toggle {
  padding: 12px 24px;
  border-top: 1px solid var(--border);
  margin-top: 16px;
}

.theme-toggle-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-light);
  transition: all 0.2s;
}

.theme-toggle-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.theme-icon-dark {
  display: none;
}

[data-theme="dark"] .theme-icon-light {
  display: none;
}

[data-theme="dark"] .theme-icon-dark {
  display: inline;
}

/* ── Filter Bar ── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  padding: 16px;
  background: var(--bg-white, #fff);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.filter-select {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  background: var(--bg-white, #fff);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s;
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary);
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
}

.filter-checkbox input[type="checkbox"] {
  accent-color: var(--primary);
}

/* ── Export Button ── */
.export-btn {
  font-size: 13px;
}

/* ── Dark Mode ── */
[data-theme="dark"] {
  --bg: #1a1a2e;
  --bg-white: #16213e;
  --bg-sidebar: #0f0f23;
  --text: #e0e0e0;
  --text-light: #a0a0a0;
  --border: #2a2a4a;
  --primary: #4659a7;
  --primary-dark: #2c418e;
  --primary-light: #4659a740;
}

[data-theme="dark"] body {
  background: #1a1a2e;
  color: #e0e0e0;
}

[data-theme="dark"] .site-header {
  background: #0f0f23;
  border-bottom-color: #2a2a4a;
}

[data-theme="dark"] .dash-sidebar {
  background: #0f0f23;
  border-right-color: #2a2a4a;
}

[data-theme="dark"] .dash-content {
  background: #1a1a2e;
}

[data-theme="dark"] .dash-nav li a:hover {
  background: #1e1e3a;
}

[data-theme="dark"] .dash-nav li a.active {
  background: #1e1e3a;
}

[data-theme="dark"] .stat-card,
[data-theme="dark"] .course-card,
[data-theme="dark"] .assignment-item,
[data-theme="dark"] .question-card,
[data-theme="dark"] .analytics-card,
[data-theme="dark"] .study-card,
[data-theme="dark"] .report-card,
[data-theme="dark"] .chat-history-item,
[data-theme="dark"] .support-form,
[data-theme="dark"] .faq-item {
  background: #16213e;
  border-color: #2a2a4a;
}

[data-theme="dark"] .filter-bar {
  background: #16213e;
  border-color: #2a2a4a;
}

[data-theme="dark"] .filter-select {
  background: #1a1a2e;
  color: #e0e0e0;
  border-color: #2a2a4a;
}

[data-theme="dark"] .search-input {
  background: #16213e;
  color: #e0e0e0;
  border-color: #2a2a4a;
}

[data-theme="dark"] .question-answer {
  background: #1e1e3a;
}

[data-theme="dark"] .question-ai-answer {
  background: #162040;
}

[data-theme="dark"] .question-notes {
  background: #2a2518;
  border-left-color: #f0c040;
}

[data-theme="dark"] .question-choices li {
  background: #1e1e3a;
  border-color: #2a2a4a;
  color: #e0e0e0;
}

[data-theme="dark"] .question-choices li.choice-correct {
  background: #0d3025;
  border-color: #00B894;
}

[data-theme="dark"] .course-platform {
  background: #1e1e3a;
}

[data-theme="dark"] .tag-badge {
  background: #1e1e3a;
}

[data-theme="dark"] .bar-track {
  background: #2a2a4a;
}

[data-theme="dark"] .focus-item {
  background: rgba(231, 76, 60, 0.1);
  border-color: rgba(231, 76, 60, 0.25);
}

[data-theme="dark"] .struggle-item {
  border-color: #2a2a4a;
}
[data-theme="dark"] .struggle-item:hover {
  background: rgba(70, 89, 167, 0.08);
}

[data-theme="dark"] .recommendations-list li {
  background: rgba(0, 184, 148, 0.1);
}

[data-theme="dark"] .chat-bubble-assistant {
  background: #16213e;
  border-color: #2a2a4a;
  color: #e0e0e0;
}

[data-theme="dark"] .support-form-input,
[data-theme="dark"] .support-form-textarea,
[data-theme="dark"] .support-form-select {
  background: #1a1a2e;
  color: #e0e0e0;
  border-color: #2a2a4a;
}

[data-theme="dark"] .support-success {
  background: rgba(0, 184, 148, 0.15);
  color: #55efc4;
}

[data-theme="dark"] .support-error-msg {
  background: rgba(231, 76, 60, 0.15);
  color: #ef9a9a;
}

[data-theme="dark"] .my-reports-section h2 {
  color: #e0e0e0;
}

[data-theme="dark"] .admin-response {
  background: #162040;
  border-left-color: #4285f4;
}

[data-theme="dark"] .course-card:hover {
  box-shadow: 0 4px 16px rgba(70, 89, 167, 0.2);
}

[data-theme="dark"] .card-actions,
[data-theme="dark"] .question-actions {
  border-top-color: var(--border, #3a3a5a);
}
[data-theme="dark"] .btn-danger {
  background: rgba(225, 112, 85, 0.15);
}

[data-theme="dark"] .logo {
  color: #e0e0e0;
}

/* ── Toast Notifications ── */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  z-index: 10000;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.toast-visible { opacity: 1; transform: translateY(0); }
.toast-success { background: #00B894; }
.toast-error { background: #E74C3C; }
.toast-info { background: #354996; }

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  .chat-msg,
  .chat-stop-btn,
  .bx-thinking-star,
  .bx-processing-ring,
  .bx-thinking-container,
  .bx-stream-line,
  .chat-sidebar-panel,
  .chat-sidebar-backdrop {
    animation: none !important;
    transition: none !important;
  }
  .study-sub-nav-tab::before,
  .study-sub-nav-tab::after,
  .study-action-card::before,
  .study-action-card::after {
    transition-duration: 0s !important;
  }
  .deck-card,
  .fc-visibility-toggle,
  .fc-add-card-btn,
  .fc-card-row,
  .fc-card-table-row,
  .btn-success,
  .btn-danger,
  .search-tab {
    transition: none !important;
  }
  .deck-card:hover,
  .fc-add-card-btn:hover,
  .fc-visibility-toggle:hover {
    transform: none !important;
  }
}

/* ── Update Countdown Bar ── */
.update-countdown-bar {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #FF9800, #F57C00);
  color: white;
  text-align: center;
  padding: 10px 16px;
  font-weight: 500;
  font-size: 14px;
  animation: countdown-slide-in 0.3s ease;
}

.update-countdown-bar.update-countdown-urgent {
  background: linear-gradient(135deg, #E74C3C, #C0392B);
}

@keyframes countdown-slide-in {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ── Updating Overlay ── */
.updating-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  color: white;
  animation: overlay-fade-in 0.5s ease;
}

@keyframes overlay-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.updating-overlay-content {
  text-align: center;
}

.updating-overlay-logo {
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, #354996, #4285F4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

.updating-overlay-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #333;
  border-top-color: #354996;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 24px auto 0;
}

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

/* ── Extension settings banner ── */
.ext-settings-banner {
  color: var(--text-light);
  transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.ext-settings-banner:hover {
  color: #ffffff;
}

.settings-link-highlight {
  color: var(--primary);
  transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.ext-settings-banner:hover .settings-link-highlight {
  color: #ffffff;
}

/* ── Phone Portrait (<=479px) ── */
@media screen and (max-width: 479px) {
  .site-header .container {
    padding: 0 12px;
  }

  .site-header .logo {
    font-size: 18px;
  }

  .dash-content {
    padding: 12px !important;
  }

  .dash-header h1 {
    font-size: 20px;
  }

  .study-sub-nav {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    gap: 0;
  }

  .study-sub-nav-tab {
    padding: 8px 12px;
    font-size: 12px;
    flex-shrink: 0;
  }

  /* Cards go full width */
  .course-grid,
  .deck-grid,
  .item-card-grid {
    grid-template-columns: 1fr !important;
  }

  /* Search input — 16px prevents iOS zoom on focus */
  .search-input {
    font-size: 16px !important;
  }

  /* Search filters stack vertically */
  .search-filters {
    flex-direction: column;
  }
  .search-filters select {
    width: 100%;
  }

  /* Quiz detail question cards */
  .question-detail-card {
    padding: 14px;
  }
  .question-detail-choices {
    padding-left: 0;
  }
  .question-detail-answer,
  .question-detail-explanation,
  .question-detail-steps,
  .question-detail-meta {
    margin-left: 0;
  }

  /* Flashcard study mode */
  #fc-card-container {
    margin: 0 8px;
  }

  /* Import modal */
  .construct-modal,
  [style*="max-width:660px"] {
    max-width: 100% !important;
    margin: 8px !important;
    border-radius: 12px !important;
  }

  /* Settings cards */
  .card {
    max-width: 100% !important;
  }

  /* Header actions wrap */
  .dash-header {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* ── Phone Landscape (480-767px) ── */
@media screen and (max-width: 767px) {
  .course-grid,
  .deck-grid,
  .item-card-grid {
    grid-template-columns: 1fr !important;
  }

  .dash-header {
    flex-wrap: wrap;
    gap: 8px;
  }

  .item-card-actions {
    flex-wrap: wrap;
  }

  /* Chat full width */
  .chat-container {
    padding: 0;
  }
}

/* ── Tablet (768-991px) ── */
@media screen and (max-width: 991px) and (min-width: 480px) {
  .course-grid,
  .item-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Construct workspace — stack panels vertically */
  .construct-workspace {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto;
  }
  .construct-divider {
    display: none;
  }
}

/* ── Header responsive (phone) ── */
@media screen and (max-width: 767px) {
  .header-inner {
    padding: 8px 12px;
  }
  .header-nav {
    display: none; /* hide "Dashboard" link on mobile — redundant */
  }
  .btn-outline.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* ── Practice Test page responsive ── */
@media screen and (max-width: 767px) {
  /* Stack exam mode: question + sidebar vertical */
  [style*="grid-template-columns: 1fr 250px"],
  [style*="grid-template-columns: 1fr 230px"] {
    display: flex !important;
    flex-direction: column !important;
  }
}

/* ── Safe area for notched phones (iPhone X+) ── */
@supports (padding: env(safe-area-inset-bottom)) {
  .dash-sidebar {
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }
  .mobile-bottom-nav {
    padding-bottom: env(safe-area-inset-bottom);
    height: calc(72px + env(safe-area-inset-bottom));
  }
  /* The bottom nav grows by safe-area-inset on notched iPhones, so content
     padding and FAB offset must follow — otherwise the last item scrolls
     UNDER the nav and the FAB sits ON TOP of it. */
  @media (max-width: 768px) {
    .dash-content { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
    .dash-fab { bottom: calc(88px + env(safe-area-inset-bottom)); }
  }
}

/* ── Settings Page Fixes ── */
.card {
  background: var(--card-bg, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 16px;
  padding: 32px;
  max-width: 500px;
  margin-bottom: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: 1.5px solid var(--border, #e2e8f0);
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--card-bg, #fff);
  color: var(--text, #0f172a);
}

.btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-primary {
  background: linear-gradient(135deg, #1e3a5f, #2b5ea7);
  color: #fff;
  border-color: transparent;
}

.btn-primary:hover {
  box-shadow: 0 4px 16px rgba(30, 58, 95, 0.3);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}
