/* Shadcn/ui inspired theme for ToolToy */

:root {
    --background: 0 0% 100%;
    --foreground: 222.2 84% 4.9%;
    --card: 0 0% 100%;
    --card-foreground: 222.2 84% 4.9%;
    --popover: 0 0% 100%;
    --popover-foreground: 222.2 84% 4.9%;
    --primary: 221.2 83.2% 53.3%;
    --primary-foreground: 210 40% 98%;
    --secondary: 210 40% 96%;
    --secondary-foreground: 222.2 84% 4.9%;
    --muted: 210 40% 96%;
    --muted-foreground: 215.4 16.3% 46.9%;
    --accent: 210 40% 96%;
    --accent-foreground: 222.2 84% 4.9%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;
    --border: 214.3 31.8% 91.4%;
    --input: 214.3 31.8% 91.4%;
    --ring: 221.2 83.2% 53.3%;
    --radius: 0.5rem;
}

.dark {
    --background: 222.2 84% 4.9%;
    --foreground: 210 40% 98%;
    --card: 222.2 84% 4.9%;
    --card-foreground: 210 40% 98%;
    --popover: 222.2 84% 4.9%;
    --popover-foreground: 210 40% 98%;
    --primary: 217.2 91.2% 59.8%;
    --primary-foreground: 222.2 84% 4.9%;
    --secondary: 217.2 32.6% 17.5%;
    --secondary-foreground: 210 40% 98%;
    --muted: 217.2 32.6% 17.5%;
    --muted-foreground: 215 20.2% 65.1%;
    --accent: 217.2 32.6% 17.5%;
    --accent-foreground: 210 40% 98%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 210 40% 98%;
    --border: 217.2 32.6% 17.5%;
    --input: 217.2 32.6% 17.5%;
    --ring: 224.3 76.3% 94.1%;
}

* {
    border-color: hsl(var(--border));
}

body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Shadcn/ui Components */

/* Button styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: calc(var(--radius) - 2px);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    gap: 0.5rem;
}

.btn:focus-visible {
    outline: 2px solid hsl(var(--ring));
    outline-offset: 2px;
}

.btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

.btn-default {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 0.5rem 1rem;
}

.btn-default:hover {
    background-color: hsl(var(--primary) / 0.9);
    color: hsl(var(--primary-foreground));
    text-decoration: none;
}

.btn-secondary {
    background-color: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
    padding: 0.5rem 1rem;
}

.btn-secondary:hover {
    background-color: hsl(var(--secondary) / 0.8);
    color: hsl(var(--secondary-foreground));
    text-decoration: none;
}

.btn-outline {
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    padding: 0.5rem 1rem;
}

.btn-outline:hover {
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
    text-decoration: none;
}

.btn-ghost {
    background-color: transparent;
    color: hsl(var(--foreground));
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: calc(var(--radius) - 2px);
    transition: all 0.2s ease;
}

.btn-ghost:hover {
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
    text-decoration: none;
    border-color: hsl(var(--border));
}

.btn-ghost:focus {
    outline: none;
    box-shadow: 0 0 0 2px hsl(var(--ring));
}

/* Theme toggle specific styling */
#themeToggle {
    min-width: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#themeToggle i {
    font-size: 1rem;
}

.btn-sm {
    height: 2.25rem;
    padding: 0 0.75rem;
    font-size: 0.8125rem;
}

.btn-lg {
    height: 2.75rem;
    padding: 0 2rem;
    font-size: 1rem;
}

/* Card styles */
.card {
    border-radius: calc(var(--radius) + 2px);
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--card));
    color: hsl(var(--card-foreground));
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    transition: all 0.2s;
}

.card:hover {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid hsl(var(--border));
    background-color: hsl(var(--muted) / 0.5);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
}

/* Sidebar Layout */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 280px;
    background-color: hsl(var(--card));
    border-right: 1px solid hsl(var(--border));
    z-index: 1000;
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 8px hsl(var(--border) / 0.3);
}

.sidebar.collapsed {
    transform: translateX(-280px);
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid hsl(var(--border));
    background-color: hsl(var(--muted) / 0.3);
}

