


/* CSS Reset - Remove default browser styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* Remove default link styling */
a {
    text-decoration: none;
    color: var(--link-color);
}

a:hover {
    color: var(--link-hover-color);
}

/* Remove default list styling */
ul, ol {
    list-style: none;
}

.list-style-circle {
    margin-left: 1rem;
    list-style: circle;
}

/* Remove default button styling */
button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

/* Remove default form styling */
input, textarea, select {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

/* Remove default table styling */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Remove default heading margins */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* Remove default paragraph margins */
p {
    margin: 0;
}

/* CSS Variables - Light Mode (Default) */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1f2937;
    
    /* Light Mode Colors */
    --bg-primary: #fafafa;
    --bg-secondary: #f5f5f5;
    --bg-surface: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    
    /* Navbar Colors */
    --navbar-bg: #242526;
    --navbar-text: #f0f0f0;
    
    /* Badge Colors */
    --badge-success-bg: #dcfce7;
    --badge-success-text: #166534;
    --badge-warning-bg: #fef3c7;
    --badge-warning-text: #92400e;
    --badge-error-bg: #fee2e2;
    --badge-error-text: #991b1b;
    --badge-info-bg: #dbeafe;
    --badge-info-text: #1e40af;
    --badge-neutral-bg: #f3f4f6;
    --badge-neutral-text: #1f2937;
    
    /* Progress Colors */
    --progress-pending: #6b7280;
    --progress-running: #3b82f6;
    --progress-complete: #22c55e;
    --progress-failed: #ef4444;
    --progress-bg: #e5e7eb;

    /* Link colors */
    --link-color: #16a34a;
    --link-hover-color: #22c55e;
    
    /* Button Colors - Light Mode (lighter green) */
    --button-primary-bg: #22c55e;
    --button-primary-hover: #16a34a;
    --button-primary-text: #ffffff;
    
    /* Hero Section - Light Mode (blends to page background) */
    --hero-bg-start: #f8fdf9;
    --hero-bg-end: #fafafa;
    --hero-overlay-start: rgba(255, 255, 255, 0.05);
    --hero-overlay-end: rgba(255, 255, 255, 0.0);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Border radius */
    --rounded-sm: 0.125rem;
    --rounded-md: 0.375rem;
    --rounded-lg: 0.5rem;
    
    /* Clip paths */
    --clip-path-angled: polygon(
        0 0, 
        calc(100% - 15px) 0%,
        100% 15px,
        100% 100%,
        15px 100%, 
        0% calc(100% - 15px)
    );
    --rounded-xl: 0.75rem;
    --rounded-full: 9999px;
}

/* Dark Mode Colors */
[data-theme="dark"] {
    --bg-primary: #242526;
    --bg-secondary: #1a1b1c;
    --bg-surface: #2f3031;
    --text-primary: #f0f0f0;
    --text-secondary: #b3b3b3;
    --text-muted: #8b8b8b;
    --border-color: #404040;
    --border-light: #333333;
    
    /* Navbar Colors - Dark Mode */
    --navbar-bg: #1a1b1c;
    --navbar-text: #f0f0f0;
    
    /* Badge Colors - Dark Mode */
    --badge-success-bg: #16a34a;
    --badge-success-text: #dcfce7;
    --badge-warning-bg: #d97706;
    --badge-warning-text: #fef3c7;
    --badge-error-bg: #dc2626;
    --badge-error-text: #fee2e2;
    --badge-info-bg: #2563eb;
    --badge-info-text: #dbeafe;
    --badge-neutral-bg: #4b5563;
    --badge-neutral-text: #f3f4f6;
    
    /* Progress Colors - Dark Mode */
    --progress-pending: #9ca3af;
    --progress-running: #60a5fa;
    --progress-complete: #34d399;
    --progress-failed: #f87171;
    --progress-bg: #374151;
    
    /* Link colors */
    --link-color: #16a34a;
    --link-hover-color: #22c55e;

    /* Button Colors - Dark Mode (darker green) */
    --button-primary-bg: #16a34a;
    --button-primary-hover: #15803d;
    --button-primary-text: #ffffff;
    
    /* Adjust shadows for dark mode */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.3);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.5), 0 8px 10px -6px rgb(0 0 0 / 0.4);
    
    /* Hero Section - Dark Mode (blends to page background) */
    --hero-bg-start: #064e3b;
    --hero-bg-end: #242526;
    --hero-overlay-start: rgba(0, 0, 0, 0.3);
    --hero-overlay-end: rgba(0, 0, 0, 0.0);
    
    /* Feature Icons - Dark Mode */
    --icon-green-bg: #064e3b;
    --icon-green-color: #34d399;
    --icon-blue-bg: #1e3a8a;
    --icon-blue-color: #60a5fa;
    --icon-purple-bg: #581c87;
    --icon-purple-color: #a855f7;
    --icon-yellow-bg: #92400e;
    --icon-yellow-color: #fbbf24;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.button {
    padding: 12px 24px;
    color: var(--button-primary-text);
    background-color: var(--button-primary-bg);
    -webkit-clip-path: var(--clip-path-angled) !important;
    clip-path: var(--clip-path-angled) !important;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    position: relative;
    border: none;

}

.button::after {
    content: "";
    background-color: var(--button-primary-bg);
    position: absolute;
    top: 1px;
    left: 1px;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    -webkit-clip-path: var(--clip-path-angled) !important;
    clip-path: var(--clip-path-angled) !important;
    z-index: -1;

}

.button:hover {
    background-color: var(--button-primary-hover);
    cursor: pointer;
}

