/* ==========================================================================
   ¿A DÓNDE VAMOS? - GENERAL ROCA (GRUPO 3 - 2° 2°)
   Hoja de estilos estandarizada integrando:
   1. Paleta de colores oficial del Libro SRS y Maquetas Estudiantiles:
      - Primario Lila: #8E6BBE / #7c4dff
      - Lila Claro / Pastilla: #F3ECF8 / #E9DDF5 / #f3edff
      - Lila Oscuro / Púrpura Profundo: #4A1D80 / #6D28D9
      - Acentos: Teal #00C9A7, Acento Lila #B388FF, Danger #EF4444, Success #10B981
   2. Componentes nativos del diseño SPA (tarjetas de plan, chips, carrusel, badges, bottom navigation)
   3. Componentes desktop y paneles (indicadores, tablas de datos, fichas de lugares, mapas interactivos)
   ========================================================================== */

:root {
    /* Paleta SRS Estudiantil */
    --primary-lilac: #8E6BBE;
    --primary-lila: #8E6BBE;
    --primary-hover: #734DA3;
    --light-lilac: #F3ECF8;
    --light-lila: #F3ECF8;
    --dark-lilac: #4A1D80;
    --dark-lila: #4A1D80;
    --accent: #B388FF;
    --accent-teal: #00C9A7;
    --bg-white: #FFFFFF;
    --surface: #FFFFFF;
    --bg-body: #FCFBFE;
    --bg-gray: #F8F9FA;
    --border-color: #E5E7EB;
    --border: #E9E3F7;
    --text-main: #2D264B;
    --text-muted: #736B8E;
    --error-red: #EF4444;
    --danger: #EF4444;
    --success-green: #10B981;
    --success: #10B981;
    --warning-amber: #F59E0B;
    --radius: 12px;
    --shadow-sm: 0 4px 14px rgba(142, 107, 190, 0.08);
    --shadow-md: 0 8px 24px rgba(142, 107, 190, 0.14);
    --transition: all 0.25s ease;
}

/* Base y Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: "Poppins", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Enlaces */
a { color: inherit; text-decoration: none; transition: var(--transition); }

/* Encabezado Navbar Superior */
.navbar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(142, 107, 190, 0.05);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary-lila) 0%, var(--dark-lila) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(142, 107, 190, 0.3);
}
.brand-name {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    display: block;
}
.brand-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
}
.text-lila { color: var(--primary-lila); }
.text-warning { color: var(--warning-amber); }
.text-muted { color: var(--text-muted); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-item {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.nav-item:hover, .nav-item.active {
    background: var(--light-lila);
    color: var(--dark-lila);
    font-weight: 600;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 12px;
}
.user-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--light-lila);
    padding: 5px 12px 5px 6px;
    border-radius: 30px;
    border: 1px solid var(--border);
}
.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--dark-lila);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}
.user-info {
    line-height: 1.2;
    display: flex;
    flex-direction: column;
}
.user-info strong { font-size: 0.85rem; }
.user-info small { font-size: 0.72rem; color: var(--text-muted); }

.btn-logout {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: var(--transition);
}
.btn-logout:hover { color: var(--error-red); background: #FDE8E8; }
.btn-login {
    background: var(--primary-lila);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.btn-login:hover { background: var(--dark-lila); }

/* Contenido Principal */
.main-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 30px 20px 60px;
    flex: 1;
}

/* Alertas */
.alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    animation: fadeIn 0.3s ease;
}
.alert-success {
    background: #F0FDF4;
    color: #166534;
    border: 1px solid #BBF7D0;
}
.alert-error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* Hero Banner Estilo SRS */
.hero-banner {
    background: linear-gradient(135deg, #7C4DFF 0%, #4A1D80 100%);
    color: white;
    border-radius: 18px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(74, 29, 128, 0.2);
    position: relative;
    overflow: hidden;
}
.hero-banner::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}
.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.hero-title {
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
}
.hero-subtitle {
    font-size: 1.05rem;
    opacity: 0.92;
    max-width: 620px;
    margin-bottom: 24px;
}
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.surprise-banner {
    background: linear-gradient(135deg, #8E6BBE 0%, #3B1266 100%);
}

/* Tarjetas y Componentes Base */
.card {
    background: var(--bg-white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.card:hover {
    box-shadow: var(--shadow-md);
}

/* Formulario de Filtros */
.search-box {
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-lila);
}
.filter-form {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
}
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 170px;
}
.filter-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}
.input-field {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-body);
    font-size: 0.9rem;
    color: var(--text-main);
    outline: none;
    transition: var(--transition);
}
.input-field:focus {
    border-color: var(--primary-lila);
    background: white;
    box-shadow: 0 0 0 3px rgba(142, 107, 190, 0.15);
}
.filter-actions {
    display: flex;
    gap: 8px;
}

