/* FYIsoft DataStream API Landing Page Styles */
/* Matching fyisoft.com brand design */

/* CSS Variables for FYIsoft Brand Colors */
:root {
  --fyi-green: #80C936;
  --fyi-dark-gray: #2F2F2F;
  --fyi-light-gray: #F7F7F7;
  --fyi-border-gray: #EBEBEB;
  --fyi-text-gray: #6b6b6b;
  --fyi-white: #FFFFFF;
  --fyi-error: #E53E3E;
  --fyi-success: #38A169;
  --fyi-warning: #D69E2E;
  --sidebar-width: 280px;
  --header-height: 70px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fyi-dark-gray);
  background-color: var(--fyi-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--fyi-dark-gray);
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--fyi-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #6ba82b;
}

/* Header Styles */
.header {
  background: var(--fyi-white);
  border-bottom: 1px solid var(--fyi-border-gray);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  height: 40px;
  width: auto;
}

.brand-text h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: var(--fyi-dark-gray);
}

.version {
  font-size: 0.8rem;
  color: var(--fyi-text-gray);
  background: var(--fyi-light-gray);
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  margin-left: 0.5rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-nav a:not(.btn-primary) {
  color: var(--fyi-dark-gray);
  font-weight: 400;
  text-decoration: none;
  transition: color 0.3s ease;
}

.header-nav a:not(.btn-primary):hover {
  color: var(--fyi-green);
}

/* Button Styles */
.btn-primary, .btn-secondary {
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--fyi-green);
  color: var(--fyi-white);
  border-color: var(--fyi-green);
}

.btn-primary:hover {
  background: #6ba82b;
  border-color: #6ba82b;
  color: var(--fyi-white);
}

.btn-secondary {
  background: transparent;
  color: var(--fyi-green);
  border-color: var(--fyi-green);
}

.btn-secondary:hover {
  background: var(--fyi-green);
  color: var(--fyi-white);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--fyi-dark-gray);
  margin: 3px 0;
  transition: 0.3s;
}

/* Main Layout */
.layout {
  display: flex;
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
}

/* Sidebar Navigation */
.sidebar {
  width: var(--sidebar-width);
  background: var(--fyi-light-gray);
  border-right: 1px solid var(--fyi-border-gray);
  overflow-y: auto;
  position: fixed;
  height: calc(100vh - var(--header-height));
  top: var(--header-height);
  left: 0;
}

.sidebar-content {
  padding: 2rem 0;
}

.sidebar-section {
  margin-bottom: 2rem;
}

.sidebar-section h3 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--fyi-text-gray);
  margin: 0 1.5rem 0.75rem;
}

.sidebar-section ul {
  list-style: none;
}

.sidebar-section li {
  margin: 0;
}

.nav-link {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--fyi-dark-gray);
  text-decoration: none;
  font-weight: 400;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.nav-link:hover {
  background: rgba(128, 201, 54, 0.1);
  color: var(--fyi-green);
  border-left-color: var(--fyi-green);
}

.nav-link.active {
  background: rgba(128, 201, 54, 0.15);
  color: var(--fyi-green);
  border-left-color: var(--fyi-green);
  font-weight: 600;
}

/* Main Content */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: 2rem;
  max-width: calc(100vw - var(--sidebar-width));
}

.content-section {
  display: none;
  max-width: 900px;
}

.content-section.active {
  display: block;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--fyi-light-gray) 0%, var(--fyi-white) 100%);
  padding: 3rem 2rem;
  border-radius: 12px;
  margin-bottom: 3rem;
  border: 1px solid var(--fyi-border-gray);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--fyi-dark-gray);
}

.hero-description {
  font-size: 1.25rem;
  color: var(--fyi-text-gray);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Overview Content */
.overview-content h2 {
  color: var(--fyi-dark-gray);
  border-bottom: 2px solid var(--fyi-green);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.feature-card {
  background: var(--fyi-white);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--fyi-border-gray);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.feature-card h3 {
  color: var(--fyi-green);
  margin-bottom: 1rem;
}

/* Methods Table */
.methods-table {
  margin: 2rem 0;
  overflow-x: auto;
}

.methods-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--fyi-white);
  border: 1px solid var(--fyi-border-gray);
  border-radius: 8px;
  overflow: hidden;
}

.methods-table th {
  background: var(--fyi-light-gray);
  padding: 1rem;
  text-align: left;
  font-weight: 700;
  color: var(--fyi-dark-gray);
}