.sidebar-brand {
    color: hsl(var(--foreground));
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-brand:hover {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
}

.sidebar-nav {
    padding: 1rem 0;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    font-weight: 500;
    gap: 0.75rem;
    border-radius: 0 0.5rem 0.5rem 0;
    margin: 0.125rem 0;
}

.sidebar-nav-item:hover {
    color: hsl(var(--foreground));
    background-color: hsl(var(--accent));
    border-left-color: hsl(var(--foreground));
    text-decoration: none;
    transform: translateX(2px);
}

.sidebar-nav-item.active {
    color: hsl(var(--foreground));
    background-color: hsl(var(--muted) / 0.8);
    border-left-color: hsl(var(--foreground));
    font-weight: 600;
    box-shadow: inset 0 1px 0 hsl(var(--border)), inset 0 -1px 0 hsl(var(--border));
}

.sidebar-nav-item.active:hover {
    transform: none;
    background-color: hsl(var(--muted));
}

/* Main content area */
.main-content {
    margin-left: 280px;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
    background-color: hsl(var(--background));
}

.main-content.expanded {
    margin-left: 0;
}

.top-header {
    background-color: hsl(var(--background));
    padding: 1rem 1.5rem;
    border-bottom: 1px solid hsl(var(--border));
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(8px);
    background-color: hsl(var(--background) / 0.95);
}

.sidebar-toggle {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    cursor: pointer;
    padding: 0.5rem;
    border-radius: calc(var(--radius) - 2px);
    transition: all 0.2s ease;
}

.sidebar-toggle:hover {
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}

.content-wrapper {
    padding: 2rem;
}

/* Input styles */
.form-control {
    display: flex;
    height: 2.5rem;
    width: 100%;
    border-radius: calc(var(--radius) - 2px);
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--background));
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    transition: all 0.2s;
    color: hsl(var(--foreground));
}

.form-control:focus {
    outline: none;
    border-color: hsl(var(--ring));
    box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

.form-control::placeholder {
    color: hsl(var(--muted-foreground));
}

.form-control.is-invalid {
    border-color: hsl(var(--destructive));
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
    display: block;
}

/* Alert styles */
.alert {
    position: relative;
    width: 100%;
    border-radius: calc(var(--radius) - 2px);
    border: 1px solid hsl(var(--border));
    padding: 1rem;
    margin-bottom: 1rem;
}

.alert-success {
    border-color: hsl(142.1 76.2% 36.3%);
    color: hsl(142.1 76.2% 36.3%);
    background-color: hsl(142.1 76.2% 36.3% / 0.1);
}

.alert-danger {
    border-color: hsl(var(--destructive));
    color: hsl(var(--destructive));
    background-color: hsl(var(--destructive) / 0.1);
}

.alert-warning {
    border-color: hsl(47.9 95.8% 53.1%);
    color: hsl(47.9 95.8% 53.1%);
    background-color: hsl(47.9 95.8% 53.1% / 0.1);
}

.alert-info {
    border-color: hsl(var(--primary));
    color: hsl(var(--primary));
    background-color: hsl(var(--primary) / 0.1);
}

/* Badge styles */
.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.125rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s;
}

