/* ====================================================
   RESETS & VARIABLES BASE (ELEMENTOR GLOBAL TYPOGRAPHY)
   ==================================================== */
.bv-search-container,
.bv-search-container *,
.bv-search-vertical,
.bv-search-vertical * {
    box-sizing: border-box !important;
    font-family: var(--e-global-typography-text-font-family, var(--e-global-typography-primary-font-family, inherit)) !important;
}

/* Iconos SVG comunes */
.bv-svg-icon {
    display: block;
    width: 20px;
    height: 20px;
    stroke: currentColor;
    flex-shrink: 0;
}

.bv-svg-chevron {
    display: block;
    width: 16px;
    height: 16px;
    stroke: currentColor;
    flex-shrink: 0;
}

.bv-svg-btn-icon {
    display: block;
    width: 18px;
    height: 18px;
    stroke: currentColor;
    flex-shrink: 0;
}

/* ====================================================
   BUSCADOR HORIZONTAL — [buscador_exacto]
   ==================================================== */

/* Contenedor Principal */
.bv-search-container {
    background: #ffffff;
    border-radius: 14px;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 8px 30px -4px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    display: block;
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bv-search-container:hover {
    border-color: #cbd5e1;
    box-shadow: 0 12px 36px -4px rgba(15, 23, 42, 0.12), 0 4px 10px -1px rgba(15, 23, 42, 0.05);
}

.bv-search-form {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 64px;
    padding: 6px;
    position: relative;
}

/* Divisores verticales */
.bv-divider {
    width: 1px;
    height: 36px;
    background-color: #e2e8f0;
    flex-shrink: 0;
}

/* Grupos de Input */
.bv-input-group {
    flex: 1;
    height: 52px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 12px;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.2s ease;
}

.bv-input-group:hover {
    background-color: #f8fafc;
}

.bv-input-group:focus-within,
.bv-input-group.active {
    background-color: #f1f5f9;
}

/* Icono frontal del campo */
.bv-field-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: #eff6ff;
    color: #2563eb;
    flex-shrink: 0;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.bv-input-group:hover .bv-field-icon {
    background-color: #dbeafe;
    color: #1d4ed8;
    transform: scale(1.04);
}

.bv-input-group.active .bv-field-icon,
.bv-input-group:focus-within .bv-field-icon {
    background-color: #2563eb;
    color: #ffffff;
}

/* Contenido del input / label */
.bv-input-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bv-text-input input {
    width: 100%;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    height: auto !important;
    font-family: var(--e-global-typography-text-font-family, var(--e-global-typography-primary-font-family, inherit)) !important;
}

.bv-text-input input::placeholder {
    color: #94a3b8 !important;
    font-weight: 400 !important;
    opacity: 1 !important;
    font-family: var(--e-global-typography-text-font-family, var(--e-global-typography-primary-font-family, inherit)) !important;
}

/* Selectores Personalizados */
.bv-select-custom {
    user-select: none;
}

.bv-select-trigger {
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.bv-select-label {
    color: #64748b;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
    font-family: var(--e-global-typography-text-font-family, var(--e-global-typography-primary-font-family, inherit)) !important;
}

.bv-select-custom.has-value .bv-select-label {
    color: #0f172a;
    font-weight: 600;
}

/* Flecha / Chevron desplegable */
.bv-chevron-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    margin-left: auto;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
}

.bv-select-custom:hover .bv-chevron-icon {
    color: #475569;
}

.bv-select-custom.active .bv-chevron-icon {
    transform: rotate(180deg);
    color: #2563eb;
}

/* Paneles de opciones desplegables */
.bv-options-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    min-width: 240px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.16), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
    z-index: 1000;
    max-height: 260px;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid #e2e8f0;
}

