/* ==========================================================================
   LANGUAGE TOOL - INTERACTIVE CLASS BOARD (CORE_Template Branded Studio Layout)
   Andymcdreamy.com | Corporate Training & Digital Solutions
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #f1f5f9;
  background-image:
    radial-gradient(circle at 15% 15%, rgba(0, 139, 145, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(6, 182, 212, 0.10) 0%, transparent 45%);
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
}

.app-shell {
  display: grid;
  grid-template-rows: 68px 1fr 56px;
  width: 100vw;
  height: 100vh;
}

/* ==========================================================================
   1. TOP BAR (CORE_Template Glassmorphic Light Header)
   ========================================================================== */
.top-bar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #cbd5e1;
  color: #0f172a;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  z-index: 20;
}

.brand-box {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 139, 145, 0.25));
}

.brand-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-pill {
  font-family: 'Outfit', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(0, 139, 145, 0.12);
  color: #008B91;
  border: 1px solid rgba(0, 139, 145, 0.28);
}

.brand-sub {
  font-size: 11.5px;
  color: #475569;
  font-weight: 500;
}

/* Mode Selector (+ / - / ?) */
.mode-selector-group {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #f8fafc;
  padding: 5px 8px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
}

.mode-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  padding: 5px 11px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}

.mode-btn:hover {
  background-color: #f0fdfa;
  border-color: #008B91;
}

.mode-badge {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 800;
}

