/*
Theme Name: MyTravelAgency
Theme URI: https://mytravel.agency
Description: Tema custom para plataforma de agencias de viajes B2B. Sistema completo de búsqueda y reservas con integración a múltiples proveedores.
Version: 1.1.0
Author: MyTravelAgency Team
Author URI: https://mytravel.agency
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mytravelagency
Tags: travel, booking, agencies, b2b, tours
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0

MyTravelAgency WordPress Theme, Copyright 2025 MyTravelAgency Team
MyTravelAgency is distributed under the terms of the GNU GPL
*/

/* 
 * Este archivo es requerido por WordPress para reconocer el tema.
 * Los estilos principales están en assets/css/
 */

/* Import Google Fonts - Premium SaaS Style */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Traveler Color Palette */
    --main-color: #5191FA;
    --secondary-color: #00BFA5;
    --orange-color: #FA5636;
    --link-color: #1A2B48;
    --grey-color: #5E6D77;
    --light-grey-color: #EAEEF3;

    /* Extended Colors */
    --primary-dark: #0D47A1;
    --primary-light: #E3F2FD;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;

    /* Neutral Colors */
    --dark: #1A2B48;
    --dark-grey: #2D3748;
    --medium-grey: #718096;
    --light: #f9fafb;
    --white: #ffffff;
    --border: #e5e7eb;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Lucide Icons Global Styles */
.lucide {
    stroke-width: 2;
    vertical-align: middle;
}

.icon-inline {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: -4px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark);
}

a {
    color: var(--main-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   Agency Panel Login Page Styles
   ========================================= */

/* Import Elegant Serif Font for Hero Title moved to top */

.panel-login-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: stretch; /* Stretch for split layout */
    background: #0d1117;
    overflow: hidden;
}

.panel-login-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/images/agency-panel-bg.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.panel-login-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(20, 25, 40, 0.75), rgba(20, 25, 40, 0.9));
    z-index: 2;
}

.panel-login-container {
    position: relative;
    z-index: 3;
    width: 100%;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr; /* 60/40 approx Split */
    height: 100vh;
}

/* Left side - Visual Atmosphere */
.panel-login-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 10%;
    color: white;
}

.panel-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.8rem !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    margin-bottom: 24px !important;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
}

.panel-hero-title span {
    color: #4facfe;
    background: linear-gradient(135deg, #00A4FF, #0066FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.panel-hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 48px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 520px;
}

/* Benefits Grid */
.login-benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 500px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.benefit-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(29, 78, 216, 0.2));
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon svg, .benefit-icon i {
    width: 24px;
    height: 24px;
    color: #4facfe !important;
}

.benefit-info h3 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 0 4px 0 !important;
}

.benefit-info p {
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin: 0 !important;
}

/* New Login Card (Glassmorphism) */
.login-card {
    backdrop-filter: blur(18px); /* Specific user request */
    -webkit-backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.08); /* Specific user request */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    max-width: 440px;
    width: 100%;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.login-card-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-card-logo {
    max-height: 48px;
    width: auto;
    margin-bottom: 24px;
    filter: brightness(0) invert(1);
}

.login-card h2 {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 8px !important;
    letter-spacing: -0.5px !important;
    text-align: center;
}

.login-card p {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 15px !important;
    margin-bottom: 0 !important;
    text-align: center;
}

/* Modern Input Styles */
.login-field {
    margin-bottom: 20px;
}

.login-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-field .input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05); /* User request */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    font-size: 15px;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.login-field .input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.login-field .input:focus {
    border-color: #00A4FF; /* User request */
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 164, 255, 0.25);
}

/* Premium Button (CTA) */
.btn-login {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #2563EB, #1D4ED8); /* User request: more blue */
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 164, 255, 0.4);
}

.login-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
}

.forgot-password {
    color: #2563EB;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.forgot-password:hover {
    color: #33B6FF;
}

/* Right side - Centered Form */
.panel-login-right {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Stack */
@media (max-width: 992px) {
    .panel-login-container {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 100vh;
    }

    .panel-login-left {
        display: none; /* Focus on form for mobile */
    }

    .panel-login-right {
        min-height: 100vh;
        padding: 40px 20px;
    }

    .login-card {
        padding: 32px 24px;
    }
}

.panel-hero-logo {
    display: block;
    margin-bottom: 2rem;
    max-width: 280px;
    filter: brightness(0) invert(1); /* Force white color if it's a black logo */
}

.panel-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.2rem !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    margin-bottom: 1.5rem !important;
    color: #F9F9F9;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.5px;
}

.panel-hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
}

.login-benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 480px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.08); /* Lighter glass */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateX(10px);
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.4);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-info h3 {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 0 2px 0 !important;
}

.benefit-info p {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0 !important;
}

