@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --bg-app: #fcfcfd;
  --bg-sidebar: #ffffff;
  --surface: #ffffff;
  
  --border-subtle: #f1f3f5;
  --border-sidebar: #f1f3f6;
  --border-input: #e9ecef;
  
  --text-main: #111827;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --text-placeholder: #9ca3af;
  
  /* Active tab style */
  --accent-blue: #0284c7;
  --active-tab-bg: #e0f2fe;
  --active-tab-text: #0284c7;
}

body, input, button, select, textarea {
  font-family: var(--font-sans);
}

.fa, .fas, .far, .fal, .fad, .fab, .fa-solid, .fa-regular, .fa-brands {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  background-color: var(--bg-app);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

/* Sidebar Styling matching image */
.app-sidebar {
  width: 240px;
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--border-sidebar);
}

@media (max-width: 767px) {
  .app-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    width: 260px;
    min-width: 260px;
    height: 100vh;
    transform: translateX(-100%);
    transition: transform 0.25s ease-in-out;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  }
  .app-sidebar.mobile-open {
    transform: translateX(0);
  }
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #4b5563;
  transition: all 120ms ease;
  text-align: left;
  border: 1px solid transparent;
}

.sidebar-nav-item:hover {
  background-color: #f8fafc;
  color: #1e293b;
}

.sidebar-nav-item.active {
  background-color: #e0f2fe;
  color: #0284c7;
  font-weight: 600;
}

.sidebar-nav-item.active i {
  color: #0284c7;
}

/* Subtle grid pattern background matching image */
.playground-canvas-bg {
  background-color: #fbfcfd;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Bot card in playground matching image */
.bot-response-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

/* Floating Input bar matching image */
.playground-input-bar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
