:root {
    --primary-color: #2ba878;
    --secondary-color: #5B616E;
    --background-color: #FFFFFF;
    --border-color: #E8E8E8;
    --hover-color: #219669;
    --surface-color: #F7F8FA;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--surface-color);
    color: #0A0B0D;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 24px;
}

h1 {
    text-align: center;
    color: #0A0B0D;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
}

/* .whitespace {
    display: block;
width: 100%;
height: 500px;
background-color:red;
} */

/* Main content layout */
.main-content {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* Controls Section */
.controls-container {
    width: 320px;
    height: 100vh;
    padding: 24px;
    padding-bottom: 200px;
    display: flex;
    flex-direction: column;
    gap: 0px;
    overflow-y: auto;
    background: #f7f8fa;
    border-right: 1px solid var(--border-color);
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    /* Update scrollbar styling */
    scrollbar-width: 2px; /* For Firefox - make thinner */
    scrollbar-color: #D1D5DB #f1f1f1; /* For Firefox */
    transition: transform 0.3s ease-in-out;
}

/* Webkit scrollbar styling for controls container */
.controls-container::-webkit-scrollbar {
    width: 2px; /* Make thinner - changed from 4px to 2px */
}

.controls-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.controls-container::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 2px; /* Adjusted radius to match new width */
}

.controls-container::-webkit-scrollbar-thumb:hover {
    background: #9CA3AF;
}

.color-picker-span {
    border: 1px solid #FAC898 !important;
}

.control {
    margin-bottom: 0px;
    width: 100%;
}

.control-group {
    background: var(--surface-color);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.control-group h3 {
    font-size: 16px;
    margin: 0 0 4px 0;
}

.control-description {
    font-size: 13px;
    color: var(--secondary-color);
    line-height: 1.4;
    margin-bottom: 8px;
}

#color-picker {
    padding: 0;
    margin: 9px 0 0 0;
    height: 42.5px;
    border: 0px transparent;
    background-color: transparent;
    border-radius: 6px;
}

/* Form Controls */
.form-control {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

label {
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary-color);
}

select {
    appearance: none;
    background: white url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%235B616E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    color: #0A0B0D;
    transition: all 0.2s ease;
}

select:hover {
    border-color: var(--primary-color);
    background-color: var(--surface-color);
}

select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,82,255,0.1);
}

input[type="color"] {
    height: 42px;
    padding: 6px;
    cursor: pointer;
    display: block;
}

/* Dropdown Checkboxes - täiendatud */
.dropdown {
    width: 100%;
    color: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: white;
    margin-bottom: 8px;
    overflow: hidden; /* Peida ületäituvad elemendid */
}

.dropdown-label {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    position: relative;
}

.dropdown-title {
    color: #828894;
    font-weight: 500;
    margin-bottom: 4px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing:0.1px;
}

.dropdown-value {
    color: #0A0B0D;
    font-size: 16px;
}

/* Update dropdown arrow */
.dropdown-label:after {
    content: '→';
    font-size: 16px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg); /* Start with arrow pointing down */
}

.dropdown.active .dropdown-label:after {
    transform: translateY(-50%) rotate(270deg); /* Rotate clockwise to point up */
}

.dropdown-option {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 40px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    color: #555;
}

/* Common styles for radio and checkbox */
.dropdown-option input[type="radio"],
.dropdown-option input[type="checkbox"] {
    position: absolute;
    cursor: pointer;
    height: 0;
    width: 0;
    left: -2000px;
}

/* Radio button specific styles */
.radio {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background: #c9ded6;
    border-radius: 50%;
}

.radio::after {
    content: '';
    position: absolute;
    opacity: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
}

.dropdown-option:hover input[type="radio"]:not(:checked) ~ .radio {
    opacity: 0.8;
}

.dropdown-option input[type="radio"]:checked ~ .radio {
    background-color: var(--primary-color);
}

.dropdown-option input[type="radio"]:checked ~ .radio::after {
    opacity: 1;
}

/* Checkbox specific styles */
.checkbox {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background: #c9ded6;
    border-radius: 4px;
}

.checkbox::after {
    content: '';
    position: absolute;
    opacity: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background: #fff;
}

.dropdown-option:hover input[type="checkbox"]:not(:checked) ~ .checkbox {
    opacity: 0.8;
}

.dropdown-option input[type="checkbox"]:checked ~ .checkbox {
    background-color: var(--primary-color);
}

