/* ==========================================================================
   FIXSTER AI: ENTERPRISE FULLSCREEN WORKSPACE (MIJOZ AI & USTO AI)
   Standalone Fullscreen Architecture • Deep Dark Violet Glassmorphism
   Designed for High-End AI Experience (ChatGPT / Claude / Perplexity Style)
   ========================================================================== */

:root {
  --ai-bg-base: #06060b;
  --ai-bg-sidebar: #090711;
  --ai-bg-card: rgba(18, 19, 36, 0.88);
  --ai-bg-input: rgba(14, 12, 26, 0.94);
  --ai-purple-primary: #7c3aed;
  --ai-purple-vivid: #8b5cf6;
  --ai-purple-neon: #a855f7;
  --ai-fuchsia-glow: #d946ef;
  --ai-blue-accent: #3b82f6;
  --ai-border: rgba(139, 92, 246, 0.22);
  --ai-border-focus: rgba(168, 85, 247, 0.55);
  --ai-text-primary: #f8fafc;
  --ai-text-secondary: #94a3b8;
  --ai-text-muted: #64748b;
}

/* ==========================================================================
   FULLSCREEN BODY LOCK & SITE NAV HIDING
   When Fixster AI Workspace is open, suppress only the main website navigation,
   headers, profile modal, and bottom bar.
   ========================================================================== */
body.in-ai-workspace {
  overflow: hidden !important;
  height: 100vh !important;
  height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.in-ai-workspace #main-header,
body.in-ai-workspace .fixster-bottom-nav-wrap,
body.in-ai-workspace .header-profile-menu,
body.in-ai-workspace #fixster-footer,
body.in-ai-workspace > footer,
body.in-ai-workspace .fixster-site-footer,
body.in-ai-workspace .profile-modal-wrap,
body.in-ai-workspace .fixster-floating-btn,
body.in-ai-workspace #mobile-menu-drawer {
  display: none !important;
}

/* ==========================================================================
   ROOT WORKSPACE CONTAINER (100VW x 100VH / 100DVH)
   ========================================================================== */
.fixster-ai-workspace {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100%;
  height: 100dvh;
  z-index: 99999;
  display: flex;
  background: var(--ai-bg-base);
  color: var(--ai-text-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  overflow: hidden;
  box-sizing: border-box;
  transition: height 0.12s ease-out, top 0.12s ease-out;
}

.fixster-ai-workspace.hidden {
  display: none !important;
}

/* ==========================================================================
   LEFT SIDEBAR: HISTORY & CONTROLS (DESKTOP 280PX / MOBILE DRAWER)
   ========================================================================== */
.fixster-sidebar-backdrop {
  display: none;
}

.fixster-ai-sidebar {
  width: 280px;
  min-width: 280px;
  background: var(--ai-bg-sidebar);
  border-right: 1px solid rgba(139, 92, 246, 0.15);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), margin-left 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 50;
  flex-shrink: 0;
}

.fixster-ai-sidebar.is-collapsed {
  margin-left: -280px;
}

/* Sidebar Header */
.fixster-sidebar-header {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.fixster-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.fixster-sidebar-orb {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ai-purple-vivid), var(--ai-fuchsia-glow));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.6);
  flex-shrink: 0;
}

.fixster-sidebar-orb.is-usto {
  background: linear-gradient(135deg, var(--ai-blue-accent), var(--ai-purple-vivid));
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.6);
}

.fixster-sidebar-orb-halo {
  position: absolute;
  inset: -3px;
  border-radius: 14px;
  border: 1.5px solid rgba(168, 85, 247, 0.5);
  animation: fixsterHaloPulse 3s ease-in-out infinite;
  pointer-events: none;
}

.fixster-sidebar-brand-text {
  display: flex;
  flex-direction: column;
}

.fixster-sidebar-name {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.fixster-sidebar-badge {
  font-size: 10px;
  font-weight: 700;
  color: #c4b5fd;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fixster-sidebar-close-btn {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--ai-text-secondary);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.2s;
}

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

/* New Chat Button */
.fixster-sidebar-action {
  padding: 14px 16px 8px;
}

.fixster-new-chat-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--ai-purple-primary), #9333ea);
  border: 1px solid rgba(217, 70, 239, 0.3);
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}