.button:hover::after {
    background-color: var(--button-primary-hover);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

@media (min-width: 1024px) {
    .container {
        padding: 2rem 2rem;
    }
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.flex-wrap {
    flex-wrap: wrap;
}

.grid {
    display: grid;
}

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.gap-4 { gap: 1rem; }
.gap-x-6 { column-gap: 1.5rem; }
.gap-y-8 { row-gap: 2rem; }

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.justify-end {
    justify-content: flex-end;
}

.justify-self-end {
    justify-self: end;
}

.hidden {
    display: none;
}

.block {
    display: block;
}

.inline-flex {
    display: inline-flex;
}

.inline-block {
    display: inline-block;
}

.fixed {
    position: fixed;
}

.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.z-50 {
    z-index: 50;
}

.z-10 {
    z-index: 10;
}

.invisible {
    visibility: hidden;
}

.opacity-0 {
    opacity: 0;
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.-mb-px {
    margin-bottom: -1px;
}

/* Spacing Utilities */
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }

.pb-4 { padding-bottom: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }

.m-4 { margin: 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mr-1 { margin-right: 0.25rem; }
.m-2 { margin: 0.5rem; }

.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }

/* Size Utilities */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-4 { width: 1rem; }
.w-3 { width: 0.75rem; }
.w-64 { width: 16rem; }
.w-6\/12 { width: 50%; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-4 { height: 1rem; }
.h-3 { height: 0.75rem; }
.leading-tight { line-height: 1.25; }
.opacity-50 { opacity: 0.5; }
.ms-0 { margin-inline-start: 0; }
.-space-x-px > * + * { margin-left: -1px; }
.space-y-8 > * + * { margin-top: 2rem; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-screen-xl { max-width: 1280px; }
.max-h-80vh { max-height: 80vh; }

/* Typography Utilities */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.leading-6 { line-height: 1.5rem; }
.leading-7 { line-height: 1.75rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.whitespace-nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.overflow-visible { overflow: visible; }

/* Color Utilities */
/* Theme-aware colors */
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.bg-primary { background-color: var(--bg-primary); }
.bg-secondary { background-color: var(--bg-secondary); }
.bg-surface { background-color: var(--bg-surface); }

/* Navbar Colors */
.bg-navbar { background-color: var(--navbar-bg); }
.text-navbar { color: var(--navbar-text); }

/* Legacy/Fixed colors for specific components */
.text-white { color: #ffffff; }
.text-gray-500 { color: #6b7280; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-gray-900 { color: #111827; }
.text-gray-400 { color: #9ca3af; }
.text-blue-600 { color: #2563eb; }
.text-blue-700 { color: #1d4ed8; }
.text-red-600 { color: #dc2626; }
.text-blue-500 { color: #3b82f6; }
.text-gray-600 { color: #4b5563; }
.text-red-800 { color: #991b1b; }
.text-yellow-800 { color: #92400e; }
.text-green-800 { color: #166534; }
.text-blue-800 { color: #1e40af; }

.bg-white { background-color: #ffffff; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-800 { background-color: #1f2937; }
.bg-black { background-color: #000000; }
.bg-primarycolor { background-color: var(--primary-color); }
.bg-secondarycolor { background-color: var(--secondary-color); }
.bg-green-50 { background-color: #f0fdf4; }
.bg-green-600 { background-color: #16a34a; }
.bg-green-700 { background-color: #15803d; }
.bg-amber-50 { background-color: #fffbeb; }
.bg-red-50 { background-color: #fef2f2; }
.bg-opacity-50 { background-color: rgba(0, 0, 0, 0.5); }
.bg-gray-200 { background-color: #e5e7eb; }
.bg-blue-50 { background-color: #eff6ff; }
.bg-blue-100 { background-color: #dbeafe; }
.bg-red-100 { background-color: #fee2e2; }
.bg-yellow-100 { background-color: #fef3c7; }
.bg-green-100 { background-color: #dcfce7; }

/* Badge Semantic Colors */
.badge-success { 
    background-color: var(--badge-success-bg); 
    color: var(--badge-success-text); 
}
.badge-warning { 
    background-color: var(--badge-warning-bg); 
    color: var(--badge-warning-text); 
}
.badge-error { 
    background-color: var(--badge-error-bg); 
    color: var(--badge-error-text); 
}
.badge-info { 
    background-color: var(--badge-info-bg); 
    color: var(--badge-info-text); 
}
.badge-neutral { 
    background-color: var(--badge-neutral-bg); 
    color: var(--badge-neutral-text); 
}

/* Border Utilities */
/* Theme-aware borders */
.border { border: 1px solid var(--border-color); }
.border-b { border-bottom: 1px solid var(--border-color); }
.border-light { border: 1px solid var(--border-light); }
.border-b-light { border-bottom: 1px solid var(--border-light); }
.divide-y > * + * { border-top: 1px solid var(--border-color); }
.divide-light > * + * { border-top: 1px solid var(--border-light); }

/* Legacy/Fixed borders for specific components */
.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }
.border-e-0 { border-inline-end: 0; }
.divide-gray-100 > * + * { border-top-color: #f3f4f6; }

.rounded { border-radius: var(--rounded-md); }
.rounded-lg { border-radius: var(--rounded-lg); }
.rounded-full { border-radius: var(--rounded-full); }
.rounded-s-lg { border-top-left-radius: var(--rounded-lg); border-bottom-left-radius: var(--rounded-lg); }
.rounded-e-lg { border-top-right-radius: var(--rounded-lg); border-bottom-right-radius: var(--rounded-lg); }
.rounded-t { border-top-left-radius: var(--rounded-md); border-top-right-radius: var(--rounded-md); }
.rounded-md { border-radius: var(--rounded-md); }
.border-2 { border-width: 2px; }
.border-x-1 { border-left-width: 1px; border-right-width: 1px; }

/* Shadow Utilities */
.shadow-xl { box-shadow: var(--shadow-xl); }

/* Transform Utilities */
.transform { transform: translateX(var(--tw-translate-x, 0)) translateY(var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1)); }
.translate-x-1\/2 { --tw-translate-x: 50%; }
.translate-y-1\/2 { --tw-translate-y: 50%; }
.-translate-x-1\/2 { --tw-translate-x: -50%; }
.-translate-y-1\/2 { --tw-translate-y: -50%; }
.top-1\/2 { top: 50%; }
.left-1\/2 { left: 50%; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }

/* Overflow Utilities */
.overflow-y-auto { overflow-y: auto; }

/* Interaction Utilities */
.cursor-pointer { cursor: pointer; }

/* Transition Utilities */
.transition-colors { 
    transition-property: color, background-color, border-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.duration-200 { transition-duration: 200ms; }

/* Focus Utilities */
.focus\:outline-none:focus { outline: none; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5); }
.focus\:ring-4:focus { box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.3); }
.focus\:ring-gray-300:focus { box-shadow: 0 0 0 4px rgba(209, 213, 219, 0.3); }
.focus\:ring-green-500:focus { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.3); }

/* Hover Utilities */
.hover\:bg-gray-100:hover { background-color: #f3f4f6; }
.hover\:bg-green-600:hover { background-color: #16a34a; }
.hover\:bg-blue-100:hover { background-color: #dbeafe; }
.hover\:text-gray-700:hover { color: #374151; }
.hover\:text-blue-700:hover { color: #1d4ed8; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:bg-blue-600:hover { background-color: #2563eb; }
.hover\:bg-blue-800:hover { background-color: #1e40af; }
.hover\:text-gray-600:hover { color: #4b5563; }
.hover\:border-b-gray-700:hover { border-bottom-color: #374151; }
.hover\:border-b-2:hover { border-bottom-width: 2px; }

/* Responsive Utilities */
@media (min-width: 640px) {
    .sm\:self-center { align-self: center; }
    .sm\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .sm\:font-semibold { font-weight: 600; }
}

@media (min-width: 768px) {
    .md\:block { display: block; }
    .md\:hidden { display: none; }
    .md\:flex { display: flex; }
    .md\:items-center { align-items: center; }
    .md\:justify-between { justify-content: space-between; }
    .md\:order-2 { order: 2; }
    .md\:p-0 { padding: 0; }
    .md\:me-0 { margin-right: 0; }
    .md\:space-x-0 > * + * { margin-left: 0; }
}

@media (min-width: 1024px) {
    .lg\:rounded-t-lg { border-top-left-radius: var(--rounded-lg); border-top-right-radius: var(--rounded-lg); }
}

/* RTL Support */
.rtl\:space-x-reverse:where([dir="rtl"], [dir="rtl"] *) > * + * {
    margin-left: 0;
    margin-right: 0.75rem;
}

.rtl\:text-right:where([dir="rtl"], [dir="rtl"] *) {
    text-align: right;
}

/* Additional utility classes for modal */
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.max-h-80vh { max-height: 80vh; }
.w-calc-100-4rem { width: calc(100% - 4rem); }
.h-calc-100-4rem { height: calc(100% - 4rem); }
.max-w-calc-100-4rem { max-width: calc(100% - 4rem); }
.max-h-calc-100-4rem { max-height: calc(100% - 4rem); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.me-4 { margin-inline-end: 1rem; }
.me-6 { margin-inline-end: 1.5rem; }
.me-1 { margin-inline-end: 0.25rem; }
.me-2 { margin-inline-end: 0.5rem; }
.me-1\.5 { margin-inline-end: 0.375rem; }
.mt-3 { margin-top: 0.75rem; }
.sm\:mt-0 { margin-top: 0; }
.sm\:text-center { text-align: center; }

.card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow-md);
    padding: 1rem;
    margin: 1rem;
}

.card pre {
    overflow-x: scroll;
}

.subtitle {
    margin-top: -0.5rem;
    padding-top: 0px;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--text-secondary);
}

/* =========================================
 * SECTION COMPONENTS CSS
 * ========================================= */

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  background: linear-gradient(to bottom, var(--hero-bg-start, #064e3b) 0%, var(--hero-bg-end, #065f46) 100%);
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--hero-overlay-start, rgba(0, 0, 0, 0.3)), var(--hero-overlay-end, rgba(0, 0, 0, 0.2)));
}

.hero-content {
  padding-top: 4rem;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .hero-content {
    padding-top: 6rem;
  }
}

.hero-text {
  text-align: center;
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  .hero-text {
    margin-bottom: 6rem;
  }
}

.hero-title {
  margin-bottom: 1.5rem;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1280px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-subtitle {
  margin-left: auto;
  margin-right: auto;
  max-width: 42rem;
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-secondary);
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

/* Content Section */
.content-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.content-container {
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem;
}

.section-title {
  margin-bottom: 2rem;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1280px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .section-content {
    flex-direction: row;
  }
}

/* Content Section with Image */
.section-content-with-image {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .section-content-with-image {
    flex-direction: row;
    align-items: flex-start;
  }
  
  /* Image positioning using flexbox order */
  .section-content-with-image.image-left .section-image {
    order: 1;
  }
  
  .section-content-with-image.image-left .section-text-content {
    order: 2;
  }
  
  .section-content-with-image.image-right .section-image {
    order: 2;
  }
  
  .section-content-with-image.image-right .section-text-content {
    order: 1;
  }
}

.section-image {
  flex: 0 0 auto;
  width: 100%;
  max-width: 20rem;
  padding: 1rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .section-image {
    flex: 0 0 50%;
    width: 50%;
    max-width: none;
  }
}

.content-image {
  width: 100%;
  height: auto;
  max-height: 16rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  object-position: center;
}

@media (min-width: 768px) {
  .content-image {
    max-height: 20rem;
  }
}

.section-text-content {
  flex: 0 0 50%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 767px) {
  .section-text-content {
    flex: 1;
    padding: 1rem 0;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  text-decoration: none;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  color: var(--btn-primary-text, white);
  background-color: var(--btn-primary-bg, #2563eb);
}

.btn-primary:hover {
  background-color: var(--btn-primary-bg-hover, #1d4ed8);
}

.btn-primary:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--btn-primary-focus, #3b82f6);
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-left: 0.5rem;
}

.feature-link .btn-icon {
  width: 0.875rem;
  height: 0.875rem;
}

/* Section Divider */
.section-divider {
  margin-left: auto;
  margin-right: auto;
  margin-top: 2rem;
  margin-bottom: 2rem;
  max-width: 80rem;
  border: 0;
  border-top: 1px solid var(--border-color);
}

/* Responsive utilities */
@media (min-width: 768px) {
  .md\:w-1\/2 {
    width: 50%;
  }
}

/* Text utilities */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

@media (min-width: 1024px) {
  .lg\:text-left {
    text-align: left;
  }
}


/* =========================================
 * DOCNAV COMPONENT CSS
 * ========================================= */

.docnav {
  width: 100%;
}

/* Mobile Layout */
@media (max-width: 768px) {
  /* Hide desktop sidebar on mobile */
  .docnav-sidebar {
    display: none !important;
  }
  
  /* Show mobile dropdown */
  .docnav-mobile {
    display: block !important;
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  /* Mobile dropdown styling */
  .docnav-dropdown {
    margin: 0;
    width: 100%;
  }
  
  /* Collapse the dropdown panel when closed */
  .docnav-dropdown:not([open]) .docnav-dropdown-panel {
    display: none !important;
  }
  
  /* Mobile summary styling */
  .docnav-dropdown-summary {
    padding: 0.75rem;
  }
  
  /* Content area takes full width on mobile */
  .docnav-content {
    width: 100%;
    flex: 1;
  }
}

/* Desktop Layout */
@media (min-width: 769px) {
  /* Hide mobile dropdown on desktop */
  .docnav-mobile {
    display: none !important;
  }
  
  /* Show desktop sidebar */
  .docnav-sidebar {
    display: block !important;
    width: 250px;
    flex-shrink: 0;
    padding: 1rem;
  }
  
  /* Content area with sidebar layout */
  .docnav-content {
    flex: 1;
    min-width: 0; /* Prevent flex overflow */
  }
}

/* Base DocNav container - flexbox layout */
.docnav-container {
  display: flex;
  flex-direction: column;
}

@media (min-width: 769px) {
  .docnav-container {
    flex-direction: row;
  }
}

.docnav-sidebar {
  display: block;
  padding: 0.5rem;
}

.docnav-section {
  margin-bottom: 1.5rem; /* was mb-6 */
}

.docnav-dropdown-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 0.75rem;
  margin: 0;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  background: var(--surface);
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  box-sizing: border-box;
}

.docnav-dropdown-summary:hover {
  background: var(--surface-hover, rgba(0,0,0,0.03));
}

.docnav-section-heading {
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
  padding-left: 1rem;   /* was px-4 */
  padding-right: 1rem;  /* was px-4 */
  padding-top: 1rem;    /* was pt-4 */
  padding-bottom: 0.25rem; /* was pb-1 */
  font-size: 0.75rem;   /* was text-xs */
  font-weight: 600;     /* was font-semibold */
  text-transform: uppercase;
  letter-spacing: 0.05em; /* was tracking-wide */
}

.docnav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 0.5rem; /* was mt-2 */
}

.docnav-list li + li {
  margin-top: 0.25rem; /* was space-y-1 */
}

.docnav-sublist {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0 0; /* small gap above children */
  margin-left: 1rem; /* indent children */
  border-left: 1px solid var(--border-color);
}

.docnav-sublist li + li {
  margin-top: 0.125rem;
}

.docnav-sublist .docnav-link {
  padding-left: 0.75rem; /* slightly less than parent */
  font-size: 0.95em; /* slightly smaller than parent */
  border-left: none; /* avoid double emphasis */
}

.docnav-link {
  color: var(--text-secondary);
  background-color: transparent;
  transition: background-color 0.15s ease, color 0.15s ease;
  display: block; /* was block */
  padding: 0.5rem 1rem; /* was py-2 px-4 */
  font-weight: 500; /* was font-medium */
  border-left: 2px solid transparent; /* was border-l-2 */
}

.docnav-link:hover {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border-left-color: var(--border-color);
}

.docnav-link--active {
  color: var(--text-primary);
  background-color: var(--bg-secondary);
  border-left-color: var(--border-color);
}

/* Inline SVG caret styling */
.docnav-caret {
  display: inline-block;
  color: var(--text-secondary);
  transition: transform 150ms ease;
}

.docnav-dropdown[open] .docnav-caret {
  transform: rotate(180deg);
}


html, body {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.row {
    display: flex;
    box-sizing: border-box;
    width: 100%;
}

.sidebar {
    flex: 20%;
    width: 20%;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Optional separator line for pages that want a visual divider */
.sidebar-separator {
    border-right: 1px solid var(--ocuroot-border, #e5e7eb);
}

.column {
    flex: 80%;
    width: 80%;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Ocuroot Navbar - Vanilla CSS Implementation */

.ocuroot-navbar {
  background-color: var(--navbar-bg, #2d2e30);
  border-bottom: 1px solid var(--navbar-border, #404142);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Brand/Logo */
.navbar-brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--navbar-text, #f0f0f0);
  font-weight: 600;
  font-size: 1.25rem;
}

.brand-logo {
  height: 32px;
  width: 32px;
  margin-right: 0.5rem;
}

.brand-text {
  color: var(--navbar-text, #f0f0f0);
}

/* Hamburger Toggle (Mobile) */
.navbar-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.navbar-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: var(--navbar-text, #f0f0f0);
  margin: 3px 0;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Hamburger animation when active */
.navbar-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Navigation Menu */
.navbar-menu {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: space-between;
  margin-left: 2rem;
}

.navbar-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-item {
  position: relative;
  margin: 0 0.5rem;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--navbar-text, #f0f0f0);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.nav-link.active {
  color: #ffffff;
  font-weight: bold;
  border-bottom-color: #ffffff;
}

/* Dropdown functionality */
.dropdown-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.dropdown-arrow {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--navbar-bg, #242526);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.15s ease;
  z-index: 1001;
  pointer-events: none;
}

.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-link {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--navbar-text, #f0f0f0);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.dropdown-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--navbar-text, #ffffff);
  font-weight: bold;
}

/* Navbar Actions */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  color: var(--navbar-text, #ffffff);
}

.theme-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.theme-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Icon styling */
.moon-icon,
.sun-icon {
  fill: currentColor;
}

.sun-icon path {
  stroke: currentColor;
  fill: none;
}

.user-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.user-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .navbar-toggle {
    display: flex;
  }
  
  .navbar-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background-color: var(--navbar-bg, #242526);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    margin-left: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .navbar-menu.active {
    max-height: 500px;
    padding: 1rem;
    opacity: 1;
    visibility: visible;
  }
  
  .navbar-nav {
    flex-direction: column;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .nav-item {
    margin: 0;
    width: 100%;
  }
  
  .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-item:last-child .nav-link {
    border-bottom: none;
  }
  
  /* Mobile dropdown adjustments */
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background-color: rgba(255, 255, 255, 0.05);
    margin-left: 1rem;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0;
  }
  
  .dropdown.active .dropdown-menu {
    transform: none;
    max-height: 300px;
    padding: 0.5rem 0;
  }
  
  .navbar-actions {
    width: 100%;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* Color scheme adjustments */
@media (prefers-color-scheme: dark) {
  .ocuroot-navbar {
    --navbar-bg: #1f2021;
    --navbar-text: #f0f0f0;
    --navbar-border: #383a3c;
  }
}

@media (prefers-color-scheme: light) {
  .ocuroot-navbar {
    --navbar-bg: #2d2e30;
    --navbar-text: #f0f0f0;
    --navbar-border: #404142;
  }
}



	.architecture-diagram {
			margin: 2rem 0;
			display: flex;
			justify-content: center;
			--arrow-color: var(--text-secondary);
		}
		
		.diagram-grid {
			display: grid;
			grid-template-columns: 1fr 80px 1fr;
			grid-template-rows: auto 60px auto 80px;
			gap: 20px;
			align-items: center;
			justify-items: center;
			max-width: 600px;
		}
		
		.layer-wrapper {
			grid-column: 1 / -1;
			width: 100%;
			display: grid;
			grid-template-columns: 1fr 80px 1fr;
			row-gap: 20px;
			column-gap: 20px;
			align-items: center;
			justify-items: center;
			border-radius: 16px;
			padding: 4px 20px;
			margin: 0 10px;
		}
		
		.storage-layer {
			grid-row: 1 / 3;
			grid-template-rows: auto 60px auto;
		}
		
		.execution-environment {
			grid-row: 3 / -1;
			grid-template-rows: auto auto;
		}
		
		.bordered {
			border: 2px dashed var(--border-color, #ccc);
			background: rgba(0, 0, 0, 0.02);
			padding-top: 16px;
			padding-bottom: 16px;
		}
		
		.width-matcher {
			grid-column: 1 / -1;
			height: 0;
			visibility: hidden;
		}
		
		.component {
			background: white;
			border: 2px solid #333;
			border-radius: 12px;
			padding: 16px 20px;
			text-align: center;
			width: 100%;
			height: 100%;
			display: flex;
			flex-direction: column;
			justify-content: center;
			align-items: center;
			box-shadow: 0 2px 8px rgba(0,0,0,0.1);
			transition: transform 0.2s ease;
		}
		
		.component:hover {
			transform: translateY(-2px);
			box-shadow: 0 4px 12px rgba(0,0,0,0.15);
		}
		
		.component-icon {
			font-size: 24px;
			margin-bottom: 8px;
		}
		
		.component-label {
			font-weight: 600;
			font-size: 14px;
			color: #333;
			margin-bottom: 4px;
		}
		
		.component-subtitle {
			font-size: 11px;
			color: #666;
			line-height: 1.3;
		}
		
		/* Component-specific colors */
		.state-store {
			background: #e8f5e8;
			border-color: #1b5e20;
		}
		
		.cloud-resources {
			background: #f1f8e9;
			border-color: #33691e;
		}
		
		.ocuroot-client {
			background: #f3e5f5;
			border-color: #4a148c;
		}
		
		.tools {
			background: #fff3e0;
			border-color: #e65100;
		}
		
		.ci-platform {
			background: #e1f5fe;
			border-color: #01579b;
			grid-column: 1 / -1;
			width: 100%;
			max-width: none;
		}
		
		/* Arrow styles */
		.arrow {
			display: flex;
			align-items: center;
			justify-content: center;
		}
		
		.arrow-svg {
			display: block;
		}
		
		.spacer {
			/* Empty grid cell for spacing */
		}
		
		/* Responsive design */
		@media (max-width: 768px) {
			.diagram-grid {
				grid-template-columns: 1fr 60px 1fr;
				gap: 15px;
				max-width: 400px;
			}
			
			.component {
				min-width: 100px;
				padding: 12px 16px;
			}
			
			.component-icon {
				font-size: 20px;
			}
			
			.component-label {
				font-size: 12px;
			}
			
			.component-subtitle {
				font-size: 10px;
			}
		}
	


.blog-hero-subtitle {
    margin-top: 8px;
    color: var(--text-secondary);
	font-size: 1.25rem;
}

.markdown-content {
    font-size: 1rem;
}

.markdown-content h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.markdown-content h2, h3, h4, h5, h6 {
    margin-top: 2rem;
}

.markdown-content h1 {
    font-weight: 800;
    font-size: 3rem;
}

.markdown-content h2 {
    font-size: 2rem;
}

.markdown-content h3 {
    font-size: 1.5rem;
}

.markdown-content p {
    margin-bottom: 1rem;
}

.markdown-content ul {
    margin-left: 1rem;
    list-style: disc;
    margin-bottom: 1rem;
}

.markdown-content ol {
    margin-left: 1rem;
    list-style: decimal;
    margin-bottom: 1rem;
}

.markdown-content li {
    margin-bottom: 0.5rem;
}

/**
 * Style markdown post images
 * - Set a maximum height for blog post images, so they don't overflow their containers
 * - Center images horizontally
 */
 .markdown-content img {
    max-height: 600px;
    display: block;
    margin: 0 auto;
  }  

/* Footer Styles */
.site-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    padding: 2rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--link-hover-color);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-align: center;
}

/* Responsive footer */
@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .footer-links {
        justify-content: flex-start;
    }
}

.social-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
}

.social-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: white;
    transition: color 0.2s ease-in-out;
}

.social-button:hover {
    color: #b3b3b3;
}

.social-button img {
    width: 1.5rem;
    height: 1.5rem;
}

.section-text-content p {
    margin-bottom: 1.5rem; 
    font-size: 1.125rem; 
    color: var(--text-secondary);
}
    

.mermaid {
	text-align: center;
	margin: 1rem 0;
	background: transparent;
}

/* Reduce spacing in block diagrams */
.mermaid .block {
	margin: 0.5rem 0;
}

.mermaid .block-beta {
	line-height: 1.2;
}

.mermaid svg {
	max-width: 100%;
	height: auto;
}

/* Ensure mermaid diagrams are responsive */
@media (max-width: 768px) {
	.mermaid {
		margin: 1rem 0;
	}
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
	.mermaid {
		filter: invert(1) hue-rotate(180deg);
	}
	
	.mermaid [fill="#ffffff"] {
		fill: #000000 !important;
	}
}


/* Chroma syntax highlighting support */
pre.chroma {
  background: #1e1e1e;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin: 1.5rem 0;
  padding: 1rem;
  overflow: hidden;
  position: relative;
}

pre.chroma code {
  display: block;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  background: transparent;
  color: #dcdcdc;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.875rem;
  line-height: 1.6;
  overflow-x: auto;
  border: none;
  border-radius: 0;
}

/* Chroma syntax highlighting colors (Bright theme for dark backgrounds) */
.chroma .k { color: #ff6b9d; } /* Keyword - bright pink */
.chroma .kc { color: #4fc3f7; } /* Keyword.Constant - bright blue */
.chroma .kd { color: #ff6b9d; } /* Keyword.Declaration - bright pink */
.chroma .kn { color: #ff6b9d; } /* Keyword.Namespace - bright pink */
.chroma .kp { color: #ff6b9d; } /* Keyword.Pseudo - bright pink */
.chroma .kr { color: #ff6b9d; } /* Keyword.Reserved - bright pink */
.chroma .kt { color: #ff6b9d; } /* Keyword.Type - bright pink */
.chroma .na { color: #c792ea; } /* Name.Attribute - bright purple */
.chroma .nb { color: #82b1ff; } /* Name.Builtin - bright light blue */
.chroma .nc { color: #c792ea; } /* Name.Class - bright purple */
.chroma .no { color: #4fc3f7; } /* Name.Constant - bright blue */
.chroma .nd { color: #c792ea; } /* Name.Decorator - bright purple */
.chroma .ni { color: #c792ea; } /* Name.Entity - bright purple */
.chroma .ne { color: #c792ea; } /* Name.Exception - bright purple */
.chroma .nf { color: #c792ea; } /* Name.Function - bright purple */
.chroma .nl { color: #c792ea; } /* Name.Label - bright purple */
.chroma .nn { color: #c792ea; } /* Name.Namespace - bright purple */
.chroma .nx { color: #f8f8f2; } /* Name.Other - bright white */
.chroma .py { color: #f8f8f2; } /* Name.Property - bright white */
.chroma .nt { color: #a5e844; } /* Name.Tag - bright green */
.chroma .nv { color: #ffb74d; } /* Name.Variable - bright orange */
.chroma .ow { color: #ff6b9d; } /* Operator.Word - bright pink */
.chroma .w { color: #bbbbbb; } /* Text.Whitespace */
.chroma .mb { color: #4fc3f7; } /* Literal.Number.Bin - bright blue */
.chroma .mf { color: #4fc3f7; } /* Literal.Number.Float - bright blue */
.chroma .mh { color: #4fc3f7; } /* Literal.Number.Hex - bright blue */
.chroma .mi { color: #4fc3f7; } /* Literal.Number.Integer - bright blue */
.chroma .mo { color: #4fc3f7; } /* Literal.Number.Oct - bright blue */
.chroma .sa { color: #c3e88d; } /* Literal.String.Affix - bright light green */
.chroma .sb { color: #c3e88d; } /* Literal.String.Backtick - bright light green */
.chroma .sc { color: #c3e88d; } /* Literal.String.Char - bright light green */
.chroma .dl { color: #c3e88d; } /* Literal.String.Delimiter - bright light green */
.chroma .sd { color: #c3e88d; } /* Literal.String.Doc - bright light green */
.chroma .s2 { color: #c3e88d; } /* Literal.String.Double - bright light green */
.chroma .se { color: #c3e88d; } /* Literal.String.Escape - bright light green */
.chroma .sh { color: #c3e88d; } /* Literal.String.Heredoc - bright light green */
.chroma .si { color: #c3e88d; } /* Literal.String.Interpol - bright light green */
.chroma .sx { color: #c3e88d; } /* Literal.String.Other - bright light green */
.chroma .sr { color: #c3e88d; } /* Literal.String.Regex - bright light green */
.chroma .s1 { color: #c3e88d; } /* Literal.String.Single - bright light green */
.chroma .ss { color: #c3e88d; } /* Literal.String.Symbol - bright light green */
.chroma .bp { color: #82b1ff; } /* Name.Builtin.Pseudo - bright light blue */
.chroma .fm { color: #c792ea; } /* Name.Function.Magic - bright purple */
.chroma .vc { color: #ffb74d; } /* Name.Variable.Class - bright orange */
.chroma .vg { color: #ffb74d; } /* Name.Variable.Global - bright orange */
.chroma .vi { color: #ffb74d; } /* Name.Variable.Instance - bright orange */
.chroma .vm { color: #ffb74d; } /* Name.Variable.Magic - bright orange */
.chroma .il { color: #4fc3f7; } /* Literal.Number.Integer.Long - bright blue */

/* Comments */
.chroma .c { color: #8a8a8a; font-style: italic; } /* Comment - bright gray */
.chroma .ch { color: #8a8a8a; font-style: italic; } /* Comment.Hashbang - bright gray */
.chroma .cm { color: #8a8a8a; font-style: italic; } /* Comment.Multiline - bright gray */
.chroma .c1 { color: #8a8a8a; font-style: italic; } /* Comment.Single - bright gray */
.chroma .cs { color: #8a8a8a; font-style: italic; } /* Comment.Special - bright gray */
.chroma .cp { color: #8a8a8a; font-style: italic; } /* Comment.Preproc - bright gray */
.chroma .cpf { color: #8a8a8a; font-style: italic; } /* Comment.PreprocFile - bright gray */


.git-repo-card {
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    padding: 24px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: box-shadow 0.2s ease;
    display: flex;
    gap: 24px;
}

.git-repo-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.repo-avatar-section {
    flex-shrink: 0;
}

.repo-avatar {
    width: 140px;
    height: 140px;
    border-radius: 10px;
    object-fit: fill;
}

.repo-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
}

.repo-header {
    margin-bottom: 4px;
}

.repo-name {
    font-weight: 600;
    color: #0366d6;
    text-decoration: none;
    font-size: 18px;
    display: block;
}

.repo-name:hover {
    text-decoration: underline;
}

.repo-description {
    color: #586069;
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.3;
}

.repo-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: #586069;
}

.repo-stat {
    display: flex;
    align-items: center;
    gap: 4px;
}

.repo-language-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.repo-loading {
    color: #586069;
    font-style: italic;
}

.repo-error {
    color: #d73a49;
    font-size: 14px;
}

.terminal-window {
    background: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    max-width: 100%;
    min-width: 45%;
}

.terminal-header {
    background: #2d2d30;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #3e3e42;
    position: relative;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.terminal-button:hover {
    opacity: 0.8;
}

.terminal-button.close {
    background: #ff5f57;
}

.terminal-button.minimize {
    background: #ffbd2e;
}

.terminal-button.maximize {
    background: #28ca42;
}

.terminal-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #cccccc;
    font-size: 13px;
    font-weight: 500;
    pointer-events: none;
}

.terminal-body {
    background: #1e1e1e;
    padding: 20px;
    overflow-x: auto;
}

.terminal-code {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #d4d4d4;
    font-size: 14px;
    line-height: 1.4;
    white-space: pre;
    overflow-x: auto;
}

.terminal-code div {
    line-height: 1.4;
    margin: 0;
}

.terminal-code code {
    background: none !important;
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    display: block;
}

/* Override Chroma styles for terminal window */
.terminal-code.chroma {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.terminal-code.chroma code {
    padding: 0 !important;
    background: transparent !important;
    color: #d4d4d4 !important;
}

/* Custom syntax highlighting for terminal */
.py-keyword {
    color: #ff6b9d;
    font-weight: 600;
}

.py-string {
    color: #a5e844;
}

.py-comment {
    color: #6a9955;
    font-style: italic;
}

.py-number {
    color: #4fc3f7;
}

.py-function {
    color: #c792ea;
    font-weight: 600;
}

.py-function-call {
    color: #82b1ff;
}

/* Responsive design */
@media (max-width: 768px) {
    .terminal-body {
        padding: 16px;
    }
    
    .terminal-code {
        font-size: 13px;
    }
}


.hljs, .hljs-subst {
    background-color: var(--bg-surface) !important;
    color: var(--text-primary) !important;
}

.hljs-punctuation {
    color: var(--primary-color) !important;
}

.hljs-attr {
    color: var(--text-secondary) !important;
}

.hljs-string {
    color: var(--link-color) !important;
}

.hljs-literal {
    color: var(--link-color) !important;
}

.halfcolumn {
    flex: 50%;
    width: 50%;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.column {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.column-40 {
    flex: 40%;
    width: 40%;
}

.column-60 {
    flex: 60%;
    width: 60%;
}

.functionheader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.5rem;
}

.functionheader h2 {
    margin: 0;
}

.functionstatus {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logview {
    height: 70vh;
}

.logview .log-container {
    height: calc(70vh - 2rem);
    overflow-y: scroll;
}

.divider {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.input {
    margin-bottom: 0.5rem;
}

.output {
    margin-bottom: 0.5rem;
}


.ref-header {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0.5rem;
}

.ref-header headeritem {
    align-items: center;
}

.ref-header h2 {
    margin: 0;
}

pre.text_value, pre.json_value {
    color: var(--text-secondary);
    overflow: auto;
    max-height: calc(10 * 1.6rem); /* 16px per line */
}


    .environmentgrid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .environment {
        padding: 1rem;
        border: 1px solid var(--border-color);
        border-radius: 0.5rem;
        text-align: center;
    }

    .environment:hover {
        background-color: var(--bg-secondary);
    }


/* Blog Layout Styles */

/* Hero post layout */
.hero-blog-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.hero-image-third {
  flex: 0 0 33.333%;
  max-width: 33.333%;
}

.hero-text-flex {
  flex: 1;
  min-width: 0; /* Prevents flex item from overflowing */
}

.hero-cover-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Blog post grid cards */
.blog-post-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-surface);
  transition: box-shadow 0.2s ease;
  overflow: hidden;
}

.blog-post-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-post-image {
  width: 100%;
  overflow: hidden;
}

.blog-post-content {
  padding: 1rem 1.5rem 1.5rem 1.5rem;
  flex: 1;
}

.post-cover-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.blog-post-card:hover .post-cover-image {
  transform: scale(1.05);
}

/* Individual blog post cover image */
.blog-post-cover-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
  object-fit: cover;
}

.blog-cover-section {
  margin: 1rem 0;
}

.blog-cover-image {
  text-align: center;
}

.image-credit {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.5rem;
  text-align: center;
  font-style: italic;
}

.image-credit a {
  color: #3b82f6;
  text-decoration: none;
}

.image-credit a:hover {
  text-decoration: underline;
}

/* Blog post grid layout */
.blog-posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Responsive grid columns */
@media (min-width: 640px) {
  .blog-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Blog Post Heading Section */
.blog-heading {
  padding: 2rem 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}

.blog-heading-text {
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.blog-heading-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.blog-heading-meta {
  margin-top: 1rem;
}

.blog-heading-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-weight: 400;
}

.blog-heading-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.blog-heading-tag {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.blog-heading-tag:hover {
  background: var(--button-primary-hover);
}

.blog-content {
  font-size: 18px;
}

.blog-content p {
  margin-bottom: 1rem;
}

.blog-content p code {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.875em;
}

.blog-content h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-blog-layout {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-image-third {
    flex: none;
    max-width: 100%;
  }
  
  .blog-post-content {
    padding: 1rem;
  }
}

/* Blog post content styling */
.blog-post-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.blog-post-link:hover {
  color: inherit;
  text-decoration: none;
}

.blog-post-title {
  margin-top: 0;
}

.blog-post-title a {
  color: inherit;
  text-decoration: none;
}

.blog-post-title a:hover {
  color: var(--link-hover-color);
}

.blog-post-meta {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin: 0.5rem 0;
}

.blog-post-description {
  color: var(--text-primary);
  line-height: 1.6;
  margin: 1rem 0;
}

.blog-post-tags {
  margin-top: 1rem;
}

.tag {
  display: inline-block;
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  margin-right: 0.5rem;
  margin-bottom: 0.25rem;
}

/* Code Block Card Styling */
pre {
  background: #1e1e1e;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin: 1.5rem 0;
  padding: 1rem;
  overflow: hidden;
  position: relative;
}

pre code {
  display: block;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  background: transparent;
  color: #dcdcdc;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.875rem;
  line-height: 1.6;
  overflow-x: auto;
  border: none;
  border-radius: 0;
}

pre.text {
  background: transparent;
  color: var(--text-primary);
  font-size: 1rem;
  border: none;
  box-shadow: none;
}

/* Language label for code blocks */
pre[class*="language-"]::before {
  content: attr(class);
  position: absolute;
  top: 0;
  right: 0;
  background: #374151;
  color: #f9fafb;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  border-bottom-left-radius: 4px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* Custom scrollbar for code blocks */
pre::-webkit-scrollbar {
  height: 8px;
  background: #2d2d2d;
}

pre::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 4px;
}

pre::-webkit-scrollbar-thumb:hover {
  background: #777;
}

/* Firefox scrollbar */
pre {
  scrollbar-width: thin;
  scrollbar-color: #555 #2d2d2d;
}