/* Botones */
.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-primary {
    background: var(--primary-lila);
    color: white;
}
.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(142, 107, 190, 0.3);
}
.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-lila);
    color: var(--primary-lila);
}
.btn-outline:hover {
    background: var(--light-lila);
}
.btn-ghost {
    background: #F3F4F6;
    color: var(--text-main);
}
.btn-ghost:hover {
    background: #E5E7EB;
}
.btn-sm {
    padding: 6px 12px;
    font-size: 0.82rem;
}
.btn-block {
    width: 100%;
}

/* Chips de Categorías (SRS) */
.chips-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 25px;
}
.chip {
    background: var(--bg-white);
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--transition);
}
.chip:hover, .chip.active {
    background: var(--light-lila);
    color: var(--dark-lila);
    border-color: var(--primary-lila);
}

/* Grilla de Lugares */
.places-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}
.grid-places {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 22px;
}
.place-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.place-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-lila);
}
.place-card-banner {
    height: 140px;
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background-size: cover;
    background-position: center;
    position: relative;
}
.banner-cafe { background: linear-gradient(135deg, #7C4DFF 0%, #C084FC 100%); }
.banner-parque { background: linear-gradient(135deg, #059669 0%, #10B981 100%); }
.banner-pizza { background: linear-gradient(135deg, #DC2626 0%, #F59E0B 100%); }
.banner-montana { background: linear-gradient(135deg, #D97706 0%, #B45309 100%); }
.banner-rio { background: linear-gradient(135deg, #0284C7 0%, #38BDF8 100%); }

.badge-cat {
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark-lila);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.badge-verified {
    background: #00C9A7;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}
.place-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.place-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.place-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}
.place-title a:hover {
    color: var(--primary-lila);
}
.place-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.5;
    flex: 1;
}
.place-services {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.srv-tag {
    background: var(--light-lila);
    color: var(--dark-lila);
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 500;
}
.place-card-footer {
    border-top: 1px solid var(--border);
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.place-price strong {
    color: var(--dark-lila);
    font-size: 1.05rem;
}
.place-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-icon-fav {
    background: none;
    border: 1px solid var(--border);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.btn-icon-fav:hover, .btn-icon-fav.is-fav {
    color: #EF4444;
    border-color: #EF4444;
    background: #FEF2F2;
}

/* Detalle de Lugar */
.breadcrumbs {
    margin-bottom: 20px;
    font-size: 0.88rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}
.lugar-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
}
.detail-banner {
    height: 220px;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}
.detail-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 12px;
}
.detail-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--text-main);
}
.detail-meta-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.tag-meta {
    background: #F3F4F6;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.tag-meta.highlight {
    background: var(--light-lila);
    color: var(--dark-lila);
    font-weight: 600;
}
.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 20px 0;
}
.services-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.service-pill {
    background: var(--light-lila);
    color: var(--dark-lila);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Opiniones / Reseñas */
.reviews-section {
    margin-top: 25px;
}
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.rating-large-badge {
    background: var(--light-lila);
    border: 1px solid var(--border);
    padding: 10px 18px;
    border-radius: 12px;
    text-align: center;
}
.rating-large-badge .score {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-lila);
    display: block;
    line-height: 1;
}
.rating-large-badge .stars {
    color: var(--warning-amber);
    font-size: 0.85rem;
}
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.review-item {
    background: var(--bg-body);
    border-radius: 10px;
    padding: 16px;
    border: 1px solid var(--border);
}
.review-user-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-lila);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.review-score {
    margin-left: auto;
    font-size: 0.85rem;
}

/* Sidebar Contacto */
.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 15px;
}
.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
}
.icon-contact {
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
}
.map-preview-box {
    margin-top: 20px;
    background: var(--light-lila);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    border: 1px dashed var(--primary-lila);
}
.map-pin-pulse {
    font-size: 2rem;
    color: var(--primary-lila);
    margin-bottom: 6px;
}
.info-box-lila {
    margin-top: 20px;
    background: linear-gradient(135deg, var(--dark-lila) 0%, var(--primary-lila) 100%);
    color: white;
}
.info-box-lila h4 { color: white; margin-bottom: 8px; }
.info-box-lila p { font-size: 0.88rem; opacity: 0.95; line-height: 1.5; }

/* Plan Sorpresa */
.surprise-container {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 25px;
}
.budget-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.currency-prefix {
    position: absolute;
    left: 14px;
    font-weight: 700;
    color: var(--primary-lila);
    font-size: 1.1rem;
}
.budget-input-wrap input {
    padding-left: 32px;
    font-size: 1.1rem;
    font-weight: 700;
}
.result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    margin-bottom: 20px;
}
.result-budget {
    background: var(--light-lila);
    padding: 10px 16px;
    border-radius: 12px;
    text-align: right;
}
.result-budget small { font-size: 0.72rem; color: var(--text-muted); display: block; }
.budget-num { font-size: 1.4rem; font-weight: 800; color: var(--dark-lila); }

.timeline-stops {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}
.timeline-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.step-marker {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--dark-lila);
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.step-card {
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px;
    flex: 1;
}
.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.step-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 10px; }
.step-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    border-top: 1px solid #E5E7EB;
    padding-top: 8px;
}

/* Mapa Interactivo */
.map-view-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}
.map-interactive-container {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 20px;
    height: 640px;
    max-height: 85vh;
    padding: 16px;
    overflow: hidden;
    position: relative;
}
.map-viewport-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 12px;
    height: 100%;
    min-height: 0;
    border: 1px solid var(--border);
}
.map-visual-board {
    background: #E8F4F8;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    border: 1px solid #CBD5E1;
    width: 100%;
    height: 100%;
    min-height: 0;
}
.map-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(0,0,0,0.04) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(0,0,0,0.04) 1px, transparent 1px);
    background-size: 35px 35px;
}
.river-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #60A5FA;
    opacity: 0.65;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
}
.canal-layer {
    position: absolute;
    top: 25%;
    left: 0;
    right: 0;
    height: 18px;
    background: #38BDF8;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.72rem;
    font-weight: 600;
}
.central-zone-tag {
    position: absolute;
    top: 38%;
    left: 42%;
    background: rgba(255, 255, 255, 0.85);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    border: 1px dashed #94A3B8;
}
.map-marker-item {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
}
.pin-icon {
    width: 32px;
    height: 32px;
    background: var(--dark-lila);
    color: white;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    transition: var(--transition);
}
.pin-icon i { transform: rotate(45deg); font-size: 0.9rem; }
.map-marker-item:hover .pin-icon, .map-marker-item.marker-focused .pin-icon {
    background: #EF4444;
    transform: rotate(-45deg) scale(1.2);
}
.pin-tooltip {
    display: none;
    position: absolute;
    bottom: 38px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    font-size: 0.78rem;
    z-index: 20;
    border: 1px solid var(--border);
}
.map-marker-item:hover .pin-tooltip { display: block; }
.map-sidebar-list {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}
.map-points-scroll {
    flex: 1 1 0%;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-lila) var(--light-lila);
}
.map-points-scroll::-webkit-scrollbar {
    width: 6px;
}
.map-points-scroll::-webkit-scrollbar-track {
    background: var(--light-lila);
    border-radius: 8px;
}
.map-points-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-lila);
    border-radius: 8px;
}
.point-row {
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}
.point-row:hover, .point-row.active {
    background: var(--light-lila);
    border-color: var(--primary-lila);
}
.point-info h4 { font-size: 0.88rem; margin-bottom: 2px; }
.point-info span { font-size: 0.75rem; }
.point-badge-row { display: flex; gap: 6px; margin-top: 4px; }