.bv-select-custom.active .bv-options-panel {
    display: block;
    animation: bvFadeInDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes bvFadeInDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar personalizado para el panel */
.bv-options-panel::-webkit-scrollbar {
    width: 6px;
}

.bv-options-panel::-webkit-scrollbar-track {
    background: transparent;
    margin: 6px 0;
}

.bv-options-panel::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.bv-options-panel::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.bv-option {
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
    font-family: var(--e-global-typography-text-font-family, var(--e-global-typography-primary-font-family, inherit)) !important;
}

.bv-option:hover {
    background-color: #eff6ff;
    color: #1d4ed8;
}

.bv-option.is-selected {
    background-color: #dbeafe;
    color: #1e40af;
    font-weight: 600;
}

/* ====================================================
   Botón de Envío (CTA Destacado)
   ==================================================== */
.bv-submit-btn {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    border: none !important;
    height: 52px !important;
    padding: 0 28px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    letter-spacing: 0.01em !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease !important;
    text-decoration: none !important;
    font-family: var(--e-global-typography-accent-font-family, var(--e-global-typography-primary-font-family, var(--e-global-typography-text-font-family, inherit))) !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.bv-submit-btn:hover {
    background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%) !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45) !important;
    transform: translateY(-1px) !important;
}

.bv-submit-btn:active {
    transform: translateY(0) scale(0.99) !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3) !important;
}

.bv-submit-btn .bv-svg-btn-icon {
    transition: transform 0.2s ease;
}

.bv-submit-btn:hover .bv-svg-btn-icon {
    transform: scale(1.1);
}

/* ====================================================
   ADAPTACIÓN RESPONSIVE MOBILE — [buscador_exacto]
   ==================================================== */
@media (max-width: 820px) {
    .bv-search-container {
        border-radius: 16px;
        padding: 12px;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    }

    .bv-search-form {
        flex-direction: column;
        height: auto;
        min-height: unset;
        gap: 10px;
        padding: 0;
    }

    .bv-divider {
        display: none;
    }

    .bv-input-group {
        width: 100%;
        height: 52px;
        border: 1.5px solid #e2e8f0;
        background-color: #f8fafc;
        border-radius: 10px;
        padding: 0 14px;
    }

    .bv-input-group:focus-within,
    .bv-input-group.active {
        border-color: #2563eb;
        background-color: #ffffff;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    }

    .bv-options-panel {
        top: calc(100% + 4px);
        width: 100%;
        min-width: unset;
    }

    .bv-submit-btn {
        width: 100% !important;
        height: 52px !important;
        border-radius: 10px !important;
        margin-top: 4px !important;
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .bv-search-container {
        padding: 10px;
    }

    .bv-input-group {
        height: 50px;
        padding: 0 12px;
        gap: 10px;
    }

    .bv-field-icon {
        width: 32px;
        height: 32px;
    }

    .bv-svg-icon {
        width: 18px;
        height: 18px;
    }

    .bv-text-input input,
    .bv-select-label {
        font-size: 14px !important;
    }

    .bv-submit-btn {
        height: 50px !important;
    }
}

/* ====================================================
   BUSCADOR VERTICAL — [buscador_vertical]
   ==================================================== */

.bv-search-vertical {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 20px !important;
    width: 100% !important;
    max-width: 380px !important;
    box-sizing: border-box !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 8px 24px -2px rgba(15, 23, 42, 0.06) !important;
    font-family: var(--e-global-typography-text-font-family, var(--e-global-typography-primary-font-family, inherit)) !important;
}

.bv-search-vertical .bv-vertical-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
}

/* Grupos de campos */
.bv-search-vertical .bv-field-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    position: relative !important;
}

.bv-search-vertical .bv-field-group label {
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #1e293b !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    background: none !important;
    border: none !important;
    font-family: var(--e-global-typography-primary-font-family, var(--e-global-typography-text-font-family, inherit)) !important;
}

/* Wrapper para input texto vertical */
.bv-vertical-input-wrapper {
    display: flex !important;
    align-items: center !important;
    background-color: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 0 14px !important;
    gap: 10px !important;
    height: 48px !important;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
}

.bv-vertical-input-wrapper:focus-within {
    border-color: #2563eb !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

.bv-vertical-input-wrapper .bv-field-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #2563eb !important;
    flex-shrink: 0 !important;
}