.fixster-new-chat-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
}

/* History Search Input */
.fixster-sidebar-search {
  margin: 6px 16px 10px;
  position: relative;
  display: flex;
  align-items: center;
}

.fixster-sidebar-search i {
  position: absolute;
  left: 12px;
  color: var(--ai-text-muted);
  font-size: 12px;
  pointer-events: none;
}

.fixster-sidebar-search input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 8px 12px 8px 32px;
  color: var(--ai-text-primary);
  font-size: 12px;
  outline: none;
  transition: all 0.2s;
}

.fixster-sidebar-search input:focus {
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.fixster-sidebar-search input::placeholder {
  color: var(--ai-text-muted);
}

/* History List Area */
.fixster-sidebar-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
}

.fixster-sidebar-scroll::-webkit-scrollbar {
  width: 4px;
}

.fixster-sidebar-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.fixster-sidebar-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ai-text-muted);
  padding: 8px 6px 6px;
}

.fixster-sidebar-history-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fixster-history-group-header {
  font-size: 10px;
  font-weight: 700;
  color: #7c3aed;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 8px 8px 4px;
}

.fixster-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  color: #cbd5e1;
  font-size: 13px;
  position: relative;
  overflow: hidden;
}

.fixster-history-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.fixster-history-item.active {
  background: rgba(124, 58, 237, 0.16);
  border-color: rgba(139, 92, 246, 0.4);
  color: #fff;
  font-weight: 600;
}

.fixster-history-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  flex: 1;
}

.fixster-history-item-left i {
  font-size: 12px;
  color: var(--ai-text-muted);
  flex-shrink: 0;
}

.fixster-history-item.active .fixster-history-item-left i {
  color: #c084fc;
}

.fixster-history-item-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12.5px;
}

.fixster-history-item-del {
  background: transparent;
  border: none;
  color: var(--ai-text-muted);
  opacity: 0;
  padding: 4px 6px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 11px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.fixster-history-item:hover .fixster-history-item-del {
  opacity: 1;
}

.fixster-history-item-del:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
}

.fixster-history-empty {
  text-align: center;
  padding: 30px 12px;
  color: var(--ai-text-muted);
  font-size: 12px;
  line-height: 1.5;
}

/* Sidebar Footer */
.fixster-sidebar-footer {
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(6, 6, 11, 0.4);
}

.fixster-sidebar-model-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--ai-text-muted);
}

.fixster-sidebar-role-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.fixster-sidebar-role-switch:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.4);
  color: #fff;
}

/* ==========================================================================
   MAIN CHAT CONTAINER (FLEX-1)
   ========================================================================== */
.fixster-ai-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.07) 0%, transparent 60%), var(--ai-bg-base);
  position: relative;
  overflow: hidden;
}

/* ==========================================================================
   WORKSPACE TOPBAR
   ========================================================================== */
.fixster-workspace-topbar {
  height: 60px;
  min-height: 60px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(139, 92, 246, 0.12);
  background: rgba(9, 7, 17, 0.92);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  z-index: 20;
}

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

.fixster-topbar-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.fixster-topbar-back-btn:hover {
  background: rgba(139, 92, 246, 0.25);
  border-color: rgba(139, 92, 246, 0.4);
  color: #fff;
  transform: translateX(-2px);
}

.fixster-topbar-sidebar-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--ai-text-secondary);
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.fixster-topbar-sidebar-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.fixster-topbar-meta {
  display: flex;
  flex-direction: column;
  margin-left: 4px;
}

.fixster-topbar-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fixster-topbar-title {
  font-size: 15px;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.2;
}

.fixster-role-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: #c4b5fd;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.fixster-role-tag.is-usto {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
  color: #93c5fd;
}

.fixster-ai-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--ai-text-secondary);
}

.fixster-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #94a3b8;
  display: inline-block;
  transition: all 0.3s;
}

