/* ==========================================================================
   Dashboard Styles
   ========================================================================== */

.dashboard-body {
  /* Override main.css variables for Dark Theme */
  --bg-body: #0a1628;
  --bg-section: #0f1c30;
  --bg-card: rgba(16, 30, 54, 0.6);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --border-light: rgba(255, 255, 255, 0.1);
  --border-main: rgba(255, 255, 255, 0.2);
  
  background-color: var(--bg-body);
  background-image: radial-gradient(circle at top right, rgba(0, 180, 216, 0.15), transparent 40%),
                    radial-gradient(circle at bottom left, rgba(124, 58, 237, 0.15), transparent 40%);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.dashboard-body .card {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* --- Auth Overlay --- */
.auth-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-modal {
  width: 100%;
  max-width: 420px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: modalEnter 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  /* Force dark background regardless of main.css .card overrides */
  background: rgba(15, 28, 50, 0.97) !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.05);
  color: #f8fafc !important;
}

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

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input-group label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.input-group input {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.input-group input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.input-group input:focus {
  outline: none;
  border-color: var(--primary, #00d4ff);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

/* Password field wrapper with eye icon */
.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  padding-right: 3rem !important;
}

.password-toggle {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.1rem;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
  user-select: none;
}

.password-toggle:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* Inline field validation */
.field-error {
  font-size: 0.78rem;
  color: #ff5f5f;
  min-height: 1rem;
  display: block;
  margin-top: -0.25rem;
}

.field-hint {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  display: block;
  margin-top: -0.25rem;
}

.input-group input.input--error {
  border-color: #ff5f5f;
  box-shadow: 0 0 0 3px rgba(255, 95, 95, 0.15);
}

.input-group input.input--ok {
  border-color: #00d4a0;
  box-shadow: 0 0 0 3px rgba(0, 212, 160, 0.12);
}

/* Google Sign-In button */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.85rem 1rem;
  background: #fff;
  color: #1f1f1f;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.btn-google:hover {
  background: #f5f5f5;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
}

/* Divider "or" */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

#auth-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

.auth-error {
  color: #ff4d4d;
  font-size: 0.85rem;
  text-align: center;
  min-height: 1.2rem;
}

.auth-switch {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.5rem;
}

.btn-text {
  background: none;
  border: none;
  color: var(--primary, #00d4ff);
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0 0.5rem;
}

.btn-text:hover {
  text-decoration: underline;
}

/* --- Dashboard Layout --- */
.dashboard-container {
  display: flex;
  flex: 1;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 6rem 2rem 2rem; /* Account for fixed header */
  gap: 2rem;
}

/* Sidebar */
.dashboard-sidebar {
  width: 280px;
  flex-shrink: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  height: calc(100vh - 8rem);
  position: sticky;
  top: 6rem;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}

.user-email {
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.sidebar-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.sidebar-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.sidebar-btn.active {
  background: rgba(0, 180, 216, 0.15);
  color: var(--primary);
}

.usage-stats {
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem;
  border-radius: 8px;
}

.usage-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.usage-bar-bg {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.usage-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 3px;
  transition: width 0.5s ease;
}

.usage-text {
  font-size: 0.75rem;
  color: #fff;
  text-align: right;
}

/* Main Content */
.dashboard-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.dashboard-tab {
  display: none;
  animation: fadeIn 0.3s ease;
}

.dashboard-tab.active {
  display: block;
}

.section-header-mini {
  margin-bottom: 2rem;
}

.section-header-mini h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-header-mini p {
  color: var(--text-muted);
}

/* Translator Grid */
.translator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  height: 500px;
}

.translator-pane {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.translator-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
}

.glass-select {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-family: inherit;
  font-weight: 500;
  outline: none;
  cursor: pointer;
}

.glass-select option {
  background: var(--bg-color);
  color: #fff;
}

.translator-pane textarea,
.translated-output {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  padding: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  line-height: 1.5;
  resize: none;
  outline: none;
}

.translator-pane textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.target-pane {
  position: relative;
}

.translated-output {
  overflow-y: auto;
  color: rgba(255, 255, 255, 0.8);
}

/* Loader */
.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Glossary Tab */
.glossary-toolbar {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
}

.add-term-form {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.add-term-form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-family: inherit;
}

.add-term-form span {
  color: var(--text-muted);
}

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

.glass-table th {
  text-align: left;
  padding: 1rem 1.5rem;
  color: var(--text-muted);
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

.glass-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #fff;
}

.btn-delete {
  background: rgba(255, 77, 77, 0.1);
  color: #ff4d4d;
  border: 1px solid rgba(255, 77, 77, 0.2);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-delete:hover {
  background: #ff4d4d;
  color: #fff;
}

/* Responsiveness */
@media (max-width: 1023px) {
  .dashboard-container {
    flex-direction: column;
  }
  
  .dashboard-sidebar {
    width: 100%;
    height: auto;
    position: static;
  }

  .sidebar-nav {
    flex-direction: row;
    overflow-x: auto;
  }

  .translator-grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .translator-pane {
    min-height: 300px;
  }

  .add-term-form {
    flex-direction: column;
    align-items: stretch;
  }
  
  .add-term-form span {
    text-align: center;
    transform: rotate(90deg);
  }
}

/* ===== Voice Tab ===== */

/* Language selector card */
.voice-lang-card {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
}

.voice-lang-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.voice-lang-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.voice-lang-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.voice-lang-select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

.voice-lang-select:focus {
  border-color: var(--primary);
}

.voice-lang-select option {
  background: #1a1a2e;
  color: #fff;
}

.voice-lang-arrow {
  font-size: 1.5rem;
  color: var(--text-muted);
  padding-top: 1.2rem;
  flex-shrink: 0;
}

/* Invite link box */
.voice-invite-box {
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: 10px;
  padding: 1rem;
}

.invite-link-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.invite-link-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
}

/* Transcription */
.transcription-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.voice-transcription-box {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 1rem;
  max-height: 300px;
  overflow-y: auto;
}

.transcription-content p {
  margin: 0.4rem 0;
  line-height: 1.5;
  font-size: 0.9rem;
}

.transcription-user {
  color: rgba(255, 255, 255, 0.85);
}

.transcription-agent {
  color: #00f2fe;
}

.t-icon {
  margin-right: 0.3rem;
}

/* Small button variants */
.btn--sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
}

.btn--xs {
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
}

.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

@media (max-width: 600px) {
  .voice-lang-row {
    flex-direction: column;
    align-items: stretch;
  }
  .voice-lang-arrow {
    text-align: center;
    padding-top: 0;
    transform: rotate(90deg);
  }
}

/* ==========================================================================
   Family Sharing UI Styles
   ========================================================================== */

.family-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
  align-items: start;
}

.family-panel {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
}

.family-panel h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.family-owner-info {
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.family-invite-form .input-group {
  margin-bottom: 1rem;
}

.family-invite-form input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  width: 100%;
}

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

/* Incoming Invitations */
.incoming-invites-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.incoming-invite-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.incoming-invite-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 180, 216, 0.3);
  transform: translateY(-2px);
}

