.btn {
    margin: 10px 2px;
}
@media (max-width: 768px) {
    .container {
        width: 100%;
        margin: 8px;
    }

    .filters {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

        .filters > label,
        .filters > select,
        .filters > textarea {
            margin-right: 0;
            width: 100%;
        }

    button {
        width: 100%;
        margin: 4px 0;
    }

    #custom-instruction {
        width: 100%;
    }
}

/* Base styles (modified original) */

.results {
    border: 1px solid #dee2e6;
    padding: 16px;
    margin-top: 16px;
    background-color: white;
    overflow-y: auto;
    max-height: 300px;
    border-radius: 4px;
}

    .results > h3 {
        margin: 0 0 12px 0;
        color: #2c3e50;
        font-size: 1.1em;
    }

.filters {
    margin: 20px 0;
    display: flex;
    gap: 16px;
    align-items: center;
}

    .filters > label {
        padding: 8px 0;
        color: #495057;
        min-width: 120px;
    }

select, textarea, button {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    transition: all 0.2s ease;
}

    select:focus, textarea:focus, button:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(0,123,255,0.25);
        border-color: #80bdff;
    }

button {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    cursor: pointer;
    margin: 4px;
}

    button:hover {
        background-color: #0056b3;
        border-color: #004085;
    }

    button:disabled {
        background-color: #ced4da;
        color: #495057;
        cursor: not-allowed;
    }

.switch {
    margin-left: 8px;
}

.slider {
    background-color: #ced4da;
}

input:checked + .slider {
    background-color: #007bff;
}

#section-customization-fields {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 16px;
    margin: 12px 0;
}

#custom-instruction {
    min-height: 80px;
    resize: vertical;
}

hr {
    border: none;
    border-top: 1px solid #dee2e6;
    margin: 24px 0;
}

a {
    color: #007bff;
    padding: 4px 8px;
    border-radius: 4px;
}

    a.active {
        background-color: #e3f2fd;
    }

.temporary-item {
    color: #6c757d;
    font-style: italic;
}

.error {
    color: #dc3545;
    font-weight: bold;
}

.hide {
    display: none;
}


#section-customization-fields {
    display: none;
    border: 2px solid #ccc;
    padding: 8px;
}

#message {
    color: red;
    font-weight: bold;
    font-size: 1.1em;
    margin: 16px 0;
}

/*body {
    display: flex;
    justify-content: center;
    font-size: 14px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5;
    background-color: #f8f9fa;
    min-height: 100vh;
    margin: 0;
    padding: 16px;
}

.container {
    width: 100%;
    max-width: 960px;
    margin: 16px auto;
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
*/