.fixster-status-dot.active {
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.fixster-status-dot.inactive {
  background: #f59e0b;
  box-shadow: 0 0 10px #f59e0b;
}

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

.fixster-topbar-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(168, 85, 247, 0.25));
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #e2e8f0;
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.fixster-topbar-action-btn:hover {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.45), rgba(168, 85, 247, 0.45));
  color: #fff;
  border-color: rgba(168, 85, 247, 0.6);
}

/* ==========================================================================
   SCROLLABLE MESSAGES VIEWPORT
   ========================================================================== */
.fixster-messages-viewport {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px 20px 20px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.fixster-messages-viewport::-webkit-scrollbar {
  width: 6px;
}

.fixster-messages-viewport::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.25);
  border-radius: 6px;
}

.fixster-messages-viewport::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 92, 246, 0.45);
}

.fixster-messages-inner {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

/* ==========================================================================
   START SCREEN (HERO + 6 QUICK ACTION CARDS)
   COLLAPSES SMOOTHLY WHEN CONVERSATION BEGINS
   ========================================================================== */
.fixster-start-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 20px;
  transition: opacity 0.25s ease, transform 0.25s ease;
  width: 100%;
}

.fixster-start-screen.is-collapsed {
  display: none !important;
}

.fixster-start-hero {
  text-align: center;
  margin-bottom: 24px;
  max-width: 620px;
}

.fixster-start-orb {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--ai-purple-vivid), var(--ai-fuchsia-glow));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 0 26px rgba(168, 85, 247, 0.65);
  margin-bottom: 14px;
  position: relative;
  animation: fixsterOrbFloat 4s ease-in-out infinite;
}

.fixster-start-orb.is-usto {
  background: linear-gradient(135deg, var(--ai-blue-accent), var(--ai-purple-vivid));
  box-shadow: 0 0 26px rgba(59, 130, 246, 0.65);
}

.fixster-start-halo {
  position: absolute;
  inset: -4px;
  border-radius: 22px;
  border: 1.5px solid rgba(168, 85, 247, 0.4);
  animation: fixsterHaloPulse 3s ease-in-out infinite;
  pointer-events: none;
}

.fixster-start-title {
  font-size: 22px;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}