.btn-panel-cta {
    display: inline-block;
    padding: 14px 36px;
    background-color: white;
    color: #1A2B48;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: 6px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-panel-cta:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.panel-hero-more {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.9;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    color: #fff;
}

.arrow-down {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(10px);
    }

    60% {
        transform: translateY(5px);
    }
}

/* Right Column: Login Form */
.panel-login-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* iOS Glassmorphism Style */
/* Unified Glassmorphism Style */
/* Legacy login-box replaced by .login-card */

/* Responsive adjustments */
@media (max-width: 900px) {
    .panel-login-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 40px 1.5rem;
        display: block;
        width: 100%;
    }

    .panel-login-wrapper {
        display: block;
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    .panel-login-left {
        text-align: center;
        margin-bottom: 3rem;
        padding-top: 20px;
    }

    .panel-hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .login-box {
        margin: 0 auto;
    }
}

/* =========================================
   Shopping Cart Styles
   ========================================= */

/* Cart Icon in Header */
.cart-icon-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-base);
    border-radius: var(--radius-md);
    margin-right: 12px;
}

.cart-icon-link:hover {
    background-color: var(--light-grey-color);
    color: var(--main-color);
    transform: translateY(-1px);
}

.cart-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.cart-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--danger-color);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    min-width: 20px;
    text-align: center;
    line-height: 1.2;
    box-shadow: var(--shadow-md);
    animation: badgePulse 0.3s ease-in-out;
}

