/* ============================================================================== */
/* ReadyToGo - Yukti AI Assistant Stylesheet                                      */
/* Clean, Modern Light Aesthetic Matching Reference Design                        */
/* ============================================================================== */

:root {
  --yukti-primary: #2563eb;
  --yukti-primary-hover: #1d4ed8;
  --yukti-primary-light: #eff6ff;
  --yukti-primary-border: #bfdbfe;
  --yukti-accent-blue: #1e3a8a;
  --yukti-bg-window: #ffffff;
  --yukti-bg-input: #f0f7ff;
  --yukti-border-input: #dbeafe;
  --yukti-card-bg: #f0f7ff;
  --yukti-card-border: #dbeafe;
  --yukti-bubble-assistant: #f8fafc;
  --yukti-border-assistant: #e2e8f0;
  --yukti-text-title: #0f172a;
  --yukti-text-body: #1e293b;
  --yukti-text-muted: #64748b;
  --yukti-shadow-launcher: 0 10px 25px -4px rgba(37, 99, 235, 0.25), 0 4px 12px rgba(0, 0, 0, 0.05);
  --yukti-shadow-window: 0 20px 45px -10px rgba(30, 58, 138, 0.18), 0 0 0 1px rgba(226, 232, 240, 0.8);
  --yukti-radius: 24px;
}

/* 1. ROOT CONTAINER */
.yukti-root {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  pointer-events: none;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* 2. COLLAPSED LAUNCHER BUTTON (MATCHING IMAGE 2) */
.yukti-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(219, 234, 254, 0.95);
  box-shadow: var(--yukti-shadow-launcher);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
  touch-action: manipulation;
  pointer-events: auto;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, opacity 0.2s ease;
  animation: yukti-float 4s ease-in-out infinite;
}

.yukti-launcher:active {
  cursor: grabbing;
}

.yukti-launcher.is-dragging {
  animation: none !important;
  cursor: grabbing !important;
  transform: scale(1.08) !important;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.35) !important;
}

.yukti-launcher:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.3);
}

.yukti-launcher-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.yukti-launcher-avatar-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  pointer-events: none;
}

/* Online status dot matching reference (Bottom Right) */
.yukti-status-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #10b981;
  border: 2.5px solid #ffffff;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
  pointer-events: none;
}

/* Tooltip on Launcher (Dark Blue Pill Matching Image 2) */
.yukti-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 50%;
  transform: translateX(50%) translateY(4px);
  background: #1e3a8a;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 12px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 1;
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.35);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.yukti-tooltip-sparkle {
  color: #93c5fd;
  font-size: 0.85rem;
}

.yukti-tooltip-arrow {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #1e3a8a transparent transparent transparent;
}

.yukti-launcher:hover .yukti-tooltip {
  transform: translateX(50%) translateY(-2px);
}

/* 3. EXPANDED FLOATING CHAT WINDOW (MATCHING IMAGE 3) */
.yukti-window {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 390px;
  max-width: calc(100vw - 32px);
  height: 610px;
  max-height: calc(100vh - 48px);
  background: var(--yukti-bg-window);
  border: 1px solid #e2e8f0;
  border-radius: var(--yukti-radius);
  box-shadow: var(--yukti-shadow-window);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 100000;
  pointer-events: auto;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.94) translateY(16px);
  transform-origin: bottom right;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

.yukti-window.is-open {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

/* Header */
.yukti-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
  z-index: 10;
}

.yukti-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.yukti-avatar-wrap {
  position: relative;
  width: 38px;
  height: 38px;
}

.yukti-header-avatar-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #dbeafe;
}

.yukti-avatar-status {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 0 4px rgba(16, 185, 129, 0.6);
}

.yukti-header-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.yukti-header-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--yukti-text-title);
  margin: 0;
  letter-spacing: -0.01em;
}

.yukti-header-tagline {
  font-size: 0.76rem;
  color: var(--yukti-text-muted);
  margin: 2px 0 0 0;
  font-weight: 500;
}

.yukti-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.yukti-hdr-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  z-index: 10;
  transition: all 0.15s ease;
}

.yukti-hdr-btn svg {
  pointer-events: none;
}

.yukti-hdr-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.yukti-btn-close:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
}

/* 4. MESSAGES BODY */
.yukti-messages-wrap {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #ffffff;
  scroll-behavior: smooth;
}

.yukti-messages-wrap::-webkit-scrollbar {
  width: 5px;
}

.yukti-messages-wrap::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.yukti-messages-wrap::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Welcome Section */
.yukti-welcome {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yukti-welcome-bubble {
  background: var(--yukti-card-bg) !important;
  border: 1px solid var(--yukti-card-border) !important;
  color: #1e3a8a !important;
}

.yukti-welcome-lead {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 4px !important;
}

.yukti-welcome-subtext {
  font-size: 0.82rem;
  color: #475569;
  margin: 0 !important;
}

/* 4 Action Cards List Matching Image 3 */
.yukti-prompt-cards-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.yukti-prompt-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #f0f7ff;
  border: 1px solid #dbeafe;
  color: #1e3a8a;
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s ease;
}

