﻿.tucoche {
    background-color: #3a95c5;
    border-radius: 4px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
}

    .tucoche dt {
        font-size: 0.85em;
        color: #d0eaf7;
        margin-bottom: 0.2rem;
    }

    .tucoche dd {
        font-size: 1.05em;
        font-weight: bold;
        color: #fff;
        margin: 0 0 0.75rem 0;
    }

    .tucoche .sv-btn-cambiar {
        display: inline-block;
        padding: 0.35rem 1rem;
        background: #fff;
        color: #3a95c5;
        border: none;
        border-radius: 3px;
        font-weight: bold;
        font-size: 0.9em;
        cursor: pointer;
    }

        .tucoche .sv-btn-cambiar:hover {
            background: #e8f4fb;
        }

.sv-filtros-fila {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.sv-filtros-celda {
    flex: 1 1 150px;
    min-width: 0;
}

    .sv-filtros-celda:first-child {
        flex: 2 1 250px;
    }

    .sv-filtros-celda label {
        display: block;
        margin-bottom: 0.25rem;
    }

    .sv-filtros-celda input[type=text],
    .sv-filtros-celda select {
        width: 100%;
        box-sizing: border-box !important;
        padding: 0.3rem 0.5rem !important;
        border: 1px solid #ccc;
        border-radius: 3px;
        font-size: 0.95em;
        cursor: pointer;
    }

.sv-slider-fila {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.sv-slider-grupo {
    flex: 1 1 200px;
    min-width: 0;
}

    .sv-slider-grupo label {
        display: block;
        margin-bottom: 0.25rem;
    }

.sv-slider-controles {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.sv-slider-range {
    flex: 1 1 auto;
    min-width: 0;
}

    .sv-slider-range input[type=range] {
        width: 100%;
        display: block;
        /* Reset cross-browser */
        -webkit-appearance: none;
        appearance: none;
        height: 4px;
        border-radius: 2px;
        outline: none;
        cursor: pointer;
        /* Track color (Firefox) */
        background: #3a95c5;
    }

        /* Track — WebKit/Blink (Chrome, Edge, Safari) */
        .sv-slider-range input[type=range]::-webkit-slider-runnable-track {
            height: 4px;
            border-radius: 2px;
            background: #3a95c5;
        }

        /* Thumb — WebKit/Blink */
        .sv-slider-range input[type=range]::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #3a95c5;
            border: 2px solid #fff;
            box-shadow: 0 0 0 1px #3a95c5;
            margin-top: -6px; /* centrar el thumb sobre el track */
            cursor: pointer;
            transition: background 0.15s ease, box-shadow 0.15s ease;
        }

            .sv-slider-range input[type=range]::-webkit-slider-thumb:hover,
            .sv-slider-range input[type=range]:focus::-webkit-slider-thumb {
                background: #2a7aaa;
                box-shadow: 0 0 0 3px rgba(58, 149, 197, 0.25);
            }

        /* Track — Firefox */
        .sv-slider-range input[type=range]::-moz-range-track {
            height: 4px;
            border-radius: 2px;
            background: #3a95c5;
            border: none;
        }

        /* Thumb — Firefox */
        .sv-slider-range input[type=range]::-moz-range-thumb {
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #3a95c5;
            border: 2px solid #fff;
            box-shadow: 0 0 0 1px #3a95c5;
            cursor: pointer;
            transition: background 0.15s ease, box-shadow 0.15s ease;
        }

            .sv-slider-range input[type=range]::-moz-range-thumb:hover,
            .sv-slider-range input[type=range]:focus::-moz-range-thumb {
                background: #2a7aaa;
                box-shadow: 0 0 0 3px rgba(58, 149, 197, 0.25);
            }

        /* Parte rellenada a la izquierda del thumb — Firefox */
        .sv-slider-range input[type=range]::-moz-range-progress {
            height: 4px;
            border-radius: 2px;
            background: #3a95c5;
        }

.sv-lista-versiones {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
}

.sv-label-versiones {
    display: block;
    margin-bottom: 0.25rem;
}
