/* Base styles */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --bg-color: #0b0c10;
    --card-bg: rgba(17, 18, 28, 0.65);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --primary: #8b5cf6;
    --primary-glow: rgba(139, 92, 246, 0.4);
    --secondary: #6366f1;
    --accent: #ec4899;
    --success: #10b981;
    --success-glow: rgba(16, 185, 129, 0.3);
    --danger: #ef4444;
    
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Background elements for glow */
body::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(0,0,0,0) 70%);
    top: -200px;
    right: -200px;
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
}

body::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(0,0,0,0) 70%);
    bottom: -150px;
    left: -150px;
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
}

/* Header */
header {
    padding: 1.5rem 5% 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(11, 12, 16, 0.8);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo svg {
    stroke: var(--primary);
    width: 28px;
    height: 28px;
}

.badge {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Main Container */
main {
    flex: 1;
    max-width: 1200px;
    width: 90%;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Drag & Drop Zone */
.drop-container {
    background: var(--card-bg);
    border: 2px dashed var(--card-border);
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.drop-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.drop-container:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}

.drop-container:hover::before {
    opacity: 1;
}

.drop-container.drag-over {
    border-color: var(--success);
    background: rgba(16, 185, 129, 0.05);
    transform: scale(0.99);
    box-shadow: 0 0 40px var(--success-glow);
}

.drop-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.drop-container:hover .drop-icon-wrapper {
    color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    transform: rotate(5deg) scale(1.1);
}

.drop-container.drag-over .drop-icon-wrapper {
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.drop-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.drop-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 400px;
    line-height: 1.5;
}

.file-input {
    display: none;
}

.browse-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.browse-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

/* App Grid Content (Initially Hidden) */
.app-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    .app-content {
        grid-template-columns: 1.12fr 0.88fr;
    }
}

/* Glass Cards */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 1.75rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 1rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-title svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

/* Files List Table/List */
.files-list-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

/* Custom scrollbar */
.files-list-container::-webkit-scrollbar,
.gltf-json-viewer::-webkit-scrollbar {
    width: 6px;
}
.files-list-container::-webkit-scrollbar-track,
.gltf-json-viewer::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 3px;
}
.files-list-container::-webkit-scrollbar-thumb,
.gltf-json-viewer::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}
.files-list-container::-webkit-scrollbar-thumb:hover,
.gltf-json-viewer::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.file-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(139, 92, 246, 0.3);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.file-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.file-icon.json-icon {
    color: var(--accent);
    background: rgba(236, 72, 153, 0.1);
}

.file-icon.bin-icon {
    color: var(--secondary);
    background: rgba(99, 102, 241, 0.1);
}

.file-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.file-name {
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: scale(1.05);
}

/* Texture Gallery */
.texture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 1rem;
}