@keyframes badgePulse {
    0% {
        transform: scale(0.8);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Add to Cart Button */
.btn-add {
    background: linear-gradient(135deg, var(--main-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn-add::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-add:hover::before {
    left: 100%;
}

.btn-add:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--main-color) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-add:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-add:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: var(--shadow-sm);
}

/* Cart Page Specific Styles */
.btn-remove {
    background: var(--danger-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-base);
}

.btn-remove:hover {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-checkout {
    width: 100%;
    background: var(--success-color);
    color: white;
    border: none;
    padding: 16px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.btn-checkout:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* Spinner for loading states */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--light-grey-color);
    border-top: 4px solid var(--main-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive adjustments for cart */
@media (max-width: 768px) {
    .cart-icon-link {
        padding: 8px 12px;
        margin-right: 8px;
    }

    .cart-icon {
        font-size: 1.25rem;
    }

    .btn-add {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* ===== FILTROS HORIZONTALES (NUEVO DISEÑO) ===== */
    .filters-horizontal-bar {
        background: white;
        border-radius: 12px;
        margin-bottom: 24px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        border: 1px solid #e5e7eb;
        position: relative;
        padding: 12px 0;
        border: none;
        box-shadow: none;
        margin-bottom: 0;
    }

    .sticky-results-header-wrapper {
        position: sticky;
        top: 71px !important; /* Flush against fixed header bottom */
        z-index: 9500 !important; /* Above flight cards (990) and under main header (9999) */
        background: white;
        padding: 15px 24px;
        border-radius: 0 0 20px 20px;
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
        border: 1px solid #E5E7EB;
        border-top: none;
        margin-bottom: 30px;
        transition: all 0.3s ease;
    }

    .results-info-banner {
        padding-bottom: 15px;
        margin-bottom: 15px;
        border-bottom: 1px solid #F3F4F6;
    }

    .info-banner-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .info-banner-left {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .info-banner-icon {
        width: 48px;
        height: 48px;
        background: #EFF6FF;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
    }

    .info-banner-title h2 {
        font-size: 20px !important;
        font-weight: 800 !important;
        color: #111827 !important;
        margin: 0 !important;
        letter-spacing: -0.5px !important;
    }

    .info-banner-title p {
        font-size: 13px !important;
        color: #6B7280 !important;
        margin: 2px 0 0 0 !important;
        font-weight: 600 !important;
    }

    .info-banner-right {
        text-align: right;
        background: #F9FAFB;
        padding: 8px 16px;
        border-radius: 10px;
        border: 1px solid #F3F4F6;
    }

    .info-banner-date-label {
        font-size: 10px;
        color: #9CA3AF;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 2px;
    }

    .info-banner-date-range {
        font-size: 14px;
        font-weight: 800;
        color: #3B82F6;
    }

    .filters-bar-content {
        display: flex;
        align-items: center;
        gap: 15px;
        flex-wrap: wrap;
    }

    .filter-item-group {
        display: flex;
        align-items: center;
        gap: 10px;
        padding-right: 15px;
        border-right: 1px solid #e5e7eb;
    }

    .filter-label-main {
        font-weight: 800;
        font-size: 13px;
        color: #1f2937;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Dropdown de Filtros */
    .filter-dropdown-container {
        position: relative;
    }

    .filter-dropdown-btn {
        background: #f9fafb;
        border: 1px solid #e5e7eb;
        padding: 8px 16px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 600;
        color: #4b5563;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: all 0.2s;
    }

    .filter-dropdown-btn:hover {
        background: #f3f4f6;
        border-color: #3b82f6;
        color: #3b82f6;
    }

    .filter-dropdown-btn .chevron {
        font-size: 10px;
        transition: transform 0.2s;
    }

    .filter-dropdown-container:hover .filter-dropdown-btn .chevron {
        transform: rotate(180deg);
    }

    .filter-dropdown-content {
        visibility: hidden;
        opacity: 0;
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        min-width: 220px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        border-radius: 12px;
        border: 1px solid #e5e7eb;
        padding: 16px;
        z-index: 1100;
        margin-top: 8px;
        transition: opacity 0.2s, visibility 0.2s;
    }

    /* Puente invisible para evitar que se cierre el hover */
    .filter-dropdown-content::before {
        content: '';
        position: absolute;
        top: -12px;
        left: 0;
        width: 100%;
        height: 12px;
        background: transparent;
    }

    .filter-dropdown-container:hover .filter-dropdown-content {
        visibility: visible;
        opacity: 1;
    }

    .price-dropdown {
        width: 300px;
    }

    /* Estilos internos de filtros */
    .filter-checkbox {
        display: flex;
        align-items: center;
        padding: 8px 0;
        cursor: pointer;
        font-size: 13px;
        color: #4b5563;
        transition: color 0.2s;
    }

    .filter-checkbox:hover {
        color: #3b82f6;
    }

    .filter-checkbox input {
        margin-right: 10px;
        width: 16px;
        height: 16px;
        cursor: pointer;
    }

    .filter-checkbox .count {
        margin-left: auto;
        font-size: 11px;
        color: #9ca3af;
        font-weight: 500;
    }

    .filter-radio {
        display: flex;
        align-items: center;
        padding: 8px 0;
        cursor: pointer;
        font-size: 13px;
        color: #4b5563;
        transition: color 0.2s;
    }

    .filter-radio:hover {
        color: #3b82f6;
    }

    .filter-radio input {
        margin-right: 10px;
        width: 16px;
        height: 16px;
        cursor: pointer;
    }

    .sort-dropdown {
        min-width: 180px;
    }

    .results-count-pill {
        margin-left: auto;
        background: #eff6ff;
        color: #3b82f6;
        padding: 6px 16px;
        border-radius: 50px;
        font-size: 12px;
        font-weight: 700;
        border: 1px solid #dbeafe;
    }

    /* Layout ajustado */
    .search-results-container {
        width: 100%;
        margin-top: 0;
    }

    .results-main {
        width: 100%;
    }

    .btn-clear-filters {
        background: white;
        border: 1px solid #ef4444;
        color: #ef4444;
        padding: 6px 12px;
        border-radius: 6px;
        font-size: 11px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s;
    }

    .btn-clear-filters:hover {
        background: #ef4444;
        color: white;
    }

    /* Nombre de la aerolínea */
    .filter-checkbox span:not(.count) {
        flex: 1;
        font-size: 14px;
        color: #3f444a;
        /* Truncar texto largo con ellipsis */
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        min-width: 0 !important; /* Importante para que funcione ellipsis con flexbox */
        max-width: 200px !important; /* Forzar ancho máximo */
    }

    .filter-checkbox .count {
        margin-left: auto;
        color: #999;
        font-size: 12px;
        font-weight: 600;
    }

    /* Rango de Precio */
    .price-range {
        padding: 12px 0;
    }

    .price-inputs {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .price-range input[type="range"] {
        width: 100%;
        height: 6px;
        border-radius: 3px;
        background: linear-gradient(to right, #e0e6ed 0%, #5191FA 100%);
        outline: none;
        -webkit-appearance: none;
        appearance: none;
        cursor: pointer;
    }

    .price-range input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #5191FA;
        cursor: pointer;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        transition: all 0.2s;
    }

    .price-range input[type="range"]::-webkit-slider-thumb:hover {
        background: #0D47A1;
        transform: scale(1.1);
    }

    .price-range input[type="range"]::-moz-range-thumb {
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #5191FA;
        cursor: pointer;
        border: none;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .price-labels {
        display: flex;
        justify-content: space-between;
        font-size: 13px;
        font-weight: 600;
        color: #5191FA;
        margin-top: 8px;
    }

    /* Contador de Resultados */
    .results-count {
        margin-top: 20px;
        padding: 16px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border-radius: 12px;
        text-align: center;
        font-size: 14px;
    }

    .results-count strong {
        font-size: 18px;
        font-weight: 700;
    }

    /* Responsive */
    @media (max-width: 900px) {
        .search-results-container {
            grid-template-columns: 1fr;
        }

        .filters-sidebar {
            position: relative;
            top: 0;
        }
    }

    