.yukti-prompt-card:hover {
  background: #e0f2fe;
  border-color: #bfdbfe;
  transform: translateX(2px);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.yukti-prompt-card-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.yukti-prompt-dot-icon {
  font-size: 0.75rem;
}

.yukti-card-chevron {
  color: #3b82f6;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.yukti-prompt-card:hover .yukti-card-chevron {
  transform: translateX(2px);
}

/* 5. MESSAGE BUBBLES */
.yukti-msg-row {
  display: flex;
  gap: 10px;
  width: 100%;
  animation: yukti-fade-in 0.2s ease;
}

.yukti-msg-row.user {
  justify-content: flex-end;
}

.yukti-msg-row.assistant {
  justify-content: flex-start;
}

.yukti-msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
}

.yukti-bubble-avatar-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.yukti-msg-bubble {
  max-width: 86%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.88rem;
  line-height: 1.6;
  word-break: break-word;
}

.yukti-msg-row.user .yukti-msg-bubble {
  background: #2563eb;
  color: #ffffff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.yukti-msg-row.assistant .yukti-msg-bubble {
  background: var(--yukti-bubble-assistant);
  color: var(--yukti-text-body);
  border: 1px solid var(--yukti-border-assistant);
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Markdown Styling inside Bubbles */
.yukti-msg-bubble p {
  margin: 0 0 10px 0;
}

.yukti-msg-bubble p:last-child {
  margin-bottom: 0;
}

.yukti-msg-bubble h1,
.yukti-msg-bubble h2,
.yukti-msg-bubble h3,
.yukti-msg-bubble h4 {
  color: #0f172a;
  font-weight: 700;
  margin: 12px 0 6px 0;
  line-height: 1.3;
}

.yukti-msg-bubble h1 { font-size: 1.15rem; }
.yukti-msg-bubble h2 { font-size: 1.05rem; }
.yukti-msg-bubble h3 { font-size: 0.95rem; }

.yukti-msg-bubble strong {
  color: #0f172a;
  font-weight: 700;
}

.yukti-msg-row.user .yukti-msg-bubble strong {
  color: #ffffff;
}

.yukti-msg-bubble ul,
.yukti-msg-bubble ol {
  margin: 6px 0 10px 18px;
  padding: 0;
}

.yukti-msg-bubble li {
  margin-bottom: 5px;
}

.yukti-msg-bubble a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.yukti-msg-bubble a:hover {
  color: #1d4ed8;
}

.yukti-msg-bubble blockquote {
  border-left: 3px solid #3b82f6;
  padding: 6px 12px;
  margin: 8px 0;
  background: #eff6ff;
  border-radius: 0 8px 8px 0;
  color: #1e3a8a;
  font-style: italic;
}

/* Code Highlighting Blocks */
.yukti-msg-bubble pre {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 10px 0;
  overflow-x: auto;
  position: relative;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #f8fafc;
}

.yukti-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1e293b;
  padding: 6px 12px;
  border-radius: 8px 8px 0 0;
  margin: -12px -14px 10px -14px;
  border-bottom: 1px solid #334155;
  font-size: 0.72rem;
  color: #cbd5e1;
  font-weight: 600;
}

.yukti-copy-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f1f5f9;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.yukti-copy-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.yukti-copy-btn.copied {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}

.yukti-msg-bubble code:not(pre code) {
  background: #e2e8f0;
  color: #0f172a;
  padding: 2px 5px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82em;
}

.yukti-msg-row.user .yukti-msg-bubble code:not(pre code) {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Assistant Message Actions (TTS / Copy) */
.yukti-msg-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid #e2e8f0;
}

.yukti-action-icon-btn {
  background: none;
  border: none;
  color: #64748b;
  font-size: 0.74rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.yukti-action-icon-btn:hover {
  color: #0f172a;
  background: #e2e8f0;
}

/* Typing Indicator */
.yukti-typing {
  display: flex;
  align-items: center;
  gap: 10px;
  animation: yukti-fade-in 0.2s ease;
}

.yukti-typing-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
}

.yukti-typing-bubble {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 8px 14px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.yukti-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3b82f6;
  animation: yukti-bounce 1.4s infinite ease-in-out both;
}

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

.yukti-typing-text {
  font-size: 0.75rem;
  color: #64748b;
  margin-left: 4px;
}

/* 6. FOLLOW-UP PROMPTS BAR */
.yukti-followups {
  padding: 8px 16px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
}

.yukti-followups::-webkit-scrollbar {
  display: none;
}

.yukti-followup-chip {
  background: #ffffff;
  border: 1px solid #dbeafe;
  color: #1e3a8a;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.yukti-followup-chip:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #2563eb;
  transform: translateY(-1px);
}

/* 7. FOOTER INPUT BAR (MATCHING IMAGE 3) */
.yukti-footer {
  padding: 12px 16px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}