.dropdown-option input[type="checkbox"]:checked ~ .checkbox::after {
    opacity: 1;
}

/* Common selected text styling */
.dropdown-option input[type="radio"]:checked ~ .label,
.dropdown-option input[type="checkbox"]:checked ~ .label {
    color: var(--primary-color);
    font-weight: 500;
}

/* Dropdown list modifications */
.dropdown-list {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    padding: 0 16px;
    pointer-events: none;
}

.dropdown.active .dropdown-list {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    padding: 12px 16px;
    pointer-events: auto;
}

.check-all {
    display: block;
    padding: 8px 16px;
    color: var(--primary-color);
    border-top: 1px solid var(--border-color);
    font-weight: 500;
    cursor: pointer;
}

.check-all:hover {
    background: var(--surface-color);
}

/* Model Viewer Container */
.model-container {
    position: relative;
    flex: 1;
    height: 100vh;
}

model-viewer {
    width: 100%;
    height: 100%;
    background-color: var(--surface-color);
    margin: 0;
}

.model-info-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    padding: 16px;
    border-radius: 8px;
    max-width: 300px;
}

.model-info-overlay h2 {
    font-size: 18px;
    margin: 0 0 8px 0;
    color: #0A0B0D;
}

.model-info-overlay p {
    font-size: 14px;
    margin: 0;
    color: var(--secondary-color);
    line-height: 1.4;
}

/* Summary Section */
.summary-section {
    flex: 0.2;
    min-width: 280px;
    max-width: 320px;
    height: fit-content;
    margin: 0;
    position: sticky;
    top: 24px;
    padding: 20px;
    border-radius: 12px;
}

.summary-section h3 {
    font-size: 16px;
    margin: 0 0 16px 0;
}

.summary-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.summary-table td {
    padding: 8px 12px;
    font-size: 13px;
    border-bottom: 1px solid var(--border-color);
}

.copy-button {
    width: 100%;
    margin-top: 16px;
    padding: 10px 16px;
    background-color: #1E2732;
    color: #AEFF00;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.2s ease;
}

.copy-button:hover {
    background-color: #2F3A48;
}

/* Remove configuration-summary section */
.configuration-summary {
    display: none;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .viewer-summary-container {
        flex-direction: column;
    }
    
    model-viewer {
        width: 100%;
        height: 60vh;
    }
    
    .summary-section {
        width: 100%;
        max-width: 100%;
        position: static;
    }
}

/* Flag icons styling */
.fi {
    margin-right: 8px;
    position: relative;
    top: 1px;
}

/* Adjust dropdown option padding for flags */
.dropdown-option .label {
    display: flex;
    align-items: center;
}

/* Search box styling */
.dropdown-search {
    position: sticky;
    top: 0;
    padding: 12px 16px;
    background: white;
    border-bottom: 1px solid var(--border-color);
    z-index: 1;
}

.search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    outline: none;
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,82,255,0.1);
}

/* Make regions scrollable */
.regions-container {
    max-height: 300px;
    overflow-y: auto;
    padding: 12px 16px;
}

/* Adjust dropdown list for region dropdown */
.region-dropdown .dropdown-list {
    padding: 0;
}

.region-dropdown.dropdown.active .dropdown-list {
    padding: 0;
}

/* Scrollbar styling */
.regions-container::-webkit-scrollbar {
    width: 4px;
}

.regions-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.regions-container::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 4px;
}

.regions-container::-webkit-scrollbar-thumb:hover {
    background: #9CA3AF;
}

/* Docks grid styling */
.docks-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    padding: 16px;
}

.dock-tile {
    position: relative;
    aspect-ratio: 1;
    cursor: pointer;
}

.dock-tile input[type="radio"] {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
}

.dock-tile-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary-color);
    transition: all 0.2s ease;
}

