/* Custom Color Scheme */
:root {
  --olive-green: #55722f;
  --dark-charcoal: #161616;
  --light-cream: #f5f3ef;
  --pure-white: #fefefe;
}

/* Main body styling */
body {
  background-color: var(--pure-white);
  color: var(--dark-charcoal);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Header and title styling */
.title, .subtitle {
  color: var(--dark-charcoal);
  text-shadow: 0 1px 2px rgba(22, 22, 22, 0.1);
}


.sidebar nav a {
  color: var(--dark-charcoal);
  transition: all 0.3s ease;
}

.sidebar nav a:hover, .sidebar nav a.active {
  color: var(--olive-green);
  background-color: rgba(85, 114, 47, 0.1);
  border-left: 3px solid var(--olive-green);
}

/* Callout boxes */
.callout {
  border: 1px solid var(--light-cream);
  background: linear-gradient(135deg, var(--pure-white), var(--light-cream));
  box-shadow: 0 2px 4px rgba(22, 22, 22, 0.1);
}

.callout-note {
  border-left: 4px solid var(--olive-green);
}

.callout-note .callout-title {
  color: var(--olive-green);
  font-weight: 600;
}

/* Tables */
.table, table {
  background-color: var(--pure-white);
  border: 1px solid var(--light-cream);
  box-shadow: 0 1px 3px rgba(22, 22, 22, 0.1);
}

.table th, table th {
  background: linear-gradient(135deg, var(--olive-green), #4a6329);
  color: var(--pure-white);
  font-weight: 600;
  border-bottom: 2px solid var(--dark-charcoal);
}

.table td, table td {
  border-bottom: 1px solid var(--light-cream);
  color: var(--dark-charcoal);
}

.table tbody tr:nth-child(even), table tbody tr:nth-child(even) {
  background-color: rgba(245, 243, 239, 0.3);
}

.table tbody tr:hover, table tbody tr:hover {
  background-color: rgba(85, 114, 47, 0.1);
  transition: background-color 0.2s ease;
}

/* Links */
a {
  color: var(--olive-green);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--dark-charcoal);
  text-decoration: underline;
}

/* Tab panels */
.panel-tabset .nav-tabs {
  border-bottom: 2px solid var(--light-cream);
}

.panel-tabset .nav-link {
  color: var(--dark-charcoal);
  border: 1px solid var(--light-cream);
  background-color: var(--light-cream);
  transition: all 0.3s ease;
}

.panel-tabset .nav-link.active {
  background: linear-gradient(135deg, var(--olive-green), #4a6329);
  color: var(--pure-white);
  border-color: var(--olive-green);
}

.panel-tabset .nav-link:hover:not(.active) {
  background-color: rgba(85, 114, 47, 0.1);
  border-color: var(--olive-green);
}

.panel-tabset .tab-content {
  background-color: var(--pure-white);
  border: 1px solid var(--light-cream);
  border-top: none;
  padding: 20px;
}

/* Code blocks */
pre, code {
  background-color: var(--light-cream);
  border: 1px solid rgba(22, 22, 22, 0.1);
  color: var(--dark-charcoal);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--dark-charcoal);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h1 {
  background: linear-gradient(135deg, var(--olive-green), #4a6329);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

h2 {
  border-bottom: 2px solid var(--light-cream);
  padding-bottom: 0.5rem;
}

h3 {
  color: var(--olive-green);
}

/* Buttons and interactive elements */
.btn {
  background: linear-gradient(135deg, var(--olive-green), #4a6329);
  color: var(--pure-white);
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  background: linear-gradient(135deg, #4a6329, var(--olive-green));
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(22, 22, 22, 0.2);
  color: var(--pure-white);
}

/* Main content container */
.main-content, .content {
  background-color: var(--pure-white);
  /* box-shadow: 0 0 20px rgba(22, 22, 22, 0.1); */
  border-radius: 8px;
  margin: 20px 0;
}

/* Performance metrics highlighting */
.table td strong, table td strong {
  color: var(--olive-green);
  font-weight: 600;
}

/* Gradient backgrounds for emphasis */
.emphasis-block {
  background: linear-gradient(135deg, var(--pure-white), var(--light-cream));
  border: 1px solid var(--light-cream);
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--dark-charcoal), #2a2a2a);
  color: var(--pure-white);
  padding: 20px 0;
  border-top: 3px solid var(--olive-green);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .sidebar {
    background-color: var(--pure-white);
    border-right: 1px solid var(--light-cream);
  }
  
  .main-content {
    margin: 10px;
    padding: 15px;
  }
}