.fixster-start-subtitle {
  font-size: 13.5px;
  color: var(--ai-text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Quick Action Grid (3x2 Desktop, 1-col Mobile) */
.fixster-start-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 860px;
}

@media (min-width: 960px) {
  .fixster-start-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 580px) {
  .fixster-start-grid {
    grid-template-columns: 1fr;
  }
}

.fixster-quick-card {
  background: rgba(18, 19, 36, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  color: #f8fafc;
}

.fixster-quick-card:hover {
  background: rgba(28, 26, 54, 0.95);
  border-color: rgba(168, 85, 247, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.22);
}

.fixster-quick-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.fixster-quick-card-info {
  display: flex;
  flex-direction: column;
}

.fixster-quick-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.3;
}

.fixster-quick-card-desc {
  font-size: 11.5px;
  color: var(--ai-text-secondary);
  margin-top: 3px;
  line-height: 1.4;
}

/* ==========================================================================
   MESSAGES LIST & BUBBLE STYLING
   ========================================================================== */
.fixster-messages-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.fixster-ai-msg {
  display: flex;
  gap: 12px;
  max-width: 85%;
  animation: apFadeIn 0.22s ease forwards;
}

.fixster-ai-msg.is-user {
  align-self: flex-end;
  flex-direction: row-reverse;
  max-width: 72%;
}

.fixster-ai-msg.is-assistant {
  align-self: flex-start;
  max-width: 88%;
}

.fixster-msg-bubble {
  padding: 14px 18px;
  border-radius: 20px;
  font-size: 15px;
  line-height: 1.6;
  position: relative;
  word-break: break-word;
}

.fixster-ai-msg.is-user .fixster-msg-bubble {
  background: linear-gradient(135deg, #7c3aed, #9333ea);
  color: #ffffff;
  border-radius: 20px 20px 4px 20px;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
}

.fixster-ai-msg.is-assistant .fixster-msg-bubble {
  background: rgba(18, 19, 36, 0.88);
  border: 1px solid rgba(139, 92, 246, 0.22);
  color: #f1f5f9;
  border-radius: 20px 20px 20px 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.fixster-msg-text {
  font-size: 14.5px;
  line-height: 1.6;
}

.fixster-msg-text p {
  margin: 0 0 10px 0;
}

.fixster-msg-text p:last-child {
  margin-bottom: 0;
}

.fixster-msg-text strong {
  color: #fff;
  font-weight: 700;
}

.fixster-msg-text ul, .fixster-msg-text ol {
  padding-left: 20px;
  margin: 8px 0;
}

.fixster-msg-text li {
  margin-bottom: 4px;
}

.fixster-msg-time {
  font-size: 11px;
  color: var(--ai-text-muted);
  margin-top: 4px;
  display: block;
}

/* Assistant Message Action Buttons */
.fixster-msg-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.fixster-msg-action-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  border-radius: 8px;
  padding: 4px 9px;
  font-size: 11px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

.fixster-msg-action-btn:hover {
  background: rgba(139, 92, 246, 0.2);
  color: #fff;
  border-color: rgba(139, 92, 246, 0.4);
}

.fixster-msg-action-btn.active {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.4);
}

/* Clean Error / Retry Card (No Duplicates) */
.fixster-retry-card {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 14px;
  padding: 12px 16px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fixster-retry-info {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fca5a5;
  font-size: 13px;
}

.fixster-retry-btn {
  background: #ef4444;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
  flex-shrink: 0;
}

.fixster-retry-btn:hover {
  background: #dc2626;
}

/* Typing Indicator */
.fixster-typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
}

.fixster-typing-dot {
  width: 7px;
  height: 7px;
  background: #a855f7;
  border-radius: 50%;
  animation: fixsterTyping 1.4s infinite ease-in-out both;
}

.fixster-typing-dot:nth-child(1) { animation-delay: -0.32s; }
.fixster-typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes fixsterTyping {
  0%, 80%, 100% { transform: scale(0); opacity: 0.3; }
  40% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   STICKY FLEX BOTTOM INPUT BAR
   Part of the natural flex column flow at the bottom.
   Always visible, never occluded, smoothly rises with keyboard.
   ========================================================================== */
.fixster-workspace-input-area {
  flex-shrink: 0;
  width: 100%;
  padding: 10px 18px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(9, 7, 17, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(139, 92, 246, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 30;
  box-sizing: border-box;
}

.fixster-input-capsule {
  width: 100%;
  max-width: 900px;
  background: var(--ai-bg-input);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 24px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(139, 92, 246, 0.15);
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.fixster-input-capsule:focus-within {
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.65), 0 0 25px rgba(168, 85, 247, 0.25);
}

.fixster-input-tool-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  font-size: 14px;
}

.fixster-input-tool-btn:hover {
  background: rgba(139, 92, 246, 0.25);
  border-color: rgba(139, 92, 246, 0.5);
  color: #fff;
  transform: translateY(-1px);
}

.fixster-input-tool-btn:active {
  transform: scale(0.92);
}

.fixster-input-tool-btn.is-recording,
.fixster-mic-btn.is-recording {
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
  border-color: #f87171 !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.8), 0 0 20px rgba(239, 68, 68, 0.6) !important;
  animation: fixsterVoicePulse 1.5s infinite cubic-bezier(0.66, 0, 0, 1) !important;
}

.fixster-input-tool-btn.is-processing,
.fixster-mic-btn.is-processing {
  background: linear-gradient(135deg, #a855f7, #7c3aed) !important;
  border-color: #c084fc !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.5) !important;
}

.fixster-workspace-textarea {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #f8fafc;
  font-size: 14.5px;
  line-height: 1.5;
  padding: 6px 8px;
  resize: none;
  max-height: 120px;
  overflow-y: auto;
  font-family: inherit;
  box-sizing: border-box;
}

.fixster-workspace-textarea::placeholder {
  color: var(--ai-text-muted);
}

.fixster-workspace-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
  transition: transform 0.2s, background 0.2s;
  flex-shrink: 0;
  font-size: 14px;
}

.fixster-workspace-send-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #a855f7, #8b5cf6);
}

.fixster-workspace-send-btn:active {
  transform: scale(0.92);
}

.fixster-input-disclaimer {
  font-size: 11px;
  color: var(--ai-text-muted);
  margin-top: 6px;
  text-align: center;
}

/* ==========================================================================
   FLOATING REAL-TIME VOICE EQUALIZER PANEL (WEB AUDIO API DRIVEN)
   ========================================================================== */
.fixster-voice-panel {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(18, 14, 32, 0.95);
  border: 1.5px solid rgba(239, 68, 68, 0.5);
  border-radius: 20px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 25px rgba(239, 68, 68, 0.35);
  backdrop-filter: blur(16px);
  z-index: 50;
  animation: fixsterSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  max-width: 92vw;
}

.fixster-voice-panel.hidden {
  display: none !important;
}

.fixster-voice-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fixster-voice-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444;
  animation: fixsterRecordPulse 1.2s infinite ease-in-out;
}

.fixster-voice-label {
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: -0.2px;
}

.fixster-voice-timer {
  font-size: 12px;
  font-weight: 600;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #c084fc;
  background: rgba(168, 85, 247, 0.15);
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

/* 7 Real-time Audio Waveform Bars */
.fixster-voice-waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5px;
  height: 28px;
  padding: 0 6px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.fixster-voice-waveform .v-bar {
  width: 3.5px;
  min-height: 4px;
  height: 4px;
  border-radius: 3px;
  background: linear-gradient(180deg, #c084fc, #ec4899);
  transition: height 0.05s ease-out;
}

.fixster-voice-stop-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 11px;
  transition: all 0.2s;
}

.fixster-voice-stop-btn:hover {
  background: #ef4444;
  color: #fff;
  transform: scale(1.08);
}

/* ==========================================================================
   IMAGE ATTACHMENT PREVIEW CHIP (WITH COMPRESSION LOADER)
   ========================================================================== */
.fixster-ai-preview-chip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 12px;
  background: rgba(18, 20, 38, 0.95);
  border: 1px solid rgba(139, 92, 246, 0.5);
  border-radius: 14px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  z-index: 10;
  animation: fixsterSlideUp 0.25s ease-out;
}

.fixster-ai-preview-chip.hidden {
  display: none !important;
}

.fixster-ai-preview-loader {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c084fc;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 6px;
}

.fixster-ai-preview-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fixster-ai-preview-chip img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.fixster-ai-preview-info {
  display: flex;
  flex-direction: column;
}

.fixster-ai-preview-name {
  font-size: 12px;
  font-weight: 600;
  color: #f8fafc;
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fixster-ai-preview-sub {
  font-size: 10px;
  color: #a78bfa;
}

.fixster-ai-preview-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.fixster-ai-preview-swap {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #cbd5e1;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 11px;
  transition: all 0.2s;
}

.fixster-ai-preview-swap:hover {
  background: rgba(139, 92, 246, 0.35);
  color: #fff;
  transform: rotate(180deg);
}

.fixster-ai-preview-remove {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 11px;
  transition: all 0.2s;
}

.fixster-ai-preview-remove:hover {
  background: #ef4444;
  color: #fff;
  transform: scale(1.1);
}

@keyframes fixsterRecordPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

/* ==========================================================================
   VOICE RECORDING WAVEFORM & PULSE
   ========================================================================== */
.fixster-waveform-bars {
  display: none;
  align-items: center;
  gap: 2px;
  height: 14px;
}

.fixster-mic-btn.is-recording .fixster-waveform-bars {
  display: inline-flex;
}

.fixster-mic-btn.is-recording i {
  display: none;
}

.fixster-waveform-bars span {
  width: 3px;
  height: 100%;
  background: #fff;
  border-radius: 2px;
  animation: fixsterWave 0.8s ease-in-out infinite alternate;
}

.fixster-waveform-bars span:nth-child(2) { animation-delay: 0.2s; height: 70%; }
.fixster-waveform-bars span:nth-child(3) { animation-delay: 0.4s; height: 100%; }

@keyframes fixsterWave {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

@keyframes fixsterVoicePulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.8), 0 0 15px rgba(239, 68, 68, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(239, 68, 68, 0), 0 0 25px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0), 0 0 0 0 rgba(239, 68, 68, 0); }
}

@keyframes fixsterOrbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.03); }
}

