
        :root {
            /* Design system aligned with landing page */
            --primary-color: #FFCC00;
            --secondary-color: #333333;
            --accent-color: #ff9500;
            --light-gray: #F5F5F5;
            --color-dark: #222222;
            --border-radius: 12px;
            --radius-lg: 12px;
            --transition: all 0.3s ease;
        }

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

        html {
            overflow-x: hidden;
            width: 100%;
        }

        body {
            font-family: 'Montserrat', Arial, sans-serif;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            margin: 0;
            background-color: white;
            color: var(--secondary-color);
            overflow-x: hidden;
            width: 100%;
            position: relative;
        }

        header {
            background-color: var(--primary-color);
            padding: 15px 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: relative;
            z-index: 10;
        }

        .logo-container {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .logo-text {
            font-size: 24px;
            font-weight: 700;
        }

        main {
            flex: 1;
            padding: 20px;
            max-width: 600px;
            width: 100%;
            margin: 0 auto;
        }

        .card {
            background-color: white;
            border-radius: var(--border-radius);
            box-shadow: 0 4px 15px rgba(0,0,0,0.08);
            padding: 20px;
            margin-bottom: 20px;
        }

        h1 {
            font-size: 24px;
            margin-bottom: 10px;
            text-align: center;
        }

        .instructions {
            font-size: 16px;
            line-height: 1.5;
            margin-bottom: 15px;
            color: #555;
            text-align: center;
        }

        select {
            width: 100%;
            padding: 14px;
            font-size: 16px;
            border-radius: var(--border-radius);
            border: 2px solid #ddd;
            margin-bottom: 15px;
            appearance: none;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 15px center;
            background-size: 15px;
        }

        select:focus {
            outline: none;
            border-color: var(--accent-color);
        }

        button {
            width: 100%;
            padding: 16px;
            font-size: 16px;
            font-weight: 600;
            border-radius: var(--border-radius);
            border: none;
            background-color: var(--primary-color);
            color: var(--secondary-color);
            cursor: pointer;
            transition: all 0.2s ease;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }

        button:hover {
            background-color: var(--accent-color);
            transform: translateY(-2px);
        }

        #map {
            width: 100%;
            height: 400px;
            border-radius: var(--border-radius);
            margin: 20px 0;
            box-shadow: 0 4px 15px rgba(0,0,0,0.08);
        }

        #match-info {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.85);
            color: white;
            padding: 15px 20px;
            border-radius: var(--border-radius);
            z-index: 1000;
            max-width: 90%;
            text-align: center;
            display: none;
            animation: fadeInUp 0.4s ease-out;
        }

        .origin-info {
            background-color: var(--light-gray);
            padding: 12px;
            border-radius: var(--border-radius);
            margin-bottom: 15px;
            font-weight: 600;
            text-align: center;
        }
        .origin-info p.instructions {
            font-size: 14px;
            font-weight: 200;
            line-height: 1.5;
            margin-bottom: 6px;
            margin-top: 6px;
            color: #555;
            text-align: center;
        }

        .status-indicator {
            display: inline-block;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin-right: 8px;
        }

        .status-active {
            background-color: #4CAF50;
        }

        .status-waiting {
            background-color: #FFC107;
        }

        footer {
            text-align: center;
            padding: 20px;
            background-color: var(--light-gray);
            color: #666;
            font-size: 14px;
            justify-content: space-between;
            align-items: center;
            display: flex;
        }

        /* Estilos para el listado de paradas cercanas */
        .nearby-stops-container {
            background-color: white;
            border-radius: var(--border-radius);
            box-shadow: 0 4px 15px rgba(0,0,0,0.08);
            margin-bottom: 20px;
            overflow: hidden;
            display: none;
        }

        .nearby-stops-header {
            background-color: var(--light-gray);
            padding: 12px 15px;
            font-weight: 600;
            border-bottom: 1px solid #e0e0e0;
        }

        .nearby-stop-item {
            padding: 12px 15px;
            border-bottom: 1px solid #f0f0f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            transition: background-color 0.2s;
        }

        .nearby-stop-item:last-child {
            border-bottom: none;
        }

        .nearby-stop-item:hover {
            background-color: #f9f9f9;
        }

        .nearby-stop-item.selected {
            background-color: #fff9e6;
            border-left: 4px solid var(--primary-color);
        }

        .stop-name {
            font-weight: 500;
        }

        .stop-distance {
            color: #888;
            font-size: 14px;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translate(-50%, 20px);
            }
            to {
                opacity: 1;
                transform: translate(-50%, 0);
            }
        }

        @media (max-width: 768px) {
            main {
                padding: 15px;
            }

            h1 {
                font-size: 22px;
            }
        }

        .watermark {
            bottom: 10px;
            right: 10px;
            width: 15px;
            opacity: 0.1;
            pointer-events: none;
            margin-left: auto;
            display: flex;
        }

        .chat-panel {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 100%;
            max-width: 100%;
            height: 400px;
            background-color: white;
            border-radius: 16px;
            box-shadow: 0 5px 25px rgba(0,0,0,0.15);
            display: flex;
            flex-direction: column;
            z-index: 1000;
            overflow: hidden;
            transform: translateY(345px);
            transition: transform 0.3s ease;
        }

        .chat-panel.expanded {
            transform: translateY(0);
        }

        .chat-header {
            background-color: var(--primary-color);
            padding: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            position: relative;
        }

        .chat-title {
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 600;
        }

        .chat-icon {
            font-size: 20px;
        }

        .minimize-btn {
            background: none;
            border: none;
            color: var(--secondary-color);
            font-size: 18px;
            cursor: pointer;
            padding: 0 5px;
            box-shadow: none;
            width: auto;
        }

        .minimize-btn:hover {
            background: none;
            transform: none;
        }

        .chat-messages {
            flex: 1;
            padding: 15px;
            overflow-y: auto;
            background-color: #f0f0f0;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .user-message, .system-message, .match-message {
            max-width: 80%;
            padding: 12px;
            border-radius: 12px;
            position: relative;
            word-break: break-word;
        }

        .user-message {
            align-self: flex-end;
            background-color: #DCF8C6;
            border-top-right-radius: 4px;
        }

        .system-message {
            align-self: center;
            background-color: #ebebeb;
            border-radius: 18px;
            padding: 8px 12px;
            font-size: 0.85em;
            color: #555;
        }

        .match-message {
            align-self: flex-start;
            background-color: white;
            border-top-left-radius: 4px;
        }

        .message-content {
            margin-bottom: 5px;
        }

        .message-time {
            font-size: 11px;
            color: #777;
            text-align: right;
        }

        .chat-notification {
            position: absolute;
            top: -8px;
            right: -8px;
            background-color: #FF3B30;
            color: white;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 600;
        }

        .chat-notification.hidden {
            display: none;
        }

        /* Animación para nuevos mensajes */
        @keyframes newMessage {
            0% { transform: translateY(20px); opacity: 0; }
            100% { transform: translateY(0); opacity: 1; }
        }

        .new-message {
            animation: newMessage 0.3s ease-out;
        }

        /* Estilos para el selector visual de destinos */
        .destination-selector {
            margin-bottom: 20px;
            display: flex;
            flex-wrap: wrap;
            padding: 20px;
        }

        .destination-selector-header {
            font-weight: 600;
            margin-bottom: 10px;
            padding-top: 10px;
            flex: 1;
        }

        .destination-options {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            max-height: 300px;
            overflow-y: auto;
        }

        .destination-option {
            background-color: white;
            border: 2px solid #f0f0f0;
            border-radius: var(--border-radius);
            padding: 12px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .destination-option:hover {
            border: 6px;
            border-color: var(--accent-color);
            transform: translateY(-2px);
        }

        .destination-option.selected {
            border: 3px solid var(--primary-color); /* Borde más grueso */
            background-color: #fff3e0; /* Fondo más llamativo */
            box-shadow: 0 6px 12px rgba(255, 149, 0, 0.3); /* Sombra más pronunciada */
            transform: scale(1.01); /* Ligero aumento de tamaño */
            transition: all 0.2s ease; /* Transición suave */
        }

        .destination-name {
            font-weight: 600;
            font-size: 14px;
            margin-bottom: 5px;
        }

        .destination-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 12px;
            color: #666;
        }
        /* Ajustes para móviles y tablets */
        @media (max-width: 768px) {
            main {
                padding: 10px;
            }

            h1 {
                font-size: 20px;
            }

            #map {
                height: 300px; /* Reducir la altura del mapa en móviles */
            }

            .chat-panel {
                width: 100%; /* El chat ocupa toda la pantalla en móviles */
                height: 60vh; /* Altura del chat en móviles */
                right: 0;
                bottom: 0;
                border-radius: 0;
            }

            .destination-options {
                grid-template-columns: 1fr; /* Una columna en móviles */
            }

            button {
                padding: 12px; /* Botones más pequeños en móviles */
                font-size: 14px;
            }
        }
        /* Estilos para mensajes de usuario */
        .user-message {
            background-color: #DCF8C6;
            align-self: flex-end;
            border-top-right-radius: 4px;
            border-bottom-left-radius: 12px;
        }

        /* Estilos para mensajes del sistema */
        .system-message {
            background-color: #ebebeb;
            align-self: center;
            border-radius: 18px;
            padding: 8px 12px;
            font-size: 0.85em;
            color: #555;
        }

        /* Estilos para mensajes de coincidencias */
        .match-message {
            background-color: #fff3e0;
            align-self: flex-start;
            border-top-left-radius: 4px;
            border-bottom-right-radius: 12px;
        }

        /* Animación para nuevos mensajes */
        @keyframes newMessage {
            0% { transform: translateY(20px); opacity: 0; }
            100% { transform: translateY(0); opacity: 1; }
        }

        .new-message {
            animation: newMessage 0.3s ease-out;
        }

        /* Mejoras en los botones */
        button {
            transition: all 0.3s ease;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }

        /* Mejoras en las tarjetas */
        .card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
        }

        main {
            flex: 1;
            padding: 20px;
            max-width: 1200px; /* Aumentado para layouts de 2 columnas */
            width: 100%;
            margin: 0 auto;
            overflow-x: hidden;
        }

        .app-container {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
            width: 100%;
            overflow-x: hidden;
        }

        /* Layout para pantallas grandes */
        @media (min-width: 992px) {
            .app-container {
                grid-template-columns: 1fr 1fr;
            }

            .controls-section {
                grid-column: 1;
            }

            .map-section {
                grid-column: 2;
                position: sticky;
                top: 20px;
                height: calc(100vh - 200px);
                display: flex;
                flex-direction: column;
            }

            #map {
                flex: 1;
                height: 60%;
                margin: 0 0 20px 0;
            }

            .chat-panel {
                position: relative;
                bottom: auto;
                right: auto;
                width: 100%;
                height: 40%;
                transform: none;
                margin-top: auto;
            }

            .chat-panel.expanded {
                transform: none;
            }
        }

        /* Ajustes para tablets */
        @media (min-width: 768px) and (max-width: 991px) {
            main {
                padding: 15px;
            }

            .app-container {
                grid-template-columns: 1fr;
            }

            #map {
                height: 350px;
            }

            .chat-panel {
                width: 350px;
                right: 20px;
                bottom: 20px;
            }
        }

        /* Ajustes para móviles (ya incluidos en tu CSS, sólo añadiendo cambios) */
        @media (max-width: 767px) {
            .chat-panel {
                width: 100%;
                height: 60vh;
                right: 0;
                bottom: 0;
                border-radius: 16px 16px 0 0;
                box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
            }

            .origin-destination-container {
                display: flex;
                flex-direction: column;
                gap: 10px;
            }
        }


        .match-message {
            background-color: #fff3e0;
            align-self: flex-start;
            border-top-left-radius: 4px;
            border-bottom-right-radius: 12px;
            border-left: 3px solid var(--accent-color);
            position: relative;
        }

        .match-message::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 3px;
            background: linear-gradient(to bottom, var(--accent-color), transparent);
            border-top-left-radius: 4px;
        }

        /* Mejores indicadores visuales */
        .origin-destination-container {
            position: relative;
        }

        /*.origin-destination-container::after {
            content: '↓';
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translateX(-50%);
            font-size: 20px;
            color: var(--accent-color);
            opacity: 0.7;
        }*/

        /* Mejoras en la visibilidad de los estados */
        .status-indicator {
            display: inline-block;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin-right: 8px;
            position: relative;
        }

        .status-active {
            background-color: #4CAF50;
        }

        .status-active::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background-color: #4CAF50;
            opacity: 0.5;
            animation: pulse 1.5s infinite;
        }

        .status-waiting {
            background-color: #FFC107;
        }

        .status-waiting::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background-color: #FFC107;
            opacity: 0.5;
            animation: pulse 1.5s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(1); opacity: 0.5; }
            50% { transform: scale(1.5); opacity: 0; }
            100% { transform: scale(1); opacity: 0; }
        }

        /* Mejoras en la información sobre el mapa */
        .map-overlay {
            position: absolute;
            bottom: 20px;
            left: 20px;
            background-color: rgba(255, 255, 255, 0.9);
            border-radius: 8px;
            padding: 10px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            z-index: 500;
            max-width: 200px;
            font-size: 12px;
        }

        .map-legend {
            display: flex;
            flex-direction: column;
            gap: 5px;
            font-size: 12px;
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .legend-color {
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }

        .legend-origin {
            background-color: var(--primary-color);
        }

        .legend-destination {
            background-color: var(--accent-color);
        }

        .legend-match {
            background-color: #4CAF50;
        }

        /* Mejoras en efectos de hover y focus */
        button:focus, select:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(255, 221, 0, 0.3);
        }

        .nearby-stop-item:focus {
            outline: none;
            border-left: 4px solid var(--primary-color);
            background-color: #fff9e6;
        }

        /* Mejoras de accesibilidad */
        @media (prefers-reduced-motion) {
            .card:hover,
            button:hover,
            .destination-option:hover {
                transform: none;
            }

            .new-message {
                animation: none;
            }

            .status-active::after,
            .status-waiting::after {
                animation: none;
            }
        }
        .fare-estimation {
            background-color: white;
            border-radius: var(--border-radius);
            box-shadow: 0 4px 15px rgba(0,0,0,0.08);
            margin: 20px 0;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .fare-estimation:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        }

        .fare-header {
            background-color: var(--primary-color);
            padding: 15px;
            font-weight: 600;
            text-align: center;
            position: relative;
        }

        .fare-header::after {
            content: '💰';
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
        }

        .fare-body {
            padding: 15px;
        }

        .fare-detail {
            color: #666;
            margin-bottom: 8px;
            font-size: 14px;
        }

        .fare-total {
            font-size: 18px;
            margin: 15px 0;
        }

        .fare-divider {
            height: 1px;
            background-color: #eee;
            margin: 15px 0;
        }

        .fare-shared {
            font-size: 16px;
            color: #333;
            margin-bottom: 10px;
        }

        .fare-savings {
            font-size: 16px;
            color: #4CAF50;
            font-weight: 500;
            position: relative;
            padding-left: 24px;
        }

        .fare-savings::before {
            content: "\2713";
            position: absolute;
            left: 0;
            color: #4CAF50;
            font-weight: bold;
        }

        @media (max-width: 768px) {
            .fare-estimation {
                margin: 15px 0;
            }

            .fare-total {
                font-size: 16px;
            }
        }