.yukti-chat-form {
  display: flex;
  flex-direction: column;
}

.yukti-input-wrapper {
  display: flex;
  align-items: center;
  background: #f0f7ff;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  padding: 4px 5px 4px 16px;
  gap: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.yukti-input-wrapper:focus-within {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.yukti-textarea {
  flex: 1;
  background: transparent;
  border: none;
  color: #0f172a;
  font-size: 0.88rem;
  font-family: inherit;
  resize: none;
  max-height: 100px;
  outline: none;
  line-height: 1.4;
  padding: 8px 0;
}

.yukti-textarea::placeholder {
  color: #94a3b8;
}

.yukti-input-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.yukti-voice-btn {
  background: none;
  border: none;
  color: #64748b;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.yukti-voice-btn:hover {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
}

.yukti-voice-btn.is-listening {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
  animation: yukti-pulse 1s infinite;
}

/* Solid circular blue send button with paper airplane (Matching Image 3) */
.yukti-send-btn {
  background: #2563eb;
  border: none;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.3);
}

.yukti-send-btn:hover {
  background: #1d4ed8;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.yukti-send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* 8. KEYFRAME ANIMATIONS */
@keyframes yukti-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes yukti-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes yukti-bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

@keyframes yukti-fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 9. MOBILE & RESPONSIVE RULES */
@media (max-width: 768px) {
  .yukti-launcher {
    width: 58px !important;
    height: 58px !important;
    bottom: 20px !important;
    right: 20px !important;
    left: auto !important;
    top: auto !important;
    z-index: 999999 !important;
    touch-action: manipulation !important;
  }

  .yukti-launcher-avatar-img {
    width: 46px !important;
    height: 46px !important;
  }

  .yukti-window {
    position: fixed !important;
    width: 100vw !important;
    height: 100% !important;
    height: 100dvh !important;
    max-width: 100vw !important;
    max-height: 100dvh !important;
    bottom: 0 !important;
    right: 0 !important;
    left: 0 !important;
    top: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    z-index: 1000000 !important;
  }

  .yukti-window.is-open {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .yukti-msg-bubble {
    max-width: 90%;
  }

  .yukti-header {
    padding-top: max(14px, env(safe-area-inset-top));
  }

  .yukti-footer {
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
}

/* 10. MARKDOWN ENHANCEMENTS: TABLES, BADGES, LISTS, ERROR BOX */
.yukti-table-wrap {
  overflow-x: auto;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  max-width: 100%;
}

.yukti-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.813rem;
  text-align: left;
}

.yukti-table th {
  background: #f1f5f9;
  color: #0f172a;
  padding: 8px 12px;
  font-weight: 600;
  border-bottom: 1px solid #cbd5e1;
  white-space: nowrap;
}

.yukti-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
}

.yukti-table tr:nth-child(even) td {
  background: #f8fafc;
}

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

.yukti-msg-bubble ol {
  margin: 8px 0 8px 22px;
  padding: 0;
  list-style-type: decimal;
}

.yukti-msg-bubble ol li {
  margin-bottom: 5px;
  padding-left: 4px;
  line-height: 1.5;
}

.yukti-msg-bubble ul {
  margin: 8px 0 8px 20px;
  padding: 0;
  list-style-type: disc;
}

.yukti-msg-bubble ul li {
  margin-bottom: 5px;
  padding-left: 2px;
  line-height: 1.5;
}

.yukti-pattern-badge,
.yukti-complexity-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  margin: 4px 4px 6px 0;
}

.yukti-complexity-badge {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.yukti-pattern-badge .badge-icon,
.yukti-complexity-badge .badge-icon {
  font-size: 0.85rem;
}

.yukti-hr {
  border: none;
  border-top: 1px dashed #cbd5e1;
  margin: 12px 0;
}

.yukti-error-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 10px 14px;
  color: #991b1b;
  font-size: 0.813rem;
}

.yukti-error-box p {
  margin: 0 0 8px 0;
}

.yukti-retry-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ef4444;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

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

/* 11. VISUAL DIAGRAM CARD (ASCII / UNICODE / ARCHITECTURE TRACES) */
.yukti-diagram-wrap {
  margin: 12px 0;
  border-radius: 10px;
  overflow: hidden;
  background: #090d16;
  border: 1px solid #1e293b;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.yukti-diagram-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0f172a;
  padding: 6px 12px;
  border-bottom: 1px solid #1e293b;
}

.yukti-diagram-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #38bdf8;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.yukti-diagram-code {
  margin: 0 !important;
  padding: 12px 14px !important;
  background: transparent !important;
  border-radius: 0 !important;
  border: none !important;
  overflow-x: auto;
  font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace !important;
  font-size: 0.81rem !important;
  line-height: 1.45 !important;
  color: #e2e8f0 !important;
  white-space: pre !important;
}

.yukti-diagram-code code {
  background: transparent !important;
  color: inherit !important;
  padding: 0 !important;
  font-family: inherit !important;
}