.mode-btn.pos .mode-badge { background-color: #10b981; color: #ffffff; }
.mode-btn.neg .mode-badge { background-color: #f43f5e; color: #ffffff; }
.mode-btn.int .mode-badge { background-color: #f59e0b; color: #ffffff; }

.mode-btn.pos.active {
  background-color: #ecfdf5;
  color: #065f46;
  border-color: #10b981;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.22);
}

.mode-btn.neg.active {
  background-color: #fff1f2;
  color: #9f1239;
  border-color: #f43f5e;
  box-shadow: 0 2px 10px rgba(244, 63, 94, 0.22);
}

.mode-btn.int.active {
  background-color: #fffbeb;
  color: #92400e;
  border-color: #f59e0b;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.22);
}

.mode-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.mode-text strong {
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
}

.mode-text small {
  font-size: 10px;
  color: #64748b;
}

.insert-formula-btn {
  background: linear-gradient(135deg, #008B91 0%, #26a69a 55%, #06b6d4 100%);
  color: #ffffff;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  padding: 9px 14px;
  box-shadow: 0 3px 10px rgba(0, 139, 145, 0.25);
}

.insert-formula-btn:hover {
  background: linear-gradient(135deg, #006e73 0%, #008B91 55%, #0891b2 100%);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Editor Toolbar */
.editor-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tool-group {
  display: flex;
  align-items: center;
  gap: 4px;
  background-color: #f8fafc;
  padding: 4px 6px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
}

.tool-btn {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 6px;
  background-color: transparent;
  color: #334155;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.tool-btn:hover {
  background-color: #e2e8f0;
  color: #008B91;
}

.tool-btn.danger:hover {
  background-color: #e11d48;
  color: #ffffff;
}

.font-size-indicator {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #008B91;
  min-width: 34px;
  text-align: center;
}

.color-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px #cbd5e1;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.color-swatch:hover {
  transform: scale(1.18);
}

.color-swatch.teal { background-color: #0d9488; }
.color-swatch.emerald { background-color: #059669; }
.color-swatch.rose { background-color: #e11d48; }
.color-swatch.amber { background-color: #d97706; }
.color-swatch.slate { background-color: #1e293b; }

/* ==========================================================================
   2. WORKSPACE GRID (Left Panel + Center Board + Right Panel)
   ========================================================================== */
.workspace-grid {
  display: grid;
  grid-template-columns: 350px 1fr 360px;
  gap: 12px;
  padding: 12px;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

/* Side Panels Shared Styles */
.side-panel {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.panel-header {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(240, 253, 250, 0.90) 65%, rgba(0, 139, 145, 0.16) 100%),
    url('images/ai-background2.jpg') center right / cover no-repeat;
  border-bottom: 1.5px solid rgba(0, 139, 145, 0.35);
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.panel-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 7px;
}

.panel-header h2 i {
  color: #008B91;
}

.panel-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  background-color: rgba(0, 139, 145, 0.12);
  color: #008B91;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid rgba(0, 139, 145, 0.28);
}

/* LEFT PANEL: Unit Selector & Sentences */
.unit-selector-box {
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
  background-color: #f8fafc;
}

.input-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0f766e;
  margin-bottom: 5px;
}

.unit-select {
  width: 100%;
  padding: 8px 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f766e;
  background-color: #ffffff;
  border: 2px solid #0d9488;
  border-radius: 8px;
  cursor: pointer;
}

.unit-summary-card {
  margin: 10px 12px 6px 12px;
  padding: 10px 12px;
  background-color: #f0fdfa;
  border: 1px solid #99f6e4;
  border-left: 4px solid #0d9488;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.unit-summary-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.unit-aux-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  background-color: #0d9488;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
}

.unit-page-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #0f766e;
  background-color: #ccfbf1;
  padding: 2px 7px;
  border-radius: 4px;
}

.unit-purpose-text {
  font-size: 12px;
  color: #334155;
  line-height: 1.38;
}

.unit-recipe-pill {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #0f766e;
  background-color: #ffffff;
  border: 1px dashed #5eead4;
  padding: 5px 8px;
  border-radius: 6px;
  text-align: center;
}

/* Sentence Filter Tabs */
.sentence-filter-bar {
  padding: 6px 12px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.filter-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 5px;
}

.sentence-filter-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.s-tab {
  padding: 5px 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background-color: #f8fafc;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}

.s-tab:hover {
  background-color: #f0fdfa;
  color: #0f766e;
}

.s-tab.active {
  background-color: #0d9488;
  color: #ffffff;
  border-color: #0d9488;
}

.s-tab.pos.active { background-color: #059669; border-color: #059669; }
.s-tab.neg.active { background-color: #e11d48; border-color: #e11d48; }
.s-tab.int.active { background-color: #d97706; border-color: #d97706; }

/* Sentences Scrollable List */
.sentences-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sentence-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #0d9488;
  border-radius: 8px;
  padding: 9px 11px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.sentence-card:hover {
  background-color: #f0fdfa;
  border-color: #5eead4;
  transform: translateX(2px);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.1);
}

.sentence-card.type-pos { border-left-color: #10b981; }
.sentence-card.type-neg { border-left-color: #f43f5e; }
.sentence-card.type-int { border-left-color: #f59e0b; }

.sentence-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.s-type-pill {
  font-family: 'Outfit', sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}

.s-type-pill.pos { background-color: #d1fae5; color: #065f46; }
.s-type-pill.neg { background-color: #ffe4e6; color: #9f1239; }
.s-type-pill.int { background-color: #fef3c7; color: #92400e; }

.s-context-tag {
  font-size: 10.5px;
  font-weight: 600;
  color: #0f766e;
  background-color: #f0fdfa;
  padding: 1px 6px;
  border-radius: 4px;
}

.s-en {
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.35;
}

.s-en u {
  color: #0d9488;
  font-weight: 800;
  text-decoration-thickness: 2px;
}

.s-es {
  font-size: 11.5px;
  color: #64748b;
}

/* ==========================================================================
   CENTER STAGE: INTERACTIVE BOARD
   ========================================================================== */
.center-board-stage {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background-color: #ffffff;
  border: 2px solid #0d9488;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(15, 118, 110, 0.12);
}

.board-stage-header {
  background-color: #f0fdfa;
  border-bottom: 1px solid #99f6e4;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
}

.board-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
}

.board-tab {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 8px;
  border: 1px solid #99f6e4;
  background-color: #ffffff;
  color: #0f766e;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.board-tab:hover {
  background-color: #ccfbf1;
}

.board-tab.active {
  background-color: #0d9488;
  color: #ffffff;
  border-color: #0d9488;
}

.board-quick-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stage-action-btn {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 7px;
  border: 1px solid #5eead4;
  background-color: #ccfbf1;
  color: #0f766e;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
}

.stage-action-btn:hover {
  background-color: #0d9488;
  color: #ffffff;
  border-color: #0d9488;
}

/* Live Recipe Banner */
.live-recipe-banner {
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 2px solid #5eead4;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.live-recipe-banner.pos {
  background-color: #ecfdf5;
  border-bottom-color: #34d399;
}

.live-recipe-banner.neg {
  background-color: #fff1f2;
  border-bottom-color: #fb7185;
}

.live-recipe-banner.int {
  background-color: #fffbeb;
  border-bottom-color: #fbbf24;
}

.recipe-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.recipe-mode-pill {
  font-family: 'Outfit', sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  background-color: #059669;
  color: #ffffff;
  letter-spacing: 0.04em;
}

.live-recipe-banner.neg .recipe-mode-pill { background-color: #e11d48; }
.live-recipe-banner.int .recipe-mode-pill { background-color: #d97706; }

.recipe-structure {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #0f766e;
}

.live-recipe-banner.neg .recipe-structure { color: #9f1239; }
.live-recipe-banner.int .recipe-structure { color: #92400e; }

.recipe-hint {
  font-size: 11.5px;
  color: #475569;
  font-weight: 500;
}

/* Editable Board Canvas */
.board-canvas-wrapper {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  background-color: #ffffff;
  background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
  background-size: 22px 22px;
}

.board-canvas-wrapper.dark-board {
  background-color: #0f172a;
  background-image: radial-gradient(#334155 1px, transparent 1px);
}

.board-canvas {
  width: 100%;
  height: 100%;
  padding: 24px 28px;
  overflow-y: auto;
  outline: none;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 24px;
  line-height: 1.55;
  color: #1e293b;
}

.board-canvas-wrapper.dark-board .board-canvas {
  color: #f8fafc;
}

.board-canvas u {
  color: #0d9488;
  font-weight: 800;
  text-decoration-thickness: 2.5px;
  text-underline-offset: 4px;
}

.board-canvas-wrapper.dark-board .board-canvas u {
  color: #2dd4bf;
}

/* Inserted Blocks Inside Board */
.board-line-card {
  margin: 10px 0;
  padding: 12px 16px;
  border-radius: 10px;
  border-left: 6px solid #0d9488;
  background-color: rgba(240, 253, 250, 0.9);
  border-top: 1px solid #99f6e4;
  border-right: 1px solid #99f6e4;
  border-bottom: 1px solid #99f6e4;
}

.board-canvas-wrapper.dark-board .board-line-card {
  background-color: rgba(15, 118, 110, 0.2);
  border-color: #115e59;
  border-left-color: #2dd4bf;
}

.board-line-card.pos { border-left-color: #10b981; }
.board-line-card.neg { border-left-color: #f43f5e; background-color: rgba(255, 241, 242, 0.85); }
.board-line-card.int { border-left-color: #f59e0b; background-color: rgba(255, 251, 235, 0.85); }

.board-canvas-wrapper.dark-board .board-line-card.neg { background-color: rgba(159, 18, 57, 0.22); }
.board-canvas-wrapper.dark-board .board-line-card.int { background-color: rgba(146, 64, 14, 0.22); }

.board-sub-es {
  display: block;
  font-size: 0.68em;
  color: #64748b;
  font-weight: 500;
  margin-top: 2px;
}

.board-canvas-wrapper.dark-board .board-sub-es {
  color: #94a3b8;
}

.board-slot-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 0.82em;
  background-color: #ffffff;
  border: 2px solid #0d9488;
  border-radius: 8px;
  overflow: hidden;
}

.board-canvas-wrapper.dark-board .board-slot-table {
  background-color: #1e293b;
}

.board-slot-table th {
  background-color: #ccfbf1;
  color: #0f766e;
  padding: 8px 12px;
  border-right: 1px solid #5eead4;
  border-bottom: 2px solid #0d9488;
  text-align: center;
}

.board-slot-table td {
  padding: 12px;
  border-right: 1px dashed #99f6e4;
  text-align: center;
  font-weight: 700;
}

/* Sentence Builder Strip at Bottom of Center Stage */
.sentence-builder-bar {
  background-color: #f0fdfa;
  border-top: 2px solid #99f6e4;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.builder-label {
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: #0f766e;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}

.builder-input {
  padding: 7px 10px;
  border: 1px solid #5eead4;
  border-radius: 7px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  background-color: #ffffff;
}

.builder-input.subj { width: 150px; }
.builder-input.aux { width: 145px; border-color: #0d9488; background-color: #e6fffa; }
.builder-input.comp { flex: 1; }

.builder-send-btn {
  background-color: #0d9488;
  color: #ffffff;
  border: none;
  padding: 8px 14px;
  border-radius: 7px;
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.builder-send-btn:hover {
  background-color: #0f766e;
}

/* ==========================================================================
   RIGHT PANEL: VISUAL AIDS
   ========================================================================== */
.aid-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  padding: 6px 8px;
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.aid-tab {
  padding: 6px 4px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background-color: #ffffff;
  color: #475569;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transition: all 0.15s ease;
}

.aid-tab i {
  font-size: 13px;
  color: #0d9488;
}

.aid-tab.active {
  background-color: #0d9488;
  color: #ffffff;
  border-color: #0d9488;
}

.aid-tab.active i {
  color: #ffffff;
}

.aid-content-area {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 10px 12px;
}

.aid-pane {
  display: none;
  flex-direction: column;
  gap: 10px;
}

.aid-pane.active {
  display: flex;
}

.aid-flow-mini {
  background: linear-gradient(90deg, #f0fdfa, #ccfbf1, #f0fdfa);
  border: 1px dashed #5eead4;
  border-radius: 8px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: #0f766e;
}

.apple-pill {
  background-color: #0d9488;
  color: #ffffff;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
}

.aid-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #0f766e;
  border-bottom: 1px solid #ccfbf1;
  padding-bottom: 3px;
  margin-top: 2px;
}

.chip-grid {
  display: grid;
  gap: 6px;
}

.chip-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.chip-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.chip-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.insert-chip {
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid #99f6e4;
  background-color: #f0fdfa;
  color: #0f766e;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  transition: all 0.12s ease;
}

.insert-chip small {
  font-family: 'Inter', sans-serif;
  font-size: 9.5px;
  font-weight: 500;
  color: #64748b;
}

.insert-chip:hover {
  background-color: #0d9488;
  color: #ffffff;
  border-color: #0d9488;
  transform: translateY(-1px);
}

.insert-chip:hover small {
  color: #ccfbf1;
}

/* Verbs Mini List */
.aid-search-input {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid #5eead4;
  border-radius: 7px;
  font-size: 12.5px;
  outline: none;
}

.verbs-mini-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.verb-row-card {
  background-color: #ffffff;
  border: 1px solid #ccfbf1;
  border-radius: 7px;
  padding: 7px 9px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.verb-row-card.aux-verb {
  background-color: #f0fdfa;
  border-left: 3px solid #0d9488;
}

.verb-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.verb-es {
  font-weight: 700;
  color: #0f766e;
}

.verb-type-badge {
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  background-color: #ccfbf1;
  color: #0f766e;
}

.verb-forms-btns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.v-form-btn {
  padding: 4px 4px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid #99f6e4;
  border-radius: 4px;
  background-color: #ffffff;
  color: #1e293b;
  cursor: pointer;
  text-align: center;
  transition: all 0.12s ease;
}

.v-form-btn small {
  display: block;
  font-size: 8.5px;
  color: #64748b;
}

.v-form-btn:hover {
  background-color: #0d9488;
  color: #ffffff;
  border-color: #0d9488;
}

.v-form-btn:hover small {
  color: #ccfbf1;
}

/* Pyramid & Bottle Aids */
.mini-pyramid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.pyr-row {
  border: none;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.12s ease;
}

.pyr-row:hover {
  transform: scale(1.02);
}

.pyr-row strong {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
}

.pyr-row span {
  font-size: 10.5px;
  opacity: 0.95;
}

.pyr-in { width: 100%; background: linear-gradient(135deg, #0f766e, #0d9488); }
.pyr-on { width: 84%; background: linear-gradient(135deg, #0d9488, #14b8a6); }
.pyr-at { width: 68%; background: linear-gradient(135deg, #14b8a6, #2dd4bf); color: #042f2e; }

.mini-bottle-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bottle-chip {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #99f6e4;
  background-color: #f0fdfa;
  color: #0f766e;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.bottle-chip span {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  background-color: #0d9488;
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
  min-width: 42px;
  text-align: center;
}

.bottle-chip:hover {
  background-color: #ccfbf1;
}

/* Pronunciation Cards */
.pron-aid-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pron-aid-card {
  background-color: #ffffff;
  border: 1px solid #99f6e4;
  border-left: 4px solid #0d9488;
  border-radius: 8px;
  padding: 9px 11px;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pron-aid-card:hover {
  background-color: #f0fdfa;
  transform: translateX(2px);
}

.pron-aid-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  color: #0f766e;
  font-size: 13px;
}

.p-badge {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  background-color: #ccfbf1;
  color: #0f766e;
  padding: 2px 8px;
  border-radius: 5px;
}

.pron-aid-card p {
  font-size: 11.5px;
  color: #475569;
}

/* ==========================================================================
   3. BOTTOM DOCK: Centered Auxiliary & Modal Verb Conjugation Selectors
   ========================================================================== */
.bottom-dock {
  background-color: #ffffff;
  border-top: 2px solid #99f6e4;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  overflow-x: auto;
  z-index: 20;
}

.dock-verb-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.dock-verb-label {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #0f766e;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.dock-verb-select {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1.5px solid #0d9488;
  background-color: #f0fdfa;
  color: #0f766e;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  min-width: 170px;
  transition: all 0.15s ease;
}

.dock-verb-select:hover,
.dock-verb-select:focus {
  background-color: #ccfbf1;
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

