/* Direct Supply Documentation Styles */
:root {
  --ds-primary: #0066B3;
  --ds-primary-dark: #004A85;
  --ds-secondary: #00A3E0;
  --ds-accent: #FF6B35;
  --ds-success: #28A745;
  --ds-warning: #FFC107;
  --ds-danger: #DC3545;
  --ds-light-gray: #F5F5F5;
  --ds-medium-gray: #6C757D;
  --ds-dark-gray: #343A40;
  --ds-white: #FFFFFF;
  --ds-border-radius: 4px;
  --ds-shadow: 0 2px 4px rgba(0,0,0,0.1);
  --ds-shadow-lg: 0 4px 12px rgba(0,0,0,0.15);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--ds-dark-gray);
  background-color: var(--ds-white);
  margin: 0;
  padding: 0;
}

/* Header */
.ds-header {
  background: linear-gradient(135deg, var(--ds-primary-dark) 0%, var(--ds-primary) 100%);
  color: var(--ds-white);
  padding: 1.5rem 2rem;
  box-shadow: var(--ds-shadow-lg);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.ds-header h1 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--ds-white);
}

.ds-breadcrumb {
  margin: 0.5rem 0 0 0;
  font-size: 0.875rem;
  opacity: 0.9;
}

.ds-breadcrumb a {
  color: var(--ds-white);
  text-decoration: none;
  opacity: 0.8;
}

.ds-breadcrumb a:hover {
  opacity: 1;
  text-decoration: underline;
}

.ds-breadcrumb span {
  margin: 0 0.5rem;
}

/* Container */
.ds-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

/* Navigation */
.ds-nav {
  background: var(--ds-light-gray);
  border-radius: var(--ds-border-radius);
  padding: 1rem;
  margin-bottom: 2rem;
  box-shadow: var(--ds-shadow);
}

.ds-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ds-nav-links a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--ds-white);
  color: var(--ds-primary);
  text-decoration: none;
  border-radius: var(--ds-border-radius);
  border: 1px solid var(--ds-primary);
  transition: all 0.2s;
}

.ds-nav-links a:hover {
  background: var(--ds-primary);
  color: var(--ds-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--ds-primary-dark);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

h1 { font-size: 2.5rem; border-bottom: 3px solid var(--ds-primary); padding-bottom: 0.5rem; }
h2 { font-size: 2rem; border-bottom: 2px solid var(--ds-secondary); padding-bottom: 0.5rem; }
h3 { font-size: 1.5rem; color: var(--ds-primary); }
h4 { font-size: 1.25rem; }

/* Links */
a {
  color: var(--ds-primary);
  text-decoration: none;
}

a:hover {
  color: var(--ds-secondary);
  text-decoration: underline;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--ds-white);
  box-shadow: var(--ds-shadow);
  border-radius: var(--ds-border-radius);
  overflow: hidden;
}

thead {
  background: linear-gradient(135deg, var(--ds-primary) 0%, var(--ds-secondary) 100%);
  color: var(--ds-white);
}

th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--ds-light-gray);
}

tbody tr:hover {
  background: var(--ds-light-gray);
}

/* Code blocks */
code {
  background: var(--ds-light-gray);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.9em;
  color: var(--ds-accent);
}

pre {
  background: var(--ds-dark-gray);
  color: #f8f8f2;
  padding: 1.5rem;
  border-radius: var(--ds-border-radius);
  overflow-x: auto;
  box-shadow: var(--ds-shadow);
  margin: 1.5rem 0;
}

pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

/* Blockquotes */
blockquote {
  border-left: 4px solid var(--ds-primary);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  color: var(--ds-medium-gray);
  font-style: italic;
  background: var(--ds-light-gray);
  padding: 1rem 1.5rem;
  border-radius: var(--ds-border-radius);
}

/* Lists */
ul, ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

li {
  margin: 0.5rem 0;
}

/* Cards */
.ds-card {
  background: var(--ds-white);
  border-radius: var(--ds-border-radius);
  box-shadow: var(--ds-shadow);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.ds-card-header {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ds-primary-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--ds-light-gray);
}

/* Badges */
.ds-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
}

.ds-badge-primary { background: var(--ds-primary); color: var(--ds-white); }
.ds-badge-success { background: var(--ds-success); color: var(--ds-white); }
.ds-badge-warning { background: var(--ds-warning); color: var(--ds-dark-gray); }
.ds-badge-danger { background: var(--ds-danger); color: var(--ds-white); }

/* Responsive */
@media (max-width: 768px) {
  .ds-container {
    padding: 1rem;
  }

  .ds-header {
    padding: 1rem;
  }

  .ds-header h1 {
    font-size: 1.5rem;
  }

  table {
    font-size: 0.875rem;
  }

  th, td {
    padding: 0.5rem;
  }
}

/* Utility classes */
.text-center { text-align: center; }
.text-muted { color: var(--ds-medium-gray); }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* Footer */
.ds-footer {
  background: var(--ds-light-gray);
  padding: 2rem;
  text-align: center;
  margin-top: 4rem;
  border-top: 3px solid var(--ds-primary);
}

.ds-footer p {
  margin: 0.5rem 0;
  color: var(--ds-medium-gray);
}