.incoming-invite-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.incoming-invite-actions {
  display: flex;
  gap: 0.5rem;
}

/* Table Responsive wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Button Danger style */
.btn--danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.btn--danger:hover {
  background: #ef4444;
  color: #fff;
}

.text-center {
  text-align: center;
}

.w-full {
  width: 100%;
}

.mt-4 {
  margin-top: 1rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.py-3 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

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

/* Family grid columns */
.family-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ── Badge System ─────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.badge--primary {
  background: rgba(0, 180, 216, 0.15);
  color: #00b4d8;
  border: 1px solid rgba(0, 180, 216, 0.3);
}

.badge--secondary {
  background: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.badge--warning {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.25);
}

.badge--success {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge--sm {
  font-size: 0.68rem;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

/* ── Utility helpers ──────────────────────────────────────────────────────── */
.opacity-50 {
  opacity: 0.5;
}

.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.85rem;
}

.color-secondary {
  color: var(--text-muted);
}

.font-semibold {
  font-weight: 600;
}

/* ── Dual Usage Progress Bars ─────────────────────────────────────────────── */
.usage-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.usage-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.usage-plan-tag {
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(0, 180, 216, 0.12);
  color: var(--teal-light, #0fccd3);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.usage-plan-tag--voice {
  background: rgba(124, 58, 237, 0.15);
  color: #a78bfa;
}

.usage-bar-fill--voice {
  background: linear-gradient(90deg, #7c3aed, #a855f7);
}

/* ── Billing Plan Cards ───────────────────────────────────────────────────── */
.billing-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.billing-plan-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
}

.billing-plan-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.billing-plan-info {
  flex: 1;
}

.billing-plan-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.billing-plan-name {
  font-size: 1.1rem;
  font-weight: 700;
}

/* ==========================================================================
   MEETINGS & AI SECRETARY STYLES (PREMIUM GLASSMORPHISM)
   ========================================================================== */
.meetings-container {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 1.5rem;
  height: calc(100vh - 200px);
  min-height: 550px;
  margin-top: 1rem;
}

.meetings-sidebar {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02) !important;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 16px;
}

.meetings-sidebar-header {
  padding: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.meetings-sidebar-header input {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.meetings-sidebar-header input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 204, 211, 0.2);
  outline: none;
}

.meetings-list {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Custom scrollbar for webkit */
.meetings-list::-webkit-scrollbar,
.meetings-detail::-webkit-scrollbar,
.transcript-messages::-webkit-scrollbar {
  width: 6px;
}

.meetings-list::-webkit-scrollbar-track,
.meetings-detail::-webkit-scrollbar-track,
.transcript-messages::-webkit-scrollbar-track {
  background: transparent;
}

.meetings-list::-webkit-scrollbar-thumb,
.meetings-detail::-webkit-scrollbar-thumb,
.transcript-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.meetings-list::-webkit-scrollbar-thumb:hover,
.meetings-detail::-webkit-scrollbar-thumb:hover,
.transcript-messages::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

.meeting-item {
  position: relative;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.meeting-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(15, 204, 211, 0.3);
  transform: translateY(-2px);
}

.meeting-item.active {
  background: linear-gradient(135deg, rgba(15, 204, 211, 0.1) 0%, rgba(124, 58, 237, 0.05) 100%);
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(15, 204, 211, 0.1);
}

.meeting-item-room {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.meeting-item-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.meeting-item-duration {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text-muted);
}

/* Detail panel */
.meetings-detail {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 !important;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02) !important;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 16px;
}

.meeting-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.15);
}