.badge-primary {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.badge-secondary {
    background-color: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
}

.badge-success {
    background-color: hsl(142.1 76.2% 36.3%);
    color: hsl(210 40% 98%);
}

.badge-danger {
    background-color: hsl(var(--destructive));
    color: hsl(var(--destructive-foreground));
}

.badge-warning {
    background-color: hsl(47.9 95.8% 53.1%);
    color: hsl(222.2 84% 4.9%);
}

/* Feature icons */
.feature-icon {
    transition: transform 0.2s ease;
}

.card:hover .feature-icon {
    transform: scale(1.05);
}

/* JSON specific styles */
.json-container {
    background-color: hsl(var(--muted) / 0.3);
    border: 1px solid hsl(var(--border));
    border-radius: calc(var(--radius) - 2px);
    padding: 1rem;
    font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'SF Mono', Consolas, 'Liberation Mono', Menlo, monospace;
    white-space: pre-wrap;
    min-height: 600px;
    max-height: 80vh;
    overflow-y: auto;
    font-size: 0.875rem;
    line-height: 1.5;
    color: hsl(var(--foreground));
}

.json-input-area {
    min-height: 400px;
    font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'SF Mono', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.875rem;
    line-height: 1.5;
    resize: vertical;
}

.json-log-container {
    min-height: 500px;
    max-height: 70vh;
}

/* Syntax highlighting */
.json-highlight {
    background-color: hsl(47.9 95.8% 53.1% / 0.3);
    padding: 0.125rem 0.25rem;
    border-radius: calc(var(--radius) - 4px);
    border: 1px solid hsl(47.9 95.8% 53.1% / 0.5);
}

.json-key {
    color: hsl(221.2 83.2% 53.3%);
    font-weight: 600;
}

.json-string {
    color: hsl(142.1 76.2% 36.3%);
}

.json-number {
    color: hsl(25.7 95% 53.1%);
}

.json-boolean {
    color: hsl(262.1 83.3% 57.8%);
}

.json-null {
    color: hsl(var(--muted-foreground));
    font-style: italic;
}

.json-highlight {
    background-color: #fff3cd;
    padding: 2px 4px;
    border-radius: 3px;
}

.json-key {
    color: #0066cc;
    font-weight: bold;
}

.json-string {
    color: #009900;
}

.json-number {
    color: #cc6600;
}

.json-boolean {
    color: #990099;
}

.json-null {
    color: #999999;
}

/* Diff styles */
.diff-added {
    background-color: hsl(142.1 76.2% 36.3% / 0.1);
    border-left: 4px solid hsl(142.1 76.2% 36.3%);
    padding-left: 0.75rem;
    margin: 0.25rem 0;
    border-radius: calc(var(--radius) - 2px);
}

.diff-removed {
    background-color: hsl(var(--destructive) / 0.1);
    border-left: 4px solid hsl(var(--destructive));
    padding-left: 0.75rem;
    margin: 0.25rem 0;
    border-radius: calc(var(--radius) - 2px);
}

.diff-modified {
    background-color: hsl(47.9 95.8% 53.1% / 0.1);
    border-left: 4px solid hsl(47.9 95.8% 53.1%);
    padding-left: 0.75rem;
    margin: 0.25rem 0;
    border-radius: calc(var(--radius) - 2px);
}

/* Upload area */
.upload-area {
    border: 2px dashed hsl(var(--border));
    border-radius: calc(var(--radius) + 2px);
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    background-color: hsl(var(--muted) / 0.3);
}

.upload-area:hover {
    border-color: hsl(var(--primary));
    background-color: hsl(var(--primary) / 0.05);
}

.upload-area.dragover {
    border-color: hsl(var(--primary));
    background-color: hsl(var(--primary) / 0.1);
    transform: scale(1.02);
}

/* Filter chips */
.filter-chip {
    display: inline-flex;
    align-items: center;
    background-color: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
    padding: 0.375rem 0.75rem;
    margin: 0.125rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid hsl(var(--border));
}

.filter-chip:hover {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-color: hsl(var(--primary));
    transform: translateY(-1px);
}

.filter-chip.active {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-color: hsl(var(--primary));
}

/* Signature verification styles */
.signature-result {
    padding: 1.5rem;
    border-radius: calc(var(--radius) + 2px);
    margin-top: 1rem;
    text-align: center;
}

.signature-valid {
    background-color: hsl(142.1 76.2% 36.3% / 0.1);
    border: 1px solid hsl(142.1 76.2% 36.3% / 0.3);
    color: hsl(142.1 76.2% 36.3%);
}

.signature-invalid {
    background-color: hsl(var(--destructive) / 0.1);
    border: 1px solid hsl(var(--destructive) / 0.3);
    color: hsl(var(--destructive));
}

.signature-warning {
    background-color: hsl(47.9 95.8% 53.1% / 0.1);
    border: 1px solid hsl(47.9 95.8% 53.1% / 0.3);
    color: hsl(47.9 95.8% 53.1%);
}

/* Loading states */
.loading-spinner {
    display: none;
    animation: spin 1s linear infinite;
}

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

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Typography */
.display-4 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.25;
    color: hsl(var(--foreground));
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: hsl(var(--muted-foreground));
}

/* Utilities */
.text-muted {
    color: hsl(var(--muted-foreground)) !important;
}

.text-primary {
    color: hsl(var(--primary)) !important;
}

.text-success {
    color: hsl(142.1 76.2% 36.3%) !important;
}

.text-warning {
    color: hsl(47.9 95.8% 53.1%) !important;
}

.text-danger {
    color: hsl(var(--destructive)) !important;
}

.border-primary {
    border-color: hsl(var(--primary)) !important;
}

.bg-muted {
    background-color: hsl(var(--muted)) !important;
}

/* Multi-field search styles */
.multi-field-row {
    border: 1px solid hsl(var(--border));
    border-radius: calc(var(--radius) - 2px);
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background-color: hsl(var(--muted) / 0.3);
}

.multi-field-row:hover {
    background-color: hsl(var(--muted) / 0.5);
}

.field-select {
    border-radius: calc(var(--radius) - 2px);
}