@keyframes fixsterHaloPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.12); opacity: 0.15; }
}

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

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

.fixster-typewriter-cursor {
  display: inline-block;
  width: 6px;
  height: 14px;
  background: #a855f7;
  margin-left: 2px;
  vertical-align: middle;
  animation: fixsterCursorBlink 0.7s infinite;
}

@keyframes fixsterCursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ==========================================================================
   STRUCTURED CARDS (WEATHER, DATE, ORDERS, VISION, MASTERS)
   ========================================================================== */
.fixster-card-box {
  margin-top: 12px;
  background: rgba(15, 17, 34, 0.95);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  padding: 16px;
}

/* Weather Card */
.fixster-weather-card {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(15, 23, 42, 0.85));
  border: 1px solid rgba(56, 189, 248, 0.4);
}
.fixster-weather-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.fixster-weather-city {
  font-size: 15px;
  font-weight: 800;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 6px;
}
.fixster-weather-temp {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
}
.fixster-weather-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #cbd5e1;
}
.fixster-weather-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
}
.fixster-weather-badge.is-good {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
}
.fixster-weather-badge.is-bad {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

/* Date / Time Card */
.fixster-date-card {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(15, 23, 42, 0.85));
  border: 1px solid rgba(168, 85, 247, 0.4);
}
.fixster-date-time {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.05em;
}
.fixster-date-sub {
  font-size: 13px;
  font-weight: 600;
  color: #c084fc;
  margin-top: 4px;
}
.fixster-date-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  color: #94a3b8;
}