.meeting-detail-title-area {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.meeting-detail-title-area h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}

.meeting-time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.meeting-actions {
  display: flex;
  gap: 0.75rem;
}

/* Tabs inside details */
.meeting-detail-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.meeting-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.meeting-tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
}

.meeting-tab-btn.active {
  color: #0fccd3;
  background: rgba(15, 204, 211, 0.08);
}

/* Tab content */
.meeting-tab-content {
  display: none;
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.meeting-tab-content.active {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* AI Report section styling */
.report-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.report-section h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0fccd3;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.report-section h4::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(15, 204, 211, 0.2), transparent);
}

.report-block {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 1.25rem;
  border-radius: 12px;
}

/* Markdown styling inside summary */
.markdown-content p {
  margin-bottom: 0.75rem;
}

.markdown-content p:last-child {
  margin-bottom: 0;
}

.markdown-content strong {
  color: #0fccd3;
  font-weight: 600;
}

.markdown-content ul {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
  list-style-type: disc;
}

.markdown-content li {
  margin-bottom: 0.35rem;
}

/* Decisions */
.decisions-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.decisions-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.decisions-list li::before {
  content: '🎯';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.9rem;
}

/* Action Items Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.1);
}

.glass-table th,
.glass-table td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.glass-table th {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: rgba(0, 0, 0, 0.2);
}

.glass-table tr:last-child td {
  border-bottom: none;
}

.glass-table tr:hover td {
  background: rgba(255, 255, 255, 0.01);
}

.task-assignee-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(124, 58, 237, 0.15);
  color: #a78bfa;
  font-size: 0.75rem;
  font-weight: 500;
}

.task-deadline {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Transcript Container */
.transcript-messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-right: 0.5rem;
}

.transcript-bubble {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  max-width: 85%;
  transition: all 0.2s ease;
}

.transcript-bubble:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
}

.transcript-bubble.self {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(15, 204, 211, 0.05) 0%, rgba(15, 204, 211, 0.01) 100%);
  border-color: rgba(15, 204, 211, 0.1);
}

.transcript-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
}

.transcript-speaker {
  font-weight: 700;
  color: var(--text-main);
}

.transcript-bubble.self .transcript-speaker {
  color: #0fccd3;
}

.transcript-lang-badge {
  font-size: 0.65rem;
  padding: 1px 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: var(--text-muted);
}