.texture-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.texture-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.texture-preview-wrapper {
    aspect-ratio: 1;
    width: 100%;
    border-radius: 8px;
    background: #171821;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

/* Checkerboard pattern for transparent textures */
.texture-preview-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(45deg, #1f2029 25%, transparent 25%), 
        linear-gradient(-45deg, #1f2029 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, #1f2029 75%), 
        linear-gradient(-45deg, transparent 75%, #1f2029 75%);
    background-size: 16px 16px;
    background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
    z-index: 1;
}

.texture-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    z-index: 2;
}

.texture-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.texture-name {
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.texture-dims {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.texture-actions {
    display: flex;
    justify-content: flex-end;
}

/* glTF JSON Viewer */
.gltf-json-viewer {
    background: #0f1016;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    max-height: 400px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-all;
    color: #e2e8f0;
}

.json-key { color: #f43f5e; }
.json-string { color: #10b981; }
.json-number { color: #f59e0b; }
.json-boolean { color: #3b82f6; }
.json-null { color: #6b7280; }

/* Download Actions Footer */
.action-bar {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    align-items: center;
    margin-top: 1rem;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-secondary);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 12, 16, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(139, 92, 246, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

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

.loading-text {
    font-weight: 600;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Notifications/Toast */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 2000;
}

.toast {
    background: rgba(17, 18, 28, 0.95);
    border: 1px solid var(--card-border);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    min-width: 280px;
    max-width: 380px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

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

.toast.toast-error {
    border-left-color: var(--danger);
}

.toast.toast-success {
    border-left-color: var(--success);
}

.toast-msg {
    font-size: 0.9rem;
    font-weight: 500;
}

.toast-close {
    cursor: pointer;
    color: var(--text-secondary);
    background: none;
    border: none;
    font-size: 1rem;
}

.toast-close:hover {
    color: var(--text-primary);
}

/* Footer */
footer {
    padding: 2.5rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    border-top: 1px solid var(--card-border);
    margin-top: auto;
}

/* Helper utilities */
.hidden {
    display: none !important;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.empty-state svg {
    width: 48px;
    height: 48px;
    stroke-width: 1.5;
}

/* Tabs Navigation */
.tabs-nav {
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.tab-btn svg {
    transition: transform 0.3s ease;
}

.tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
    color: var(--primary);
    background: rgba(139, 92, 246, 0.08);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 3px 3px 0 0;
    box-shadow: 0 0 10px var(--primary-glow);
}

.tab-pane {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    animation: fadeIn 0.4s ease;
}

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

/* Checkbox Styling */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
    cursor: pointer;
    user-select: none;
    padding: 0.5rem;
    border-radius: 12px;
    transition: background-color 0.2s ease;
}

.checkbox-container:hover {
    background: rgba(255, 255, 255, 0.02);
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    height: 22px;
    width: 22px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--primary);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
}

.checkmark::after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark::after {
    display: block;
}

.checkbox-container .checkmark::after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.checkbox-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.checkbox-desc {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Slider Styling */
.slider-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 0.5rem;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 500;
}

.slider-label {
    color: var(--text-primary);
}

.slider-value {
    color: var(--primary);
    font-weight: 600;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.05);
    outline: none;
    transition: background 0.3s ease;
}

.slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 0 10px var(--primary-glow);
    margin-top: -6px; /* align with track */
    transition: transform 0.1s ease, background-color 0.2s ease;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background: var(--secondary);
}

.slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 10px var(--primary-glow);
    transition: transform 0.1s ease;
}

.slider::-moz-range-thumb:hover {
    transform: scale(1.15);
}

/* Form Settings Layout */
.settings-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Badge classes */
.badge-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--success);
    color: var(--success);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-warning {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid var(--danger);
    color: var(--danger);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-info {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid var(--secondary);
    color: var(--secondary);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-neutral {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Texture Optimizer Rows */
.textures-list-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 450px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.texture-control-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: all 0.2s ease;
}

.texture-control-item:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(139, 92, 246, 0.25);
}

.texture-control-item.missing {
    border-style: dashed;
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.02);
}

.texture-control-main {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.texture-control-preview {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #171821;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

/* Checkerboard pattern for transparent thumbs */
.texture-control-preview::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(45deg, #1f2029 25%, transparent 25%), 
        linear-gradient(-45deg, #1f2029 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, #1f2029 75%), 
        linear-gradient(-45deg, transparent 75%, #1f2029 75%);
    background-size: 10px 10px;
    background-position: 0 0, 0 5px, 5px -5px, -5px 0px;
    z-index: 1;
}

.texture-control-preview.missing::before {
    display: none;
}

.texture-control-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    z-index: 2;
}

.texture-control-preview svg {
    color: var(--text-secondary);
    z-index: 2;
}

.texture-control-preview.missing svg {
    color: var(--danger);
}

.texture-control-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    min-width: 180px;
}

.texture-control-name {
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-primary);
}

.texture-control-badges {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.texture-control-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Mini checkboxes/sliders inside rows */
.checkbox-container.mini {
    padding: 0.25rem 0.5rem;
    gap: 0.5rem;
}

.checkbox-container.mini .checkmark {
    width: 18px;
    height: 18px;
    border-radius: 4px;
}

.checkbox-container.mini .checkmark::after {
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border-width: 0 2px 2px 0;
}

.checkbox-container.mini .checkbox-title {
    font-size: 0.85rem;
    font-weight: 500;
}

.texture-control-slider-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.slider-header.mini {
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 70px;
}

.slider-header.mini .slider-label {
    color: var(--text-secondary);
}

.slider-header.mini .slider-value {
    font-size: 0.8rem;
}

.slider.mini {
    height: 4px;
}

.slider.mini::-webkit-slider-thumb {
    width: 14px;
    height: 14px;
    margin-top: -5px;
}

.slider.mini::-moz-range-thumb {
    width: 10px;
    height: 10px;
}