/* Order Status Card */
.fixster-order-status-card {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(15, 23, 42, 0.85));
  border: 1px solid rgba(34, 197, 94, 0.4);
}

/* Safety Card */
.fixster-safety-card {
  border-color: rgba(239, 68, 68, 0.6);
  background: rgba(40, 15, 20, 0.9);
}
.fixster-safety-title {
  color: #ef4444;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.fixster-safety-list {
  padding-left: 20px;
  margin: 0;
  font-size: 12px;
  color: #fca5a5;
  line-height: 1.6;
}

/* Masters Recommendation Card */
.fixster-master-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.fixster-master-item:last-child {
  border-bottom: none;
}
.fixster-master-info h4 {
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}
.fixster-master-info p {
  font-size: 11px;
  color: #94a3b8;
  margin: 2px 0 0;
}
.fixster-card-cta {
  padding: 6px 12px;
  border-radius: 8px;
  background: #8b5cf6;
  color: #fff;
  border: none;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.fixster-card-cta:hover {
  background: #7c3aed;
}

/* Order Draft Card */
.fixster-order-draft-card {
  border-color: rgba(16, 185, 129, 0.4);
}
.fixster-draft-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 4px 0;
}
.fixster-draft-label {
  color: #94a3b8;
}
.fixster-draft-val {
  color: #f8fafc;
  font-weight: 600;
}