.bv-search-vertical input.bv-vertical-input,
.bv-search-vertical input[type="text"].bv-vertical-input {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    font-family: var(--e-global-typography-text-font-family, var(--e-global-typography-primary-font-family, inherit)) !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.bv-search-vertical input.bv-vertical-input::placeholder {
    color: #94a3b8 !important;
    font-weight: 400 !important;
    opacity: 1 !important;
    font-family: var(--e-global-typography-text-font-family, var(--e-global-typography-primary-font-family, inherit)) !important;
}

/* Selectores verticales */
.bv-search-vertical .bv-select-custom {
    background-color: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 0 14px !important;
    gap: 10px !important;
    height: 48px !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    cursor: pointer !important;
    user-select: none !important;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
}

.bv-search-vertical .bv-select-custom:hover {
    border-color: #cbd5e1 !important;
    background-color: #f1f5f9 !important;
}

.bv-search-vertical .bv-select-custom.active,
.bv-search-vertical .bv-select-custom:focus-within {
    border-color: #2563eb !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

.bv-search-vertical .bv-select-custom .bv-field-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #2563eb !important;
    flex-shrink: 0 !important;
}

.bv-search-vertical .bv-select-custom .bv-select-trigger {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    overflow: hidden !important;
}

.bv-search-vertical .bv-select-custom .bv-select-label {
    font-size: 14px !important;
    color: #64748b !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-family: var(--e-global-typography-text-font-family, var(--e-global-typography-primary-font-family, inherit)) !important;
}

.bv-search-vertical .bv-select-custom.has-value .bv-select-label {
    color: #0f172a !important;
    font-weight: 600 !important;
}

.bv-search-vertical .bv-select-custom .bv-chevron-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #94a3b8 !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease !important;
}

.bv-search-vertical .bv-select-custom.active .bv-chevron-icon {
    transform: rotate(180deg) !important;
    color: #2563eb !important;
}

/* Panel desplegable vertical */
.bv-search-vertical .bv-select-custom .bv-options-panel {
    top: calc(100% + 4px) !important;
    left: 0 !important;
    width: 100% !important;
    border-radius: 10px !important;
    box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.16) !important;
    max-height: 220px !important;
    box-sizing: border-box !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    padding: 6px !important;
    z-index: 1000 !important;
    display: none;
    position: absolute !important;
    overflow-y: auto !important;
}

.bv-search-vertical .bv-select-custom.active .bv-options-panel {
    display: block !important;
    animation: bvFadeInDown 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.bv-search-vertical .bv-select-custom .bv-option {
    padding: 9px 12px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: background-color 0.12s ease, color 0.12s ease !important;
    font-family: var(--e-global-typography-text-font-family, var(--e-global-typography-primary-font-family, inherit)) !important;
}

.bv-search-vertical .bv-select-custom .bv-option:hover {
    background-color: #eff6ff !important;
    color: #1d4ed8 !important;
}

.bv-search-vertical .bv-select-custom .bv-option.is-selected {
    background-color: #dbeafe !important;
    color: #1e40af !important;
    font-weight: 600 !important;
}

/* Slider de Duración */
.bv-search-vertical .bv-slider-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    width: 100% !important;
}

.bv-search-vertical .bv-slider-range-val {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #2563eb !important;
    background-color: #eff6ff !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
    font-family: var(--e-global-typography-text-font-family, var(--e-global-typography-primary-font-family, inherit)) !important;
}

.bv-search-vertical .bv-dual-slider-container {
    position: relative !important;
    height: 6px !important;
    background: #e2e8f0 !important;
    border-radius: 3px !important;
    margin: 12px 0 6px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.bv-search-vertical .bv-slider-track-highlight {
    position: absolute !important;
    height: 100% !important;
    background: #2563eb !important;
    border-radius: 3px !important;
}

.bv-search-vertical .bv-dual-slider-container input[type="range"] {
    position: absolute !important;
    width: 100% !important;
    height: 6px !important;
    top: 0 !important;
    left: 0 !important;
    background: none !important;
    background-color: transparent !important;
    pointer-events: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    margin: 0 !important;
    padding: 0 !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.bv-search-vertical .bv-dual-slider-container input[type="range"]::-webkit-slider-runnable-track {
    height: 6px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 3px !important;
}

.bv-search-vertical .bv-dual-slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    height: 20px !important;
    width: 20px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 2px solid #2563eb !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    margin-top: -7px !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

.bv-search-vertical .bv-dual-slider-container input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15) !important;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3) !important;
}