.transcript-text-container {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.transcript-original {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

.transcript-translation {
  font-size: 0.85rem;
  color: #0fccd3;
  line-height: 1.4;
  border-top: 1px dashed rgba(255, 255, 255, 0.06);
  padding-top: 0.25rem;
  margin-top: 0.25rem;
  font-style: italic;
}

/* Placeholder */
.meetings-detail-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 3rem !important;
  background: rgba(255, 255, 255, 0.01) !important;
  border: 1px dashed rgba(255, 255, 255, 0.05) !important;
  border-radius: 16px;
}

.placeholder-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px rgba(15, 204, 211, 0.2));
  animation: float 4s ease-in-out infinite;
}

.placeholder-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.meetings-detail-placeholder p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 280px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 768px) {
  .meetings-container {
    grid-template-columns: 1fr;
    height: auto;
  }
  .meetings-sidebar {
    height: 300px;
  }
}

/* ==========================================================================
   AI Vocabulary Hub Styles
   ========================================================================== */

/* Sub-tabs Navigation */
.vocab-subtabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  background: rgba(15, 28, 50, 0.5);
  padding: 0.4rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  width: max-content;
}

.subtab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.subtab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.subtab-btn.active {
  color: #ffffff;
  background: linear-gradient(135deg, #00b4d8 0%, #7c3aed 100%);
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.2);
  transform: translateY(-1px);
}

/* Sub-tab Content Toggle */
.subtab-content {
  display: none;
  animation: tabFadeIn 0.4s ease-out forwards;
}

.subtab-content.active {
  display: block;
}

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

/* Vocab Grid Layout */
.vocab-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  height: calc(100vh - 240px);
  min-height: 550px;
}

.vocab-pane {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem !important;
  box-sizing: border-box;
  background: rgba(16, 30, 54, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px;
  overflow: hidden;
}

.pane-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pane-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pane-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Textareas and inputs inside panes */
.vocab-pane textarea {
  flex: 1;
  background: rgba(10, 22, 40, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-main);
  padding: 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.6;
  resize: none;
  transition: all 0.3s ease;
}

.vocab-pane textarea:focus {
  outline: none;
  border-color: #00b4d8;
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
  background: rgba(10, 22, 40, 0.6);
}

.pane-footer {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.pane-footer .glass-input {
  flex: 1;
}

/* Extracted Cards Container */
.extracted-terms-container {
  flex: 1;
  overflow-y: auto;
  padding-right: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.extracted-terms-container::-webkit-scrollbar {
  width: 6px;
}

.extracted-terms-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

/* Term Suggestion Card */
.extracted-term-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: slideInUp 0.3s ease-out forwards;
}

.extracted-term-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 180, 216, 0.3);
  transform: translateY(-2px);
}

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