/* Client Reply Options (For Usto) */
.fixster-reply-opt {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
  margin-top: 8px;
}
.fixster-reply-opt-title {
  font-size: 12px;
  font-weight: 700;
  color: #c084fc;
  margin-bottom: 4px;
}
.fixster-reply-opt-text {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.4;
  margin-bottom: 8px;
}
.fixster-reply-actions {
  display: flex;
  gap: 8px;
}
.fixster-btn-copy {
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: none;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.fixster-btn-copy:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   RESPONSIVE LAYOUT & MOBILE DRAWER (< 768PX)
   Virtual Keyboard Safe Layout
   ========================================================================== */
@media (max-width: 768px) {
  .fixster-sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 99998;
  }
  .fixster-sidebar-backdrop.hidden {
    display: none !important;
  }

  .fixster-ai-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 300px;
    max-width: 85vw;
    z-index: 100000;
    transform: translateX(-100%);
    margin-left: 0 !important;
    box-shadow: none;
  }

  .fixster-ai-sidebar.is-open {
    transform: translateX(0);
    box-shadow: 10px 0 50px rgba(0, 0, 0, 0.9);
  }

  .fixster-sidebar-close-btn {
    display: flex;
  }

  .fixster-workspace-topbar {
    padding: 0 10px;
    height: 52px;
    min-height: 52px;
  }

  .fixster-topbar-left {
    gap: 8px;
  }

  .fixster-topbar-back-btn {
    padding: 6px 10px;
    font-size: 12px;
  }

  .fixster-topbar-sidebar-toggle {
    padding: 6px 10px;
    font-size: 12px;
  }

  .fixster-topbar-title {
    font-size: 14px;
  }

  .fixster-messages-viewport {
    padding: 12px 10px 12px;
  }

  .fixster-ai-msg {
    max-width: 90%;
  }

  .fixster-ai-msg.is-user {
    max-width: 84%;
  }

  .fixster-msg-bubble {
    font-size: 14px;
    padding: 11px 14px;
  }

  .fixster-workspace-input-area {
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  }

  .fixster-input-capsule {
    border-radius: 20px;
    padding: 5px 8px;
    gap: 6px;
  }

  .fixster-input-tool-btn {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  .fixster-workspace-textarea {
    font-size: 14px;
    padding: 4px 6px;
  }

  .fixster-workspace-send-btn {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .fixster-start-hero {
    margin-bottom: 16px;
  }

  .fixster-start-orb {
    width: 46px;
    height: 46px;
    font-size: 20px;
    margin-bottom: 10px;
  }

  .fixster-start-title {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .fixster-start-subtitle {
    font-size: 12.5px;
  }

  .fixster-quick-card {
    padding: 10px 12px;
    gap: 10px;
  }

  .fixster-quick-card-icon {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .fixster-quick-card-title {
    font-size: 12.5px;
  }

  .fixster-quick-card-desc {
    font-size: 10.5px;
  }
}

/* ==========================================================================
   VOICE LANGUAGE BADGE & ACTION CHIPS
   ========================================================================== */
.fixster-voice-lang-btn {
  background: rgba(168, 85, 247, 0.18);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #e9d5ff;
  border-radius: 9999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  transition: all 0.2s ease;
}
.fixster-voice-lang-btn:hover {
  background: rgba(168, 85, 247, 0.35);
  border-color: #a855f7;
}

.fixster-quick-chip {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #f3e8ff;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}
.fixster-quick-chip:hover {
  background: rgba(168, 85, 247, 0.25);
  border-color: #c084fc;
  transform: translateY(-1px);
}

/* ==========================================================================
   AI SETTINGS & API KEY MODAL
   ========================================================================== */
.fixster-ai-settings-modal {
  position: fixed;
  inset: 0;
  z-index: 100050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.fixster-ai-settings-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
}
.fixster-ai-settings-dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #0f0b1a;
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(168, 85, 247, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.fixster-ai-settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.fixster-ai-settings-body {
  padding: 20px;
}
.fixster-settings-status-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 14px;
}
.fixster-settings-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 10px;
  padding: 10px 40px 10px 14px;
  font-size: 13px;
  color: #fff;
  outline: none;
  font-family: monospace;
  transition: border-color 0.2s;
}
.fixster-settings-input:focus {
  border-color: #a855f7;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.3);
}
.fixster-settings-key-eye {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px;
}
.fixster-settings-key-eye:hover {
  color: #e5e7eb;
}
.fixster-lang-select-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d1d5db;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.fixster-lang-select-btn.active {
  background: rgba(168, 85, 247, 0.2);
  border-color: #a855f7;
  color: #f3e8ff;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.25);
}
.fixster-ai-settings-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.fixster-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e5e7eb;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.fixster-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}
.fixster-btn-primary {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  border: none;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35);
  transition: all 0.2s ease;
}
.fixster-btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