/* Estilos para el contenedor de información de tarifa */
.fare-info-container {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 15px 0;
    padding: 15px;
    display: none; /* Inicialmente oculto */
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fare-info-header h3 {
    color: #333;
    font-size: 18px;
    margin: 0 0 10px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.fare-detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.fare-label {
    color: #666;
    font-weight: 500;
}

.fare-value {
    font-weight: 500;
    color: #333;
}

.total-fare {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #eee;
}

.total-fare .fare-label,
.total-fare .fare-value {
    font-size: 16px;
    font-weight: 700;
    color: #ff9500;
}

.fare-sharing-container {
    margin-top: 15px;
}

.fare-sharing-container h4 {
    font-size: 16px;
    color: #333;
    margin: 0 0 10px 0;
}

.fare-sharing-options {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.fare-sharing-option {
    flex: 1;
    min-width: 90px;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.fare-sharing-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.passenger-count {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.fare-per-person {
    font-size: 16px;
    font-weight: 700;
    color: #ff9500;
    margin-bottom: 5px;
}

.fare-savings {
    font-size: 12px;
    color: #4CAF50;
    font-weight: 500;
}

/* Estilos para la información de tarifa en el chat */
.system-message .message-content strong {
    color: #ff9500;
}

.search-container {
    display: flex;
    align-items: center;
    padding: 5px;
    margin-bottom: 18px; /* Separación con las opciones */
    width: 40%;
}

#destination-search {
    border: none;
    outline: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
    font-size: 16px;
    padding: 5px;
    background: none;
    transition: border-color 0.3s;
    width: 100%; /* Ajuste fluido */
}

#destination-search:focus {
    border-color: rgba(0, 0, 0, 0.5);
}

.search-icon {
    cursor: pointer;
    margin-left: 8px;
    color: rgba(0, 0, 0, 0.5);
    font-size: 18px;
}

.cluster-container {
    margin-bottom: 15px; /* Espacio entre clusters */
}

.cluster-header {
    font-weight: 600;
    margin: 15px 0 10px 0;
    padding: 10px;
    background-color: #f0f0f0;
    border-radius: 8px;
    color: #333;
    font-size: 14px;
}


.cluster-legend {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
    font-size: 14px;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.legend-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-text {
    color: #666;
    font-size: 13px;
}

.destination-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Dos columnas */
    gap: 10px; /* Espacio entre tarjetas */
}

.destination-option {
    background-color: white;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.destination-option:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.destination-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
}

.destination-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
}

/* ===== Suggestion CTA Card ===== */
.suggestion-cta-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #FFD700 100%);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-top: 20px;
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 20px;
    animation: pulse-glow 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.suggestion-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: rotate-glow 8s linear infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(255, 204, 0, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(255, 204, 0, 0.5);
    }
}

@keyframes rotate-glow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.suggestion-icon {
    font-size: 48px;
    flex-shrink: 0;
    animation: bounce-icon 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes bounce-icon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.suggestion-content {
    flex: 1;
    z-index: 1;
}

.suggestion-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.suggestion-text {
    font-size: 14px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.5;
}

.suggestion-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.suggestion-button:hover {
    background-color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.suggestion-button:active {
    transform: translateY(0);
}

/* Responsive adjustments for suggestion CTA */
@media (max-width: 768px) {
    .suggestion-cta-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }

    .suggestion-icon {
        font-size: 40px;
    }

    .suggestion-title {
        font-size: 18px;
    }

    .suggestion-text {
        font-size: 13px;
    }

    .suggestion-button {
        width: 100%;
        text-align: center;
    }
}

/* ===== Forzar que no haya overflow horizontal ===== */
html, body {
    overflow-x: hidden;
}

/* Limitar ancho solo a elementos de layout que lo necesiten */
main, .app-container, .card, .destination-options, .suggestion-cta-card {
    max-width: 100%;
}

/* ===== Ajustes móviles ===== */
@media (max-width: 767px) {
    body {
        display: block; /* Evita conflictos de flex min-height */
    }

    main {
        padding-left: 10px;
        padding-right: 10px;
        flex: none; /* Evita que flex 1 rompa scroll */
        min-height: auto;
    }

    .destination-options {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .suggestion-cta-card {
        flex-direction: column;
        padding: 15px;
        gap: 10px;
        max-width: 100%;
        text-align: center;
    }

    /* Panel de chat móvil */
    .chat-panel {
        position: fixed;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 60vh;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
        transform: translateY(345px);
        transition: transform 0.3s ease;
        z-index: 1000;
    }

    .chat-panel.expanded {
        transform: translateY(0);
    }
}
