/* Ruta: /assets/css/main.css */
:root { --primary-color: #007BFF; --primary-hover: #0056b3; --dark-color: #343a40; --light-color: #f8f9fa; --white-color: #ffffff; --border-color: #dee2e6; --green-color: #28a745; --red-color: #dc3545; --gray-color: #6c757d; --shadow: 0 4px 12px rgba(0, 0, 0, 0.08); --border-radius: 8px; --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; --baq-red: #CB1A21; --baq-yellow: #F7CD00; --baq-green: #009352; }
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-family); background-color: var(--light-color); color: var(--dark-color); line-height: 1.6; }
main { padding: 2rem 1rem; }
.container { max-width: 880px; margin: 0 auto; padding: 0 1rem; }
a { color: var(--primary-color); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--primary-hover); }
h1, h2, h3, h4 { line-height: 1.2; }
header { background-color: var(--white-color); box-shadow: var(--shadow); padding: 1rem 0; position: sticky; top: 0; z-index: 1000; }
nav { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.logo-icon { height: 45px; width: auto; }
nav .logo { font-size: 1.8rem; font-weight: bold; color: var(--dark-color); display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-text-red { color: var(--baq-red); }
.logo-text-yellow { color: var(--baq-yellow); }
.logo-text-green { color: var(--baq-green); }
.nav-toggle { display: block; background: transparent; border: none; cursor: pointer; z-index: 1001; padding: 0; }
.hamburger { display: block; position: relative; width: 25px; height: 3px; background: var(--dark-color); border-radius: 3px; transition: all 0.25s ease-in-out; }
.hamburger::before, .hamburger::after { content: ''; position: absolute; width: 25px; height: 3px; background: var(--dark-color); border-radius: 3px; transition: all 0.25s ease-in-out; }
.hamburger::before { transform: translateY(-8px); }
.hamburger::after { transform: translateY(8px); }
.nav-toggle.active .hamburger { background: transparent; }
.nav-toggle.active .hamburger::before { transform: rotate(45deg); }
.nav-toggle.active .hamburger::after { transform: rotate(-45deg); }
.nav-links { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(5px); flex-direction: column; justify-content: center; align-items: center; z-index: 1000; padding: 2rem; }
.nav-links.active { display: flex; }
nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2rem; text-align: center; }
nav ul li a { color: var(--dark-color); font-weight: 500; font-size: 1.5rem; }
.nav-auth-actions { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.user-info { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; cursor: pointer; padding: 5px; }
.user-info .user-avatar { width: 50px; height: 50px; border-radius: 50%; box-shadow: var(--shadow); object-fit: cover; }
@media (min-width: 800px) { .user-info .user-avatar { width: 35px; height: 35px; } }
.user-info .user-name { font-weight: bold; color: var(--dark-color); font-size: 1.1rem; display: none; }
@media (min-width: 800px) { .user-info .user-name { display: block; font-size: 1rem; } }
.dropdown-user-profile { position: relative; display: inline-block; }
.dropdown-menu { display: none; position: absolute; background-color: var(--white-color); min-width: 220px; box-shadow: var(--shadow); z-index: 1002; border-radius: var(--border-radius); overflow: hidden; left: 50%; transform: translateX(-50%); top: calc(100% + 5px); padding: 8px 0; border: 1px solid var(--border-color); }
@media (min-width: 800px) { .dropdown-menu { left: auto; right: 0; transform: none; } }
.user-info:hover .dropdown-menu, .dropdown-user-profile:hover .dropdown-menu, .dropdown-menu:hover { display: block; }
.dropdown-menu a { color: var(--dark-color); padding: 10px 16px; text-decoration: none; display: flex; align-items: center; gap: 10px; font-size: 1rem; white-space: nowrap; }
.dropdown-menu a:hover { background-color: #f1f1f1; }
.btn-google-login { background-color: #DB4437; color: white; padding: 0.5rem 1.25rem; line-height: 1.2; border-radius: 50px; font-weight: bold; display: flex; align-items: center; gap: 8px; text-decoration: none; transition: background-color 0.2s ease; white-space: nowrap; font-size: 0.95rem; height: 40px; }
.btn-google-login:hover { background-color: #C0392B; }
.main-search-form { width: 100%; display: flex; margin-top: 1rem; order: 3; position: relative; max-width: 90%; height: 40px; }
@media (min-width: 800px) { .main-search-form { width: auto; margin-top: 0; order: 2; flex-grow: 1; max-width: 300px; margin-left: auto; margin-right: 1.5rem; height: auto; } }
.main-search-form input[type="text"] { flex-grow: 1; padding: 0.75rem 1rem; border: 1px solid var(--border-color); border-radius: 50px; font-size: 1rem; -webkit-appearance: none; -moz-appearance: none; appearance: none; padding-right: 40px; height: 100%; }
@media (min-width: 800px) { .main-search-form input[type="text"] { height: auto; } }
.main-search-form button { background-color: transparent; color: var(--dark-color); border: none; border-radius: 50px; padding: 0; cursor: pointer; font-size: 1.1rem; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; }
.main-search-form button:hover { color: var(--primary-color); }
@media (min-width: 800px) { .nav-toggle { display: none; } .nav-links { display: flex; position: static; height: auto; width: auto; background: none; backdrop-filter: none; z-index: 1; order: initial; flex-grow: 1; flex-direction: row; justify-content: flex-end; align-items: center; gap: 1.5rem; margin-top: 0; padding: 0; } .nav-links ul { flex-direction: row; gap: 1.5rem; margin: 0; } .nav-links ul li a { font-size: 1rem; } .nav-auth-actions { display: flex; flex-direction: row; align-items: center; gap: 1.5rem; margin-top: 0; } .user-info { flex-direction: row; gap: 0.5rem; padding: 0; } }
/* --- LISTA DE LUGARES --- */
.places-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 600px) { .places-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .places-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); } }
.place-card { display: flex; flex-direction: column; background-color: var(--white-color); border-radius: var(--border-radius); box-shadow: var(--shadow); overflow: visible; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.place-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); }
.place-card img { width: 100%; height: 200px; object-fit: cover; border-top-left-radius: var(--border-radius); border-top-right-radius: var(--border-radius); }
.place-card-content { padding: 1.5rem; position: relative; display: flex; flex-direction: column; flex-grow: 1; }
.place-card-content h3 { margin: 0 0 0.5rem 0; font-size: 1.3rem; }
.place-card-content p { flex-grow: 1; color: var(--gray-color); font-size: 0.95rem; }
.category-badge { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 50px; color: var(--white-color); font-size: 0.75rem; font-weight: bold; margin-bottom: 1rem; align-self: flex-start; }

/* --- PÁGINA DE DETALLE --- */
.place-detail-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 992px) { .place-detail-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.place-info h1 { margin-top: 0; font-size: 2.2rem; margin-bottom: 1rem; }
.place-info h2 { font-size: 1.6rem; margin-top: 2rem; margin-bottom: 0.8rem; }
.main-place-image { width: 100%; height: auto; max-height: 300px; object-fit: cover; border-radius: var(--border-radius); box-shadow: var(--shadow); }
@media (min-width: 992px) { .main-place-image { max-height: 450px; } }
.image-placeholder { width: 100%; height: 300px; background-color: #e9ecef; border-radius: var(--border-radius); box-shadow: var(--shadow); }
@media (min-width: 992px) { .image-placeholder { height: 450px; } }
.place-media { display: flex; flex-direction: column; gap: 2rem; }
.info-widgets { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; align-items: center; }
.status-indicator { padding: 0.5rem 1rem; border-radius: 50px; font-weight: bold; color: var(--white-color); }
.status-indicator.open { background-color: var(--green-color); }
.status-indicator.closed { background-color: var(--red-color); }
.status-indicator.unknown { background-color: var(--gray-color); }
.weather-widget { display: flex; align-items: center; gap: 0.5rem; background-color: var(--white-color); padding: 0.5rem 1rem; border-radius: var(--border-radius); box-shadow: 0 2px 6px rgba(0,0,0,0.05); }
.weather-icon { width: 50px; height: 50px; }
.weather-data { display: flex; flex-direction: column; line-height: 1.2; }
.weather-temp { font-size: 1.5rem; font-weight: bold; }
.weather-desc { font-size: 0.9rem; color: var(--gray-color); }
.place-actions { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; }
.btn { padding: 0.75rem 1.5rem; border-radius: 50px; font-weight: bold; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; line-height: 1.2; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
.btn-primary { background-color: var(--primary-color); color: white; }
.btn-primary:hover { background-color: var(--primary-hover); color: white; }
.btn.btn-secondary { background-color: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); padding: calc(0.5rem + 1px) 1.25rem; margin-bottom: 0; }
.btn.btn-secondary:hover { background-color: var(--primary-color); color: var(--white-color); }
.add-to-itinerary { position: relative; }
.add-to-itinerary .add-btn { background: var(--primary-color); color: white; border: none; padding: calc(0.5rem + 2px) 1.25rem; border-radius: 50px; cursor: pointer; font-size: 1rem; font-weight: bold; display: inline-flex; align-items: center; gap: 5px; }
.itinerary-dropdown { display: none; position: absolute; top: 100%; left: 0; background-color: var(--white-color); min-width: 220px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); z-index: 20; border-radius: var(--border-radius); overflow: hidden; margin-top: 5px; padding: 8px 0; border: 1px solid var(--border-color); }
.add-to-itinerary:hover .itinerary-dropdown, .itinerary-dropdown:hover { display: block; }
.itinerary-dropdown .dropdown-header { padding: 8px 16px; color: var(--gray-color); font-size: 0.9rem; display: block; }
.itinerary-dropdown a.dropdown-item { color: black; padding: 10px 16px; text-decoration: none; display: block; background: none; border: none; width: 100%; text-align: left; cursor: pointer; font-size: 1rem; }
.itinerary-dropdown a.dropdown-item:hover { background-color: #f1f1f1; }

/* --- MAPA --- */
.map-container { height: 300px; width: 100%; border-radius: var(--border-radius); box-shadow: var(--shadow); }
@media (min-width: 768px) { .map-container { height: 400px; } }
.modal-overlay { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0, 0, 0, 0.6); justify-content: center; align-items: center; }
.modal-content { background-color: var(--white-color); margin: auto; padding: 20px; border-radius: var(--border-radius); width: 90%; max-width: 800px; position: relative; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.modal-close-btn { color: #aaa; position: absolute; top: 10px; right: 20px; font-size: 28px; font-weight: bold; cursor: pointer; }
.modal-close-btn:hover, .modal-close-btn:focus { color: black; text-decoration: none; }
#modal-map-container { width: 100%; height: 500px; }
.marker-stop { cursor: pointer; }

/* --- RESEÑAS --- */
.section-divider { border: 0; height: 1px; background: var(--border-color); margin: 3rem 0; }
.reviews-section { margin-top: 2rem; }
.review-form { background: var(--white-color); padding: 2rem; border-radius: var(--border-radius); box-shadow: var(--shadow); margin-bottom: 2rem; }
.review-form .form-group { margin-bottom: 1rem; }
.review-form label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.review-form textarea, .review-form input[type="file"] { width: 100%; padding: 0.75rem; border: 1px solid var(--border-color); border-radius: var(--border-radius); font-family: inherit; font-size: 1rem; }
.review-form button { background-color: var(--primary-color); color: var(--white-color); border: none; padding: 0.75rem 1.5rem; border-radius: 50px; font-weight: bold; cursor: pointer; transition: background-color 0.2s ease; }
.review-form button:hover { background-color: var(--primary-hover); }
.form-message { font-weight: bold; padding: 1rem; border-radius: var(--border-radius); background-color: #e2e3e5; border: 1px solid var(--border-color); margin-bottom: 2rem; }
.star-rating-input { display: inline-block; direction: rtl; font-size: 0; margin-bottom: 1rem; }
.star-rating-input input[type=radio] { display: none; }
.star-rating-input label { font-size: 2.5rem; color: #ddd; cursor: pointer; transition: color 0.2s; display: inline-block; }
.star-rating-input input[type=radio]:checked ~ label, .star-rating-input label:hover, .star-rating-input label:hover ~ label { color: #f39c12; }
.reviews-list { margin-top: 2rem; }
.review-item { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--border-color); }
@media (min-width: 600px) { .review-item { flex-direction: row; gap: 1.5rem; } }
.review-item:last-child { border-bottom: none; }
.review-author { flex-shrink: 0; text-align: left; display: flex; align-items: center; gap: 10px; }
@media (min-width: 600px) { .review-author { flex-direction: column; text-align: center; width: 80px; } }
.review-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
@media (min-width: 600px) { .review-author img { width: 60px; height: 60px; margin-bottom: 0.5rem; } }
.review-content { flex-grow: 1; }
.star-rating-display .filled { color: #f39c12; }
.review-image img { max-width: 150px; margin-top: 1rem; border-radius: var(--border-radius); }
.file-upload-wrapper { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 5px; }
.file-input { width: 0.1px; height: 0.1px; opacity: 0; overflow: hidden; position: absolute; z-index: -1; }
.file-upload-btn { display: inline-block; cursor: pointer; margin-bottom: 0 !important; font-size: 0.9rem; padding: 0.5rem 1rem; }
.file-name-display { color: var(--gray-color); font-style: italic; font-size: 0.9rem; }

/* --- FILTROS DE CATEGORÍA --- */
.category-filters { display: none; }
.category-dropdown-mobile { display: block; margin-bottom: 2rem; position: relative; }
.category-dropdown-mobile select { width: 100%; padding: 1rem; font-size: 1.1rem; font-weight: 500; color: var(--dark-color); border: 1px solid var(--border-color); border-radius: var(--border-radius); background-color: var(--white-color); -webkit-appearance: none; -moz-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1em; cursor:pointer; }
.category-pill { display: inline-block; padding: 0.6rem 1.25rem; border-radius: 50px; font-weight: 500; color: var(--white-color); background-color: var(--gray-color); transition: transform 0.2s ease, box-shadow 0.2s ease; border: none; white-space: nowrap; text-align: center; }
.category-pill:hover { color: var(--white-color); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); }
.category-pill.active { background-color: var(--primary-color) !important; font-weight: bold; transform: scale(1.05); }
@media (min-width: 800px) { .category-filters { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border-color); } .category-dropdown-mobile { display: none; } }

/* --- PERFIL Y ITINERARIOS --- */
.profile-header { display: flex; flex-direction: column; text-align: center; align-items: center; gap: 1rem; }
@media (min-width: 768px) { .profile-header { flex-direction: row; text-align: left; gap: 2rem; } }
.profile-header img { width: 100px; height: 100px; border-radius: 50%; box-shadow: var(--shadow); object-fit: cover; }
@media (min-width: 768px) { .profile-header img { width: 120px; height: 120px; } }
.profile-info h2 { margin: 0; }
.profile-info p { margin: 0.25rem 0; font-size: 1.1rem; color: var(--gray-color); }
.profile-section { margin-bottom: 3rem; }
.profile-section > h3 { font-size: 1.8rem; margin-bottom: 1.5rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border-color); }
.content-box { background-color: var(--white-color); padding: 2rem; border-radius: var(--border-radius); box-shadow: var(--shadow); margin-bottom: 2rem; }
.content-box h4 { margin-top: 0; margin-bottom: 1.5rem; font-size: 1.3rem; color: var(--dark-color); }
.content-box-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 992px) { .content-box-grid { grid-template-columns: 1fr 2fr; } }
.itinerary-list { list-style: none; padding: 0; margin: 0; }
.itinerary-list li { display: flex; justify-content: space-between; align-items: center; padding: 1rem; border-bottom: 1px solid var(--border-color); transition: background-color 0.2s ease; }
.itinerary-list li:hover { background-color: #f1f1f1; }
.itinerary-list li:last-child { border-bottom: none; }
.itinerary-list .itinerary-link { display: flex; flex-direction: column; text-decoration: none; color: var(--dark-color); flex-grow: 1; }
.itinerary-list .itinerary-link:hover strong { color: var(--primary-color); }
.itinerary-list .itinerary-link small { color: var(--gray-color); }
.delete-btn { background: none; border: none; color: var(--red-color); font-size: 1.5rem; cursor: pointer; padding: 0.5rem; line-height: 1; opacity: 0.5; transition: opacity 0.2s ease; }
.delete-btn:hover { opacity: 1; }
.empty-list-message { color: var(--gray-color); text-align: center; padding: 2rem 0; }
.itinerary-list-container { min-height: 250px; }

/* --- PLANIFICADOR DE ITINERARIO --- */
.planner-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 992px) { .planner-grid { grid-template-columns: 400px 1fr; } }
.planner-list ul { list-style: none; padding: 0; }
.planner-list li { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem; background: var(--white-color); border-radius: var(--border-radius); margin-bottom: 1rem; box-shadow: var(--shadow); cursor: grab; }
.drag-handle { font-size: 1.5rem; color: #ccc; flex-shrink: 0; padding-top: 0.2rem; }
.planner-list .place-info { display: flex; flex-direction: column; flex-grow: 1; }
.planner-list .place-info small { color: var(--gray-color); }
.route-summary { margin-top: 1.5rem; padding: 1rem; background-color: #e9ecef; border-radius: var(--border-radius); line-height: 1.5; }
#itinerary-map { height: 500px; width: 100%; border-radius: var(--border-radius); }

/* --- CHATBOT --- */
#chatbot-widget { width: calc(100% - 20px); max-width: 350px; right: 10px; bottom: 10px; position: fixed; z-index: 1001; }
#chatbot-header { background-color: var(--primary-color); color: var(--white-color); padding: 1rem; border-radius: var(--border-radius); font-weight: bold; cursor: pointer; box-shadow: var(--shadow); }
#chatbot-body { display: none; flex-direction: column; height: 450px; background: var(--white-color); border-radius: var(--border-radius); box-shadow: var(--shadow); border: 1px solid var(--border-color); margin-bottom: 10px; overflow: hidden; }
#chatbot-messages { flex-grow: 1; padding: 1rem; overflow-y: auto; display: flex; flex-direction: column; gap: 0.75rem; }
.message { display: flex; max-width: 90%; line-height: 1.4; gap: 10px; align-items: flex-end; }
.chatbot-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.message-text { padding: 0.75rem; border-radius: 15px; }
.message.bot { align-self: flex-start; }
.message.bot .message-text { background-color: #e9ecef; color: var(--dark-color); border-bottom-left-radius: 2px; }
.message.user { align-self: flex-end; flex-direction: row-reverse; }
.message.user .message-text { background-color: var(--primary-color); color: var(--white-color); border-bottom-right-radius: 2px; }
.typing-indicator span { height: 8px; width: 8px; background-color: #9E9E9E; border-radius: 50%; display: inline-block; animation: bounce 1.4s infinite ease-in-out both; }
.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }
@keyframes bounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1.0); } }
#chatbot-input-container { display: flex; border-top: 1px solid var(--border-color); }
#chatbot-input { flex-grow: 1; border: none; padding: 1rem; font-size: 1rem; }
#chatbot-input:focus { outline: none; }
#chatbot-send-btn { background: var(--primary-color); color: var(--white-color); border: none; padding: 0 1.5rem; font-weight: bold; cursor: pointer; }

/* --- ESTILOS HOME (CORREGIDOS) --- */
.hero-section { text-align: center; padding: 1.5rem 1rem; margin-bottom: 1rem; }
.hero-section h1 { font-size: 2.5rem; margin-bottom: 0.5rem; font-weight: 800; }
@media (min-width: 768px) { .hero-section h1 { font-size: 2.8rem; } }
.hero-section p { font-size: 1.1rem; color: var(--gray-color); max-width: 700px; margin: 0 auto; }
@media (min-width: 768px) { .hero-section p { font-size: 1.2rem; } }
.featured-content-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 3rem; }
@media (min-width: 992px) { .featured-content-grid { grid-template-columns: repeat(2, 1fr); } }
.home-section { display: flex; flex-direction: column; background-color: var(--white-color); border-radius: var(--border-radius); box-shadow: var(--shadow); overflow: hidden; }
.featured-card-section { padding: 1.25rem 1rem; display: flex; flex-direction: column; flex-grow: 1; }
.featured-card-section h2 { font-size: 1.6rem; text-align: left; margin-top: 0; margin-bottom: 0.25rem; display: flex; align-items: center; gap: 10px; color: var(--dark-color); }
.featured-card-section h2 i { color: var(--primary-color); }
.featured-card-section > p { text-align: left; color: var(--gray-color); margin-bottom: 0.75rem; font-size: 0.9rem; }
.featured-cards-container { display: flex; flex-direction: column; gap: 0.25rem; list-style: none; padding: 0; margin: 0; flex-grow: 1; }
.featured-card { display: flex; align-items: center; gap: 0.75rem; background-color: #f8f9fa; padding: 0.5rem; border-radius: var(--border-radius); text-decoration: none; color: var(--dark-color); transition: all 0.2s ease; border: 1px solid transparent; }
.featured-card:hover { background-color: #e9ecef; border-color: #dee2e6; transform: translateY(-2px); box-shadow: 0 2px 5px rgba(0,0,0,0.08); }
.featured-card img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.card-info-content { flex-grow: 1; display: flex; flex-direction: column; justify-content: center; }
.card-info-content h4 { margin: 0; font-size: 1rem; font-weight: 600; color: var(--dark-color); line-height: 1.2; }
.card-info-content .category-badge { font-size: 0.65rem; padding: 3px 8px; margin-top: 4px; align-self: flex-start; }
.card-info-content .event-date-time { font-size: 0.85rem; color: var(--gray-color); margin-top: 4px; display: flex; align-items: center; }
.card-info-content .event-date-time i { color: var(--primary-color); margin-right: 5px; }
.all-content-link { background-color: var(--white-color); padding: 0.75rem; text-align: center; border-top: 1px solid #f1f1f1; margin-top: auto; }
.all-content-link .btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; border-radius: 50px; }
.popular-places-grid { display: none; }

/* --- PAGINACIÓN --- */
.places-grid.columns-3 { grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 600px) { .places-grid.columns-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .places-grid.columns-3 { grid-template-columns: repeat(3, 1fr); } }
.pagination { margin-top: 3rem; text-align: center; }
.pagination ul { list-style: none !important; padding: 0; margin: 0; display: inline-flex !important; flex-direction: row !important; flex-wrap: wrap; justify-content: center; gap: 0.5rem; align-items: center; }
.pagination li { display: inline-block; }
.pagination a { display: flex; align-items: center; justify-content: center; padding: 0.6rem 1rem; min-width: 42px; height: 42px; text-decoration: none; color: var(--primary-color); background-color: var(--white-color); border: 1px solid var(--border-color); border-radius: var(--border-radius); transition: all 0.3s ease; font-weight: 500; }
.pagination a:hover { background-color: var(--primary-color); color: var(--white-color); border-color: var(--primary-color); transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); }
.pagination a.active { background-color: var(--primary-color); color: var(--white-color); border-color: var(--primary-color); font-weight: bold; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); cursor: default; }
.pagination a.active:hover { transform: none; }

/* --- FORMULARIOS ADMIN (Comunes) --- */
.admin-form .form-group { margin-bottom: 1rem; }
.admin-form label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.admin-form input, .admin-form textarea, .admin-form select { width: 100%; padding: 10px; border: 1px solid var(--border-color); border-radius: 5px; font-size: 1rem; }

/* --- FOOTER --- */
footer { text-align: center; padding: 2rem 1rem; margin-top: 3rem; border-top: 1px solid var(--border-color); color: var(--gray-color); font-size: 0.9rem; }

/* === ESTILOS TRANSPORTE === */
.transportation-container .transport-system { margin-bottom: 2.5rem; }
.transportation-container .transport-system h2 { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--border-color); padding-bottom: 0.75rem; margin-bottom: 1.5rem; font-size: 1.8rem; }
.transportation-container .transport-system h2 i { color: var(--primary-color); font-size: 1.5rem; }
.transportation-container .transport-system h3 { font-size: 1.3rem; margin-top: 1.5rem; margin-bottom: 1rem; color: var(--dark-color); }
.transportation-container .route-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.25rem; }
.transportation-container .route-item { --route-color: var(--gray-color); background-color: var(--white-color); padding: 1.25rem 1rem; border-radius: var(--border-radius); border: 1px solid var(--border-color); text-align: center; min-height: 120px; display: flex; flex-direction: column; justify-content: center; align-items: center; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; position: relative; overflow: hidden; }
.transportation-container .route-item::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 6px; background-color: var(--route-color); }
.transportation-container .route-item:hover { transform: translateY(-4px); box-shadow: 0 6px 15px rgba(0,0,0,0.1); }
.transportation-container .route-item strong { font-size: 1.6rem; font-weight: 700; display: block; margin-bottom: 0.3rem; color: var(--route-color); }
.transportation-container .route-item small { color: var(--gray-color); font-size: 0.85rem; display: block; line-height: 1.3; }