.methods-table td {
  padding: 1rem;
  border-top: 1px solid var(--fyi-border-gray);
}

.method {
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  display: inline-block;
  min-width: 60px;
  text-align: center;
}

.method.get { background: #E6F7FF; color: #0066CC; }
.method.post { background: #F6FFED; color: var(--fyi-success); }
.method.put { background: #FFF7E6; color: var(--fyi-warning); }
.method.delete { background: #FFF2F0; color: var(--fyi-error); }

/* Info Box */
.info-box {
  background: #F0F8FF;
  border: 1px solid #B0D4F1;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.info-box h3 {
  color: #0066CC;
  margin-bottom: 0.5rem;
}

/* Authentication Styles */
.auth-headers {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}

.header-item h3 {
  color: var(--fyi-green);
  margin-bottom: 0.5rem;
  font-family: 'Courier New', monospace;
}

/* Code Styles */
.code-example, .code-block {
  position: relative;
  background: #1e1e1e;
  color: #d4d4d4;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1rem 0;
  overflow-x: auto;
  font-family: 'Courier New', Monaco, monospace;
  font-size: 0.9rem;
  line-height: 1.5;
}

.code-example pre, .code-block pre {
  margin: 0;
}

code {
  background: #f5f5f5;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: 'Courier New', Monaco, monospace;
  font-size: 0.9em;
  color: var(--fyi-dark-gray);
}

.code-example code, .code-block code {
  background: transparent;
  padding: 0;
  color: inherit;
}

/* Code Tabs */
.code-tabs {
  margin: 2rem 0;
}

.tab-buttons {
  display: flex;
  border-bottom: 1px solid var(--fyi-border-gray);
  margin-bottom: 0;
}

.tab-btn {
  background: none;
  border: none;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--fyi-text-gray);
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.tab-btn.active {
  color: var(--fyi-green);
  border-bottom-color: var(--fyi-green);
}

.tab-btn:hover {
  color: var(--fyi-green);
}

.tab-content {
  position: relative;
}

.code-block {
  display: none;
  margin-top: 0;
  border-top-left-radius: 0;
}

.code-block.active {
  display: block;
}

.copy-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--fyi-green);
  color: var(--fyi-white);
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.copy-btn:hover {
  background: #6ba82b;
}

/* Rate Limits */
.rate-limit-info {
  margin: 2rem 0;
}

.limit-card {
  background: var(--fyi-white);
  border: 1px solid var(--fyi-border-gray);
  border-radius: 8px;
  padding: 2rem;
}

.limit-card h3 {
  color: var(--fyi-green);
  margin-bottom: 1rem;
}

.limit-card ul {
  list-style: none;
  margin: 0;
}

.limit-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--fyi-border-gray);
}

.limit-card li:last-child {
  border-bottom: none;
}

/* Error Codes */
.error-codes {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}

.error-group h3 {
  color: var(--fyi-dark-gray);
  margin-bottom: 1rem;
}

.code-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: var(--fyi-white);
  border: 1px solid var(--fyi-border-gray);
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.code-item .code {
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  min-width: 60px;
  text-align: center;
}

.code.success { background: #F6FFED; color: var(--fyi-success); }
.code.error { background: #FFF2F0; color: var(--fyi-error); }
.code.server-error { background: #FFF2F0; color: #CC0000; }

/* Support Grid */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.support-card {
  background: var(--fyi-white);
  border: 1px solid var(--fyi-border-gray);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.support-card h3 {
  color: var(--fyi-green);
  margin-bottom: 1rem;
}

.support-link {
  color: var(--fyi-green);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.support-link:hover {
  color: #6ba82b;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
  }
  
  .sidebar.show {
    transform: translateX(0);
  }
  
  .main-content {
    margin-left: 0;
    max-width: 100vw;
    padding: 1rem;
  }
  
  .hero {
    padding: 2rem 1rem;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .tab-buttons {
    flex-wrap: wrap;
  }
  
  .tab-btn {
    flex: 1;
    min-width: 80px;
  }
  
  .methods-table {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0 1rem;
  }
  
  .main-content {
    padding: 0.5rem;
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .support-grid {
    grid-template-columns: 1fr;
  }
}

/* Enhanced Schema and Parameter Tables for Professional API Documentation */
.schema-table, .params-table {
  margin: 2rem 0;
  overflow-x: auto;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.schema-table table, .params-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--fyi-white);
  border: 1px solid var(--fyi-border-gray);
  border-radius: 8px;
  overflow: hidden;
}

.schema-table th, .params-table th {
  background: var(--fyi-light-gray);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--fyi-dark-gray);
  border-bottom: 1px solid var(--fyi-border-gray);
  font-size: 0.9rem;
}

.schema-table td, .params-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--fyi-border-gray);
  vertical-align: top;
  font-size: 0.9rem;
}

.schema-table tr:last-child td, .params-table tr:last-child td {
  border-bottom: none;
}

.schema-table tr:hover, .params-table tr:hover {
  background: #fafafa;
}

/* Column widths for schema tables */
.field-col { width: 25%; }
.type-col { width: 15%; }
.required-col { width: 15%; }
.description-col { width: 45%; }

/* Type and status badges */
.type {
  background: #f1f5f9;
  color: #475569;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: 'Monaco', 'Consolas', 'Courier New', monospace;
  font-weight: 600;
  white-space: nowrap;
}

.required {
  background: var(--fyi-error);
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.optional {
  background: var(--fyi-text-gray);
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Use cases and error examples */
.use-cases {
  margin: 2rem 0;
}

.use-case {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--fyi-light-gray);
  border-radius: 8px;
  border-left: 4px solid var(--fyi-green);
}

.use-case h3 {
  color: var(--fyi-dark-gray);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.error-examples {
  margin: 2rem 0;
}

.error-example {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #fef2f2;
  border-radius: 8px;
  border-left: 4px solid var(--fyi-error);
}

.error-example h3 {
  color: var(--fyi-error);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Enhanced code examples */
.code-example pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 1.5rem;
  border-radius: 6px;
  overflow-x: auto;
  font-family: 'Monaco', 'Consolas', 'Courier New', monospace;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Prism.js Custom Theme - Professional FYIsoft Style */
/* Override default Prism.js styling */
code[class*="language-"],
pre[class*="language-"] {
  color: #e2e8f0;
  background: none;
  text-shadow: 0 1px rgba(0, 0, 0, 0.3);
  font-family: 'Monaco', 'Consolas', 'Courier New', monospace;
  font-size: 0.875rem;
  line-height: 1.5;
  direction: ltr;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
  tab-size: 4;
  hyphens: none;
}

/* Code block container styling */
pre[class*="language-"] {
  background: #1e293b;
  padding: 1.5rem;
  margin: 0;
  overflow: auto;
  border-radius: 6px;
  position: relative;
}

/* Inline code styling */
:not(pre) > code[class*="language-"] {
  background: #334155;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  white-space: normal;
}

/* Professional syntax highlighting colors */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: #64748b;
  font-style: italic;
}

.token.punctuation {
  color: #cbd5e1;
}

.token.property,
.token.tag,
.token.constant,
.token.symbol,
.token.deleted {
  color: #f87171;
}

.token.boolean,
.token.number {
  color: #fbbf24;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
  color: #34d399;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string,
.token.variable {
  color: #60a5fa;
}

.token.atrule,
.token.attr-value,
.token.function,
.token.class-name {
  color: #a78bfa;
}

.token.keyword {
  color: #ec4899;
  font-weight: 600;
}

.token.regex,
.token.important {
  color: #f59e0b;
}

.token.important,
.token.bold {
  font-weight: bold;
}

.token.italic {
  font-style: italic;
}

.token.entity {
  cursor: help;
}

/* Line numbers styling */
pre[class*="language-"].line-numbers {
  position: relative;
  padding-left: 3.8em;
  counter-reset: linenumber;
}

pre[class*="language-"].line-numbers > code {
  position: relative;
  white-space: inherit;
}

.line-numbers .line-numbers-rows {
  position: absolute;
  pointer-events: none;
  top: 0;
  font-size: 100%;
  left: -3.8em;
  width: 3em;
  letter-spacing: -1px;
  border-right: 1px solid #475569;
  user-select: none;
}

.line-numbers-rows > span {
  pointer-events: none;
  display: block;
  counter-increment: linenumber;
}

.line-numbers-rows > span:before {
  content: counter(linenumber);
  color: #64748b;
  display: block;
  padding-right: 0.8em;
  text-align: right;
}

/* Custom copy button integration with existing design */
div.code-toolbar {
  position: relative;
}

div.code-toolbar > .toolbar {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  transition: opacity 0.3s ease-in-out;
  opacity: 1;
}

div.code-toolbar:hover > .toolbar {
  opacity: 1;
}

div.code-toolbar > .toolbar .toolbar-item {
  display: inline-block;
}

div.code-toolbar > .toolbar a {
  cursor: pointer;
}

div.code-toolbar > .toolbar button {
  background: var(--fyi-green);
  border: none;
  border-radius: 4px;
  color: var(--fyi-white);
  font: inherit;
  line-height: normal;
  overflow: visible;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

div.code-toolbar > .toolbar button:hover,
div.code-toolbar > .toolbar button:focus {
  background: #6ba82b;
  color: var(--fyi-white);
}

/* Hide default Prism.js copy button in favor of existing ones */
.copy-to-clipboard-button {
  display: none;
}

/* Ensure proper styling for tabbed code blocks */
.code-tabs .code-block pre[class*="language-"] {
  margin-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  code[class*="language-"],
  pre[class*="language-"] {
    font-size: 0.75rem;
  }
  
  pre[class*="language-"].line-numbers {
    padding-left: 2.8em;
  }
  
  .line-numbers .line-numbers-rows {
    left: -2.8em;
    width: 2em;
  }
}

/* Responsive enhancements for tables */
@media (max-width: 768px) {
  .schema-table, .params-table {
    font-size: 0.8rem;
  }
  
  .field-col { width: 30%; }
  .type-col { width: 20%; }
  .required-col { width: 20%; }
  .description-col { width: 30%; }
  
  .schema-table th, .params-table th,
  .schema-table td, .params-table td {
    padding: 8px 12px;
  }
}

/* Schema Documentation Styles */
.schema-documentation {
  background: var(--fyi-light-gray);
  border-radius: 6px;
  padding: 1.5rem;
  font-family: 'Monaco', 'Consolas', 'Courier New', monospace;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--fyi-dark-gray);
  max-height: 500px;
  overflow-y: auto;
}

.schema-object,
.schema-array,
.schema-field,
.schema-primitive {
  margin-bottom: 0.75rem;
  padding: 0.5rem;
  border-radius: 4px;
  background: var(--fyi-white);
  border-left: 3px solid var(--fyi-green);
}

.schema-type-label,
.schema-type {
  font-weight: 600;
  color: var(--fyi-green);
  margin-right: 0.5rem;
}

.schema-ref {
  font-weight: 700;
  color: #0ea5e9;
  margin-right: 0.5rem;
}

.schema-description {
  color: var(--fyi-text-gray);
  font-style: italic;
  margin: 0.25rem 0;
  font-size: 0.8rem;
}

.schema-property {
  margin: 0.5rem 0;
  padding: 0.5rem;
  background: #fafafa;
  border-radius: 3px;
  border: 1px solid var(--fyi-border-gray);
}

.schema-property-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.schema-property-name {
  font-weight: 600;
  color: var(--fyi-dark-gray);
  font-family: monospace;
}

.schema-required {
  background: var(--fyi-error);
  color: white;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 500;
}

.schema-optional {
  background: var(--fyi-text-gray);
  color: white;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 500;
}

.schema-property-type {
  color: var(--fyi-green);
  font-weight: 500;
  font-family: monospace;
}

.schema-property-description {
  color: var(--fyi-text-gray);
  font-size: 0.75rem;
  font-style: italic;
  margin-top: 0.25rem;
}

.schema-nested {
  margin-left: 1rem;
  border-left: 2px solid var(--fyi-border-gray);
  padding-left: 0.5rem;
  margin-top: 0.5rem;
}

.schema-array-items {
  margin-left: 1rem;
  color: var(--fyi-text-gray);
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

.schema-enum {
  color: #8b5cf6;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.schema-empty {
  color: var(--fyi-text-gray);
  font-style: italic;
  padding: 1rem;
  text-align: center;
  background: #f9fafb;
  border: 1px dashed var(--fyi-border-gray);
  border-radius: 4px;
}

/* Indentation for nested schema elements */
.indent-1 { margin-left: 1rem; }
.indent-2 { margin-left: 2rem; }
.indent-3 { margin-left: 3rem; }
.indent-4 { margin-left: 4rem; }

/* Responsive schema documentation */
@media (max-width: 768px) {
  .schema-documentation {
    font-size: 0.75rem;
    padding: 1rem;
  }
  
  .schema-property-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .indent-1, .indent-2, .indent-3, .indent-4 {
    margin-left: 0.5rem;
  }
  
  .schema-nested {
    margin-left: 0.5rem;
  }
}