/* Auth / Login */
.auth-wrapper {
    max-width: 460px;
    margin: 40px auto;
}
.auth-card {
    padding: 35px;
}
.auth-header {
    text-align: center;
    margin-bottom: 25px;
}
.demo-login-box {
    background: var(--light-lila);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
}
.demo-buttons-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Tablas Admin y Paneles */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}
.stat-card {
    text-align: center;
    padding: 24px;
}
.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-lila);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
}
.table-admin {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}
.table-admin th, .table-admin td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
}
.table-admin th {
    background: var(--bg-body);
    color: var(--text-muted);
    font-weight: 600;
}
.table-admin tr:hover td {
    background: #FAF8FD;
}

/* Formulario Común Emprendimientos */
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Footer */
.footer {
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    padding: 25px 20px;
    margin-top: auto;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* Responsive */
@media (max-width: 900px) {
    .lugar-detail-grid, .surprise-container {
        grid-template-columns: 1fr;
        height: auto;
    }
    .map-interactive-container {
        grid-template-columns: 1fr;
        height: auto;
        max-height: none;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .map-viewport-wrapper {
        height: 480px;
        min-height: 480px;
    }
    .map-sidebar-list {
        height: 380px;
        min-height: 380px;
    }
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
    .form-row-2 {
        grid-template-columns: 1fr;
    }
}

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

/* Tarjeta flotante de información en el mapa de Google */
.map-overlay-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.18);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border);
    z-index: 15;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 600px) {
    .map-overlay-card {
        flex-direction: column;
        align-items: flex-start;
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
}