/* Estilos Transporte Cercano (place_detail / itinerary_detail) */
.nearby-transport-section h2, .itinerary-stop-info strong i { color: var(--primary-color); }
.nearby-transport-section h2 { font-size: 1.5rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 10px; }
.nearby-stop { margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-color); }
.nearby-stop:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.nearby-stop p { margin: 0 0 0.5rem 0; line-height: 1.5; }
.nearby-stop p strong { font-size: 1.05em; }
.nearby-stop p small { color: var(--gray-color); }
.stop-routes { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.route-badge { color: white; padding: 0.2rem 0.6rem; border-radius: 4px; font-size: 0.8em; font-weight: bold; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.route-badge i { font-size: 0.9em; }
.itinerary-stop-info { margin-top: 0.75rem; font-size: 0.85em; border-top: 1px dashed var(--border-color); padding-top: 0.5rem; }
.itinerary-stop-info strong { color: var(--primary-color); display: flex; align-items: center; gap: 5px; margin-bottom: 0.3rem; font-size: 1.1em; }
.itinerary-nearby-stop { margin-top: 0.3rem; line-height: 1.4; }
.itinerary-nearby-stop small { color: var(--dark-color); }
.itinerary-nearby-stop .route-badge { padding: 0.1rem 0.4rem; font-size: 0.9em; margin-left: 2px; }

/* === NUEVOS ESTILOS PARA DROPDOWN ADMIN === */
.admin-quick-links a.admin-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border-radius: 50px;
    background-color: var(--light-color);
    border: 1px solid var(--border-color);
    color: var(--dark-color);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s ease;
}
.admin-quick-links a.admin-dropdown-toggle i {
    color: var(--primary-color);
}
.admin-quick-links a.admin-dropdown-toggle:hover {
    background-color: #e9ecef;
    border-color: #cdd5df;
}
.admin-quick-links .admin-text-label {
    display: none; /* Oculto en móvil */
}
@media (min-width: 800px) {
    .admin-quick-links .admin-text-label {
        display: inline; /* Visible en escritorio */
    }
}