.dock-tile:hover .dock-tile-content {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.dock-tile input[type="radio"]:checked + .dock-tile-content {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

/* Hide disabled options */
.dock-tile.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* None value styling */
.none-value {
    color: #9CA3AF !important;
}

/* Update dropdown value when options are selected */
.dropdown-value:not(.none-value) {
    color: #0A0B0D !important;
}

/* Dropdown value default style */
.dropdown-value {
    font-size: 16px;
}

/* Color preset dropdown styling */
.dropdown-option .label[style*="background-color"] {
    padding: 8px 12px;
    border-radius: 4px;
    color: #000;
    text-shadow: 0 0 2px rgba(255,255,255,0.5);
}

/* For dark colors, use white text */
.dropdown-option input[value="#0A0A0A"] ~ .label,
.dropdown-option input[value="#1C1C1C"] ~ .label,
.dropdown-option input[value="#1E1E1E"] ~ .label,
.dropdown-option input[value="#154889"] ~ .label,
.dropdown-option input[value="#20603D"] ~ .label,
.dropdown-option input[value="#4A192C"] ~ .label {
    color: #fff;
    text-shadow: 0 0 2px rgba(0,0,0,0.5);
}

/* Color preset dropdown scrollable container */
.color-presets-container {
    max-height: 300px;
    overflow-y: auto;
    padding: 0;
}

/* Color preset option styling */
.color-preset-option {
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    width: 100%;
    border: none;
    text-align: left;
    transition: opacity 0.2s ease;
}

.color-preset-option:hover {
    opacity: 0.9;
}

/* Hide radio buttons for color presets */
.color-preset-option input[type="radio"] {
    display: none;
}

/* Selected state for color preset */
.color-preset-option.selected {
    font-weight: 500;
}

/* Color preset label styling */
.color-preset-option .label {
    padding: 12px 16px;
    width: 100%;
    border-radius: 0;
    color: rgba(0, 0, 0, 0.3) !important;
}

/* Override dark background text color but keep opacity */
.dropdown-option input[value="#0A0A0A"] ~ .label,
.dropdown-option input[value="#1C1C1C"] ~ .label,
.dropdown-option input[value="#1E1E1E"] ~ .label,
.dropdown-option input[value="#154889"] ~ .label,
.dropdown-option input[value="#20603D"] ~ .label,
.dropdown-option input[value="#4A192C"] ~ .label {
    color: rgba(255, 255, 255, 0.3) !important;
    text-shadow: none;
}

/* Remove previous text shadow */
.dropdown-option .label[style*="background-color"] {
    padding: 8px 12px;
    border-radius: 0;
    text-shadow: none;
}

/* Scrollbar styling for color presets */
.color-presets-container::-webkit-scrollbar {
    width: 4px;
}

.color-presets-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.color-presets-container::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 4px;
}

.color-presets-container::-webkit-scrollbar-thumb:hover {
    background: #9CA3AF;
}

.color-group-title {
    padding: 12px 16px 8px;
    font-size: 12px;
    font-weight: 500;
    color: #828894;
    text-transform: uppercase;
    letter-spacing: 0.1px;
}

.dark-text {
    color: rgba(0, 0, 0, 0.7) !important;
}

/* Station Code Display */
.station-code-display {
    position: fixed;
    top: 24px;
    right: 24px;
    background: white;
    padding: 8px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-color);
    font-family: monospace;
    font-size: 14px;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.code-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.code-label {
    font-size: 11px;
    color: #828894;
    text-transform: uppercase;
    letter-spacing: 0.1px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.code {
    font-family: monospace;
    font-size: 14px;
    color: #0A0B0D;
}

.copy-code {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-code img {
    width: 16px;
    height: 16px;
}

.copy-code:hover {
    opacity: 1;
}

/* Station Code Input */
.station-code-section {
    margin-bottom: 16px;
}

.station-code-toggle {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0;
    font-size: 14px;
}

.station-code-input {
    margin-top: 8px;
}

.station-code-input textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 8px;
    font-family: monospace;
}

.apply-code {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
}

.apply-code:hover {
    background: var(--hover-color);
}

/* Copy success message */
.copy-success-message {
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
    opacity: 0;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.copy-success-message.show {
    opacity: 1;
}

/* Mobile-specific styles */
.mobile-only {
    display: none;
}

#mobile-buttons {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: none;
}

/* Update menu toggle styling */
#menu-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    transition: all 0.3s ease;
}

#menu-toggle img {
    width: 20px;
    height: 20px;
    position: absolute;
    transition: opacity 0.3s ease;
}

#menu-toggle .settings-icon {
    opacity: 1;
}

#menu-toggle .close-icon {
    opacity: 0;
}

body.menu-open #menu-toggle .settings-icon {
    opacity: 0;
}

body.menu-open #menu-toggle .close-icon {
    opacity: 1;
}