.bv-search-vertical .bv-dual-slider-container input[type="range"]::-moz-range-track {
    height: 6px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 3px !important;
}

.bv-search-vertical .bv-dual-slider-container input[type="range"]::-moz-range-thumb {
    height: 20px !important;
    width: 20px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 2px solid #2563eb !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

/* Botón Buscar Vertical (CTA destacado) */
.bv-search-vertical button.bv-vertical-submit,
button.bv-vertical-submit {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 0 !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease !important;
    text-align: center !important;
    width: 100% !important;
    margin: 6px 0 0 0 !important;
    height: 48px !important;
    min-height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
    line-height: 1 !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
    font-family: var(--e-global-typography-accent-font-family, var(--e-global-typography-primary-font-family, var(--e-global-typography-text-font-family, inherit))) !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.bv-search-vertical button.bv-vertical-submit:hover,
button.bv-vertical-submit:hover {
    background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%) !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45) !important;
    transform: translateY(-1px) !important;
}

.bv-search-vertical button.bv-vertical-submit:active,
button.bv-vertical-submit:active {
    transform: translateY(0) scale(0.99) !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3) !important;
}

/* ====================================================
   FILTRO MODALIDAD DE VIAJE (ETIQUETAS CON COLOR)
   ==================================================== */

.bv-modalidad-standalone {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    width: 100%;
    max-width: 380px;
    box-sizing: border-box;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 8px 24px -2px rgba(15, 23, 42, 0.06);
    font-family: var(--e-global-typography-text-font-family, var(--e-global-typography-primary-font-family, inherit)) !important;
}

.bv-modalidad-title,
.bv-search-vertical .bv-modalidad-label,
label.bv-modalidad-label {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0b2545 !important;
    margin: 0 0 14px 0 !important;
    padding: 0 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em !important;
    display: block !important;
    font-family: var(--e-global-typography-primary-font-family, var(--e-global-typography-text-font-family, inherit)) !important;
}

.bv-modalidad-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
}

/* Botones / Enlaces tipo píldora */
.bv-modalidad-pill,
button.bv-modalidad-pill,
a.bv-modalidad-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    padding: 9px 18px !important;
    border-radius: 10px !important;
    border: none !important;
    outline: none !important;
    cursor: pointer !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    user-select: none !important;
    box-sizing: border-box !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s ease, filter 0.18s ease !important;
    font-family: var(--e-global-typography-text-font-family, var(--e-global-typography-primary-font-family, inherit)) !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    text-align: left !important;
    margin: 0 !important;
    max-width: 100% !important;
}

.bv-modalidad-pill:hover,
button.bv-modalidad-pill:hover,
a.bv-modalidad-pill:hover {
    transform: translateX(4px) !important;
    filter: brightness(1.08) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16) !important;
    color: #ffffff !important;
}

.bv-modalidad-pill:active,
button.bv-modalidad-pill:active,
a.bv-modalidad-pill:active {
    transform: translateX(2px) scale(0.98) !important;
}

/* Estado Activo / Seleccionado */
.bv-modalidad-pill.is-active,
button.bv-modalidad-pill.is-active,
a.bv-modalidad-pill.is-active {
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4.5px var(--pill-color, #2563eb), 0 6px 18px rgba(0, 0, 0, 0.22) !important;
    font-weight: 600 !important;
    transform: translateX(4px) !important;
}

.bv-pill-text {
    color: #ffffff !important;
}

.bv-pill-check {
    display: none;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    flex-shrink: 0;
    margin-left: 2px;
}

.bv-modalidad-pill.is-active .bv-pill-check {
    display: inline-flex !important;
    animation: bvCheckPop 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes bvCheckPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}