/* JSON Log Entry styles */
.json-entry {
    border-left: 3px solid hsl(var(--border));
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.json-entry.matched {
    border-left-color: hsl(142.1 76.2% 36.3%);
    background-color: hsl(142.1 76.2% 36.3% / 0.05);
}

.json-entry.invalid {
    border-left-color: hsl(var(--destructive));
    background-color: hsl(var(--destructive) / 0.05);
}

.entry-header {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.entry-content {
    font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'SF Mono', Consolas, monospace;
    font-size: 0.8125rem;
    line-height: 1.4;
}

/* Performance indicators */
.performance-stats {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
    padding: 0.5rem;
    background-color: hsl(var(--muted) / 0.3);
    border-radius: calc(var(--radius) - 2px);
    margin-bottom: 1rem;
}

/* JSON Log Filter Styles */
.json-results-container {
    background-color: hsl(var(--muted) / 0.1);
    border-radius: calc(var(--radius) - 2px);
    font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'SF Mono', Consolas, monospace;
    font-size: 0.8rem;
    line-height: 1.3;
    max-height: 600px;
    overflow: auto;
    padding: 1rem;
}

.json-results-container:empty::before {
    content: "Kết quả sẽ hiển thị ở đây...";
    color: hsl(var(--muted-foreground));
    font-style: italic;
}

.json-line {
    padding: 0.25rem 0;
    border-bottom: 1px solid hsl(var(--border) / 0.3);
    white-space: nowrap;
    overflow-x: auto;
    font-size: 0.8rem;
    line-height: 1.2;
}

.json-line:last-child {
    border-bottom: none;
}

.json-line:hover {
    background-color: hsl(var(--muted) / 0.3);
}

/* Checkbox container for display fields */
.checkbox-container {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid hsl(var(--border));
    border-radius: calc(var(--radius) - 2px);
    padding: 0.75rem;
    background-color: hsl(var(--muted) / 0.1);
}

.checkbox-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.checkbox-item:last-child {
    margin-bottom: 0;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 0.5rem;
}

/* Multi-filter rows */
.multi-filter-row {
    background-color: hsl(var(--muted) / 0.1);
    border: 1px solid hsl(var(--border));
    border-radius: calc(var(--radius) - 2px);
    padding: 0.75rem;
    margin-bottom: 0.5rem;
}

.multi-filter-row:hover {
    background-color: hsl(var(--muted) / 0.2);
}

/* Multi-select styling */
select[multiple] {
    min-height: 100px;
}

select[multiple] option {
    padding: 0.25rem 0.5rem;
}

select[multiple] option:checked {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

/* Filter controls styling */
.filter-controls {
    background-color: hsl(var(--muted) / 0.3);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Results section */
#resultsSection {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* JSON input textarea */
#jsonInput {
    font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'SF Mono', Consolas, monospace;
    font-size: 0.875rem;
    line-height: 1.4;
    resize: vertical;
    min-height: 200px;
}

#jsonInput:focus {
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 0.2rem hsl(var(--primary) / 0.25);
}

/* Badge styling */
.badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.badge-primary {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

/* Button group spacing */
.btn + .btn {
    margin-left: 0.5rem;
}

/* Processing, Error and Success Indicators */
#processingIndicator, #errorMessage, #successMessage {
    border-radius: var(--radius);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    animation: slideInRight 0.3s ease-out;
    max-width: 300px;
    word-wrap: break-word;
    padding: 0.75rem 1rem;
}

#processingIndicator {
    background-color: hsl(var(--primary) / 0.1);
    border: 1px solid hsl(var(--primary));
    color: hsl(var(--primary));
}

#errorMessage {
    background-color: hsl(var(--destructive) / 0.1);
    border: 1px solid hsl(var(--destructive));
    color: hsl(var(--destructive));
}

#successMessage {
    background-color: hsl(142.1 76.2% 36.3% / 0.1);
    border: 1px solid hsl(142.1 76.2% 36.3%);
    color: hsl(142.1 76.2% 36.3%);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Performance optimizations */
.json-display {
    /* Enable hardware acceleration */
    transform: translateZ(0);
    will-change: scroll-position;
}

/* Large dataset handling */
.large-dataset-warning {
    background-color: hsl(var(--warning) / 0.1);
    border: 1px solid hsl(var(--warning));
    color: hsl(var(--warning));
    padding: 0.75rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

/* Spinner animation */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .json-display {
        font-size: 0.75rem;
        max-height: 300px;
    }

    #jsonInput {
        min-height: 150px;
        font-size: 0.75rem;
    }

    .btn {
        margin-bottom: 0.5rem;
    }

    #processingIndicator, #errorMessage {
        position: fixed !important;
        top: 10px !important;
        right: 10px !important;
        left: 10px !important;
        max-width: none;
    }
}

/* Footer */
footer {
    margin-top: auto;
    border-top: 1px solid hsl(var(--border));
    background-color: hsl(var(--muted) / 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-280px);
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .display-4 {
        font-size: 2rem;
    }

    .json-container {
        font-size: 0.875rem;
        min-height: 400px;
        max-height: 60vh;
    }

    .content-wrapper {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .json-container {
        min-height: 300px;
        max-height: 50vh;
    }

    .sidebar {
        width: 100%;
        transform: translateX(-100%);
    }

    .sidebar.show {
        transform: translateX(0);
    }
}