/* Mobile styles */
@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }

    .station-code-display {
        position: static; /* Remove fixed positioning */
        top: auto;
        right: auto;
        margin: 16px;
        width: calc(100% - 32px); /* Full width minus margins */
        box-sizing: border-box;
    }

    .controls-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: white;
        padding: 20px;
        padding-bottom: 400px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        box-shadow: 2px 0 8px rgba(0,0,0,0.1);
    }

    .controls-container.open {
        transform: translateX(0);
    }

    body.menu-open #ar-button {
        opacity: 0;
        visibility: hidden;
    }

    body.menu-open .settings-icon {
        opacity: 0;
    }

    body.menu-open .close-icon {
        opacity: 1;
    }

    #menu-toggle {
        display: flex; /* Show in mobile view */
    }

    #mobile-buttons {
        display: flex;
    }
    
    body.menu-open #mobile-buttons {
        display: none;
    }

    #ar-button {
        position: absolute;
        bottom: 16px;
        right: 16px;
        background-color: #fff;
        border-radius: 4px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
        padding: 8px 16px;
        font-family: Roboto, sans-serif;
        font-size: 14px;
        color: #4285f4;
        border: none;
        outline: none;
        cursor: pointer;
        z-index: 1000;
    }

    #ar-button:active {
        background-color: #e8f0fe;
    }

    #ar-button:before {
        content: '';
        display: inline-block;
        width: 20px;
        height: 20px;
        vertical-align: middle;
        margin-right: 8px;
        background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSIjNDI4NWY0Ij48cGF0aCBkPSJNMTIgMi42Yy01LjUgMC0xMCA0LjQtMTAgOS44czQuNSA5LjggMTAgOS44IDEwLTQuNCAxMC05Ljh6bTAgMTcuNmMtNC4zIDAtOC0zLjctOC04czMuNy04IDgtOCA4IDMuNyA4IDgtMy43IDgtOCA4eiIvPjwvc3ZnPg==');
        background-size: contain;
        background-repeat: no-repeat;
    }

    .mobile-menu-button {
        display: flex;
    }

    .model-container {
        width: 100%;
        height: 100vh;
    }

    /* Station Code Display Mobile Styles */
    .station-code-display {
        margin: 20px 0;
        padding: 16px;
        background: #f8f9fa;
        border-radius: 8px;
        position: relative;
        box-shadow: none;
        border: none;
    }

    .station-code-display .code-content {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding-right: 40px; /* Make space for copy button */
    }

    .station-code-display .code-label {
        font-size: 11px;
        color: #828894;
        text-transform: uppercase;
        letter-spacing: 0.1px;
        font-weight: 500;
        margin-bottom: 4px;
    }

    .station-code-display .code {
        font-size: 16px;
        font-weight: 600;
        color: #0A0B0D;
        word-break: break-all;
    }

    .station-code-display .copy-code {
        position: absolute;
        top: 16px;
        right: 16px;
        background: none;
        border: none;
        padding: 8px;
        cursor: pointer;
        opacity: 0.7;
        transition: opacity 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .station-code-display .copy-code img {
        width: 20px;
        height: 20px;
    }

    .station-code-display .copy-code:hover {
        opacity: 1;
    }

    .station-code-display .copy-success-message {
        position: absolute;
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        background: #28a745;
        color: white;
        padding: 4px 12px;
        border-radius: 4px;
        font-size: 12px;
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    .station-code-display .copy-success-message.show {
        opacity: 1;
    }
}

/* Hide AR button on desktop */
@media (min-width: 769px) {
    #ar-button {
        display: none;
    }
}

/* Mobile Menu Button */
.mobile-menu-button {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background: white;
    border: none;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-button img {
    width: 24px;
    height: 24px;
    transition: opacity 0.3s ease;
}

.mobile-menu-button .settings-icon {
    position: absolute;
    opacity: 1;
}

.mobile-menu-button .close-icon {
    position: absolute;
    opacity: 0;
}

/* When menu is open */
body.menu-open .mobile-menu-button .settings-icon {
    opacity: 0;
}

body.menu-open .mobile-menu-button .close-icon {
    opacity: 1;
}

/* Overlay when menu is open */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.menu-overlay.open {
    display: block;
}

.presets-button {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
    cursor: pointer;
    display: block;
    width: 100%;
    text-align: left;
    margin-top: 8px;
}

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

.presets-container {
    margin-top: 8px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.preset-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: monospace;
    font-size: 14px;
    color: var(--secondary-color);
}

.preset-item:hover {
    background-color: var(--surface-color);
}

.preset-item:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}