.term-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.term-words {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.term-source {
  font-size: 1.05rem;
  font-weight: 700;
  color: #00b4d8;
}

.term-arrow {
  color: var(--text-muted);
}

.term-translated {
  font-size: 1.05rem;
  font-weight: 700;
  color: #9d4edd;
}

.term-card-actions {
  display: flex;
  gap: 0.4rem;
}

.btn-card-action {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  padding: 0.35rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-card-action:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-card-action.approve-btn {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.btn-card-action.approve-btn:hover {
  background: rgba(16, 185, 129, 0.25);
}

.btn-card-action.discard-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.term-context-notes {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
  background: rgba(0, 0, 0, 0.15);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border-left: 2px solid rgba(255, 255, 255, 0.15);
}

/* Edit Form inside Suggestion Card */
.term-card-edit-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.term-card-edit-form input,
.term-card-edit-form textarea {
  background: rgba(10, 22, 40, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 6px !important;
  color: #ffffff !important;
  padding: 0.4rem 0.6rem !important;
  font-size: 0.85rem !important;
}

.edit-form-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

/* --- AI Coach Chat Window --- */
.coach-chat-pane {
  flex: 1.3;
}

.coach-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.coach-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00b4d8 0%, #7c3aed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 0 10px rgba(0, 180, 216, 0.3);
}

.coach-status {
  font-size: 0.75rem;
  color: #34d399;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #34d399;
  display: inline-block;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.coach-messages-container {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.coach-messages-container::-webkit-scrollbar {
  width: 6px;
}

.coach-messages-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.message {
  display: flex;
  flex-direction: column;
  max-width: 80%;
  animation: msgFadeIn 0.3s ease-out;
}

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

.message.assistant {
  align-self: flex-start;
}

.message.user {
  align-self: flex-end;
}

.message-content {
  padding: 0.85rem 1.1rem;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.message.assistant .message-content {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom-left-radius: 4px;
  color: var(--text-main);
}

.message.assistant .message-content strong {
  color: #00b4d8;
  text-shadow: 0 0 8px rgba(0, 180, 216, 0.25);
  font-weight: 700;
}

.message.user .message-content {
  background: linear-gradient(135deg, #0077b6 0%, #5e00b8 100%);
  border-bottom-right-radius: 4px;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(94, 0, 184, 0.15);
}

.coach-input-container {
  display: flex;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.coach-input-container .glass-input {
  flex: 1;
}

/* Suggested Card inside chat bubble */
.chat-suggest-box {
  margin-top: 0.75rem;
  background: rgba(0, 180, 216, 0.08);
  border: 1px solid rgba(0, 180, 216, 0.2);
  border-radius: 12px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chat-suggest-box .suggest-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #00b4d8;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0;
}

.chat-suggest-box .suggest-words {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.95rem;
}

.chat-suggest-box .suggest-notes {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.chat-suggest-box .btn-chat-approve {
  align-self: flex-start;
  background: #00b4d8;
  color: #ffffff;
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chat-suggest-box .btn-chat-approve:hover {
  background: #0096c7;
  transform: translateY(-1px);
}

/* Sidebar Session suggestions */
.session-vocab-pane {
  flex: 0.7;
}

.session-vocab-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.session-vocab-list::-webkit-scrollbar {
  width: 6px;
}

.session-vocab-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

/* --- Vocabulary Quiz (3D Flashcards) --- */
.quiz-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem !important;
  max-width: 680px;
  margin: 0 auto;
  background: rgba(16, 30, 54, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px;
  box-sizing: border-box;
}

.quiz-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quiz-progress-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-right: 1.5rem;
}

.quiz-score {
  font-size: 0.9rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.quiz-score strong {
  color: #00b4d8;
  font-size: 1.1rem;
}

.quiz-progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00b4d8 0%, #7c3aed 100%);
  transition: width 0.4s ease;
  width: 0%;
}

.quiz-card-index {
  font-size: 0.85rem;
  color: var(--text-light);
  white-space: nowrap;
}

/* 3D Flashcard styles */
.flashcard-wrapper {
  perspective: 1000px;
  width: 100%;
  height: 280px;
  cursor: pointer;
  margin: 1.5rem 0 2rem;
}

.flashcard {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.flashcard-wrapper:hover .flashcard {
  box-shadow: 0 15px 35px rgba(0, 180, 216, 0.15);
}

.flashcard.flipped {
  transform: rotateY(180deg);
}

.flashcard-face {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  backface-visibility: hidden;
  border-radius: 16px;
  padding: 2.5rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.flashcard-front {
  background: radial-gradient(circle at top right, rgba(0, 180, 216, 0.08), rgba(16, 30, 54, 0.95));
  color: #ffffff;
}

.flashcard-back {
  background: radial-gradient(circle at bottom left, rgba(124, 58, 237, 0.08), rgba(16, 30, 54, 0.95));
  color: #ffffff;
  transform: rotateY(180deg);
}

.card-direction-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.card-text {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 1rem;
  background: linear-gradient(135deg, #ffffff 30%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.flashcard-back .card-text {
  background: linear-gradient(135deg, #00b4d8 0%, #a29bfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-hint {
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 0;
  position: absolute;
  bottom: 1.5rem;
}

.card-context {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 80%;
  margin: 0;
  background: rgba(0, 0, 0, 0.15);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  border-left: 2px solid #7c3aed;
}

/* Quiz Controls */
.quiz-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: fadeIn 0.3s ease-out;
}

.quiz-prompt-question {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

.quiz-actions {
  display: flex;
  gap: 1rem;
  width: 100%;
}

.quiz-actions .btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem !important;
  font-size: 1rem !important;
}

/* Extra utility styles */
.badge {
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.2);
  color: #00b4d8;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 6px;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem;
  height: 100%;
  box-sizing: border-box;
}

.empty-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.empty-state p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 250px;
  margin: 0;
  line-height: 1.5;
}

/* Loader style */
.vocab-pane .loader {
  border: 3px solid rgba(255, 255, 255, 0.05);
  border-top: 3px solid #00b4d8;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 2rem auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


