/**
 * Simultaneous Event Card Styles
 * Events that occur in multiple locations at once
 * Diseño: Bloque sin imagen de portada, sitios con imagen en scroll horizontal (mobile)
 */

/* === MAIN BLOCK === */
.simultaneous-event-block {
    grid-column: 1 / -1;
    padding: 1rem 0;
    margin: 0.5rem 0;
    overflow: hidden;
}

/* === HEADER (sin imagen) === */
.sim-event-header {
    padding: 0 0 0.75rem;
}

.sim-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.sim-badge-type {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.sim-badge-type i {
    font-size: 0.8125rem;
}

.sim-status-badges {
    display: flex;
    gap: 0.5rem;
}

.sim-badge-status,
.sim-badge-countdown {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
}

.sim-badge-status.status-ocurriendo,
.sim-badge-status.status-en-curso {
    background: #dbeafe;
    color: #1d4ed8;
}

.sim-badge-status.status-finalizado {
    background: #f3f4f6;
    color: #6b7280;
}

.sim-badge-countdown {
    background: #fef3c7;
    color: #92400e;
}

.sim-event-title {
    font-size: 1.375rem;
    font-weight: 800;
    color: #111827;
    margin: 0;
    line-height: 1.25;
}

.sim-event-date {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.sim-event-date i {
    color: #667eea;
    font-size: 0.9375rem;
}

.sim-date-separator {
    color: #d1d5db;
}

.sim-event-description {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.5;
    margin: 0.5rem 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === LOCATIONS SECTION === */
.sim-locations-section {
    padding: 1rem 0 0;
    margin-top: 0.75rem;
    border-top: 2px solid #e5e7eb;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 1rem;
    position: relative;
}

/* Decoración sutil en los bordes de la sección de ubicaciones */
.sim-locations-section::before,
.sim-locations-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #667eea 20%, #764ba2 50%, #667eea 80%, transparent);
    opacity: 0.3;
}

.sim-locations-section::before {
    top: -2px;
}

.sim-locations-section::after {
    bottom: -2px;
}

.sim-locations-header {
    margin-bottom: 0.625rem;
}

.sim-locations-label {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.sim-locations-label i {
    color: #667eea;
    font-size: 0.875rem;
}

/* === LOCATIONS SCROLL (horizontal en mobile) === */
.sim-locations-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.875rem;
}

/* === LOCATION CARD (con imagen) === */
.sim-location-card {
    background: white;
    border-radius: 0.875rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 200ms ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.sim-location-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.sim-location-image {
    position: relative;
    width: 100%;
    height: 110px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: cover;
    background-position: center;
}

.sim-location-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 60%);
}

.sim-location-number {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    width: 1.625rem;
    height: 1.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #667eea;
    font-size: 0.8125rem;
    font-weight: 800;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.sim-location-info {
    padding: 0.875rem;
}

.sim-location-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.375rem 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sim-location-address {
    display: flex;
    align-items: flex-start;
    gap: 0.25rem;
    font-size: 0.6875rem;
    color: #6b7280;
    line-height: 1.3;
}

.sim-location-address i {
    font-size: 0.75rem;
    color: #9ca3af;
    flex-shrink: 0;
    margin-top: 0.0625rem;
}

.sim-location-address span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* === LOCATION MODAL === */
.sim-location-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 300ms ease;
}

.sim-location-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sim-location-modal {
    background: white;
    border-radius: 1rem;
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(20px) scale(0.95);
    transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.sim-location-modal-overlay.active .sim-location-modal {
    transform: translateY(0) scale(1);
}

.sim-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 200ms ease;
    z-index: 10;
}

.sim-modal-close:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: rotate(90deg);
}

.sim-modal-close i {
    font-size: 1.125rem;
}

.sim-modal-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: cover;
    background-position: center;
}

.sim-modal-body {
    padding: 1.25rem;
    overflow-y: auto;
}

.sim-modal-event-tag {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 700;
    color: #667eea;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.375rem;
}

.sim-modal-location-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 0.75rem 0;
    line-height: 1.2;
}

.sim-modal-address {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.sim-modal-address i {
    color: #667eea;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.sim-modal-description {
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.sim-modal-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.sim-modal-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.6rem;
    background: #f8fafc;
    border-radius: 8px;
}

.sim-modal-detail i {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 6px;
    color: #667eea;
    font-size: 0.85rem;
    flex-shrink: 0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.sim-modal-detail > div {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    min-width: 0;
}

.sim-modal-detail .detail-label {
    font-size: 0.55rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.sim-modal-detail .detail-value {
    font-size: 0.75rem;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.sim-modal-detail .detail-value.value-free {
    color: #10b981;
}

/* Botón copiar contacto */
.sim-modal-detail.has-copy {
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.sim-modal-detail.has-copy:hover {
    background: #eef2ff;
}

.sim-modal-detail.has-copy:active {
    transform: scale(0.98);
}

.sim-copy-btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.sim-copy-btn:hover {
    background: #5a67d8;
    transform: scale(1.1);
}

/* Tooltip copiado */
.sim-copy-tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 10;
}

.sim-copy-tooltip::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #1e293b;
}

.sim-copy-tooltip.show {
    opacity: 1;
    visibility: visible;
    top: -35px;
}

@media (max-width: 320px) {
    .sim-modal-details {
        grid-template-columns: 1fr;
    }
}

.sim-modal-footer {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.sim-modal-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 200ms ease;
    text-decoration: none;
}

.sim-modal-btn-secondary {
    background: white;
    border: 1px solid #e5e7eb;
    color: #374151;
}

.sim-modal-btn-secondary:hover {
    border-color: #111827;
    background: #f9fafb;
}

.sim-modal-btn-primary {
    background: #25d366;
    border: none;
    color: white;
}

.sim-modal-btn-primary:hover {
    background: #20bd5a;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.sim-modal-btn i {
    font-size: 1.125rem;
}

/* === LIST VIEW === */
.sim-event-list-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 200ms ease;
}

.sim-event-list-item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.sim-list-content {
    flex: 1;
    min-width: 0;
}

.sim-list-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.sim-list-type {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.625rem;
    font-weight: 700;
    color: #667eea;
    text-transform: uppercase;
}

.sim-list-type i {
    font-size: 0.75rem;
}

.sim-list-status {
    font-size: 0.5625rem;
    font-weight: 700;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    text-transform: uppercase;
}

.sim-list-status.status-ocurriendo,
.sim-list-status.status-en-curso {
    background: #dbeafe;
    color: #1d4ed8;
}

.sim-list-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.375rem 0;
    line-height: 1.3;
}

.sim-list-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.sim-list-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.sim-list-meta-item i {
    font-size: 0.8125rem;
}

.sim-list-locations {
    color: #667eea;
    font-weight: 600;
}

.sim-list-arrow {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 50%;
    color: #6b7280;
    transition: all 200ms ease;
    flex-shrink: 0;
}

.sim-event-list-item:hover .sim-list-arrow {
    background: #667eea;
    color: white;
}

.sim-list-arrow i {
    font-size: 1.25rem;
}

/* === RESPONSIVE - MOBILE === */
@media (max-width: 768px) {
    .simultaneous-event-block {
        padding: 1rem 0;
        margin: 0.25rem 0;
    }
    
    .sim-event-header {
        padding: 0 0 0.5rem;
    }
    
    .sim-event-title {
        font-size: 1.125rem;
    }
    
    .sim-event-date {
        font-size: 0.75rem;
        margin-top: 0.125rem;
    }
    
    .sim-event-description {
        font-size: 0.8125rem;
        -webkit-line-clamp: 3;
        margin-top: 0.375rem;
    }
    
    .sim-locations-section {
        padding: 0.75rem 0;
        margin-top: 0.5rem;
    }
    
    /* Scroll horizontal en mobile */
    .sim-locations-scroll {
        display: flex;
        gap: 0.75rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
        margin: 0 -0.5rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .sim-locations-scroll::-webkit-scrollbar {
        display: none;
    }
    
    .sim-location-card {
        flex: 0 0 150px;
        scroll-snap-align: start;
    }
    
    .sim-location-image {
        height: 100px;
    }
    
    .sim-location-info {
        padding: 0.75rem;
    }
    
    .sim-location-name {
        font-size: 0.8125rem;
        margin-bottom: 0.25rem;
    }
    
    .sim-location-address {
        font-size: 0.625rem;
    }
    
    /* Modal mobile */
    .sim-location-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }
    
    .sim-location-modal {
        max-width: 100%;
        max-height: 85vh;
        border-radius: 1.25rem 1.25rem 0 0;
    }
    
    .sim-modal-image {
        height: 160px;
    }
    
    .sim-modal-body {
        padding: 1rem;
    }
    
    .sim-modal-location-name {
        font-size: 1.125rem;
    }
    
    /* List view mobile */
    .sim-event-list-item {
        padding: 0.875rem;
    }
    
    .sim-list-title {
        font-size: 0.9375rem;
    }
    
    .sim-list-meta {
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* === ANIMATIONS === */
.simultaneous-event-block {
    animation: fadeInBlock 400ms ease backwards;
}

@keyframes fadeInBlock {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sim-location-card {
    animation: fadeInCard 300ms ease backwards;
}

.sim-location-card:nth-child(1) { animation-delay: 50ms; }
.sim-location-card:nth-child(2) { animation-delay: 100ms; }
.sim-location-card:nth-child(3) { animation-delay: 150ms; }
.sim-location-card:nth-child(4) { animation-delay: 200ms; }
.sim-location-card:nth-child(5) { animation-delay: 250ms; }
.sim-location-card:nth-child(6) { animation-delay: 300ms; }

@keyframes fadeInCard {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* === FULL EVENT MODAL (para vista lista y calendario) === */
.sim-full-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 300ms ease;
}

.sim-full-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sim-full-modal {
    background: white;
    border-radius: 1.25rem;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    transform: translateY(30px) scale(0.95);
    transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.sim-full-modal-overlay.active .sim-full-modal {
    transform: translateY(0) scale(1);
}

.sim-full-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 200ms ease;
    z-index: 10;
}

.sim-full-modal-close:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: rotate(90deg);
}

.sim-full-modal-close i {
    font-size: 1.25rem;
}

/* Hero con imagen */
.sim-full-modal-hero {
    position: relative;
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: cover;
    background-position: center;
}

.sim-full-modal-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 70%);
}

.sim-full-modal-hero-content {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
}

.sim-full-modal-hero-simple {
    padding: 1rem 1rem 0;
}

.sim-full-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.sim-full-modal-badge i {
    font-size: 0.875rem;
}

/* Body del modal */
.sim-full-modal-body {
    padding: 1.25rem;
    overflow-y: auto;
    flex: 1;
}

.sim-full-modal-info {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e5e7eb;
}

.sim-full-modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 0.75rem 0;
    line-height: 1.2;
}

.sim-full-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.sim-full-modal-meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.sim-full-modal-meta-item i {
    color: #667eea;
    font-size: 1rem;
}

.sim-full-modal-description {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* Sección de ubicaciones */
.sim-full-modal-locations-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.875rem;
}

.sim-full-modal-locations-header i {
    color: #667eea;
    font-size: 1rem;
}

.sim-full-modal-locations-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Tarjeta de ubicación en modal completo */
.sim-full-location-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 200ms ease;
    border: 1px solid transparent;
}

.sim-full-location-card:hover {
    background: white;
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.sim-full-location-image {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.sim-full-location-number {
    position: absolute;
    top: -0.375rem;
    left: -0.375rem;
    width: 1.375rem;
    height: 1.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #667eea;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.sim-full-location-content {
    flex: 1;
    min-width: 0;
}

.sim-full-location-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.sim-full-location-address {
    display: flex;
    align-items: flex-start;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.375rem;
}

.sim-full-location-address i {
    font-size: 0.8125rem;
    color: #9ca3af;
    flex-shrink: 0;
    margin-top: 0.0625rem;
}

.sim-full-location-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.sim-full-location-detail {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.6875rem;
    color: #6b7280;
}

.sim-full-location-detail i {
    font-size: 0.75rem;
    color: #9ca3af;
}

.sim-full-location-detail.free {
    color: #10b981;
}

.sim-full-location-detail.free i {
    color: #10b981;
}

.sim-full-location-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
}

.sim-full-location-btn {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    color: #6b7280;
    cursor: pointer;
    transition: all 200ms ease;
    text-decoration: none;
}

.sim-full-location-btn:hover {
    border-color: #667eea;
    color: #667eea;
    background: #f0f4ff;
}

.sim-full-location-btn.whatsapp {
    background: #25d366;
    border-color: #25d366;
    color: white;
}

.sim-full-location-btn.whatsapp:hover {
    background: #20bd5a;
    border-color: #20bd5a;
}

.sim-full-location-btn i {
    font-size: 1rem;
}

/* Responsive para modal completo */
@media (max-width: 768px) {
    .sim-full-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }
    
    .sim-full-modal {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 1.25rem 1.25rem 0 0;
    }
    
    .sim-full-modal-hero {
        height: 150px;
    }
    
    .sim-full-modal-title {
        font-size: 1.25rem;
    }
    
    .sim-full-modal-body {
        padding: 1rem;
    }
    
    .sim-full-location-card {
        padding: 0.625rem;
    }
    
    .sim-full-location-image {
        width: 56px;
        height: 56px;
    }
    
    .sim-full-location-name {
        font-size: 0.875rem;
    }
    
    .sim-full-location-actions {
        flex-direction: row;
    }
    
    .sim-full-location-btn {
        width: 2rem;
        height: 2rem;
    }
}


/* ========================================
   BOTÓN VER EN MAPA
   ======================================== */
.sim-view-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.7rem;
    margin-left: 1rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sim-view-map-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.4);
}

.sim-view-map-btn i {
    font-size: 0.85rem;
}

/* ========================================
   MODAL DE MAPA PÚBLICO
   ======================================== */
.sim-map-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sim-map-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sim-map-modal {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.sim-map-modal-overlay.active .sim-map-modal {
    transform: scale(1) translateY(0);
}

.sim-map-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.sim-map-modal-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sim-map-modal-title > i {
    font-size: 1.5rem;
    opacity: 0.9;
}

.sim-map-modal-title h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.sim-map-modal-title span {
    font-size: 0.85rem;
    opacity: 0.9;
}

.sim-map-modal-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sim-map-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.sim-map-modal-body {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.sim-public-map {
    flex: 1;
    min-height: 350px;
}

.sim-map-locations-list {
    width: 280px;
    background: #f8fafc;
    border-left: 1px solid #e2e8f0;
    overflow-y: auto;
    padding: 0.75rem;
}

.sim-map-location-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem;
    background: white;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.sim-map-location-item:hover {
    border-color: #10b981;
    transform: translateX(4px);
}

.sim-map-location-marker {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.sim-map-location-info {
    flex: 1;
    min-width: 0;
}

.sim-map-location-info strong {
    display: block;
    font-size: 0.9rem;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.15rem;
}

.sim-map-location-info span {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sim-map-location-directions {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #10b981;
    color: white;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.sim-map-location-directions:hover {
    background: #059669;
    transform: scale(1.1);
}

.sim-map-location-directions i {
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .sim-map-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }
    
    .sim-map-modal {
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
        margin: 0;
    }
    
    .sim-map-modal-header {
        border-radius: 0;
        padding: 1rem 1.25rem;
    }
    
    .sim-map-modal-body {
        flex-direction: column;
        flex: 1;
    }
    
    .sim-public-map {
        min-height: 45vh;
        height: 45vh;
        flex: none;
    }
    
    .sim-map-locations-list {
        width: 100%;
        border-left: none;
        border-top: 1px solid #e2e8f0;
        flex: 1;
        max-height: none;
        padding: 0.5rem;
    }
    
    .sim-map-location-item {
        padding: 0.75rem;
    }
    
    .sim-map-location-marker {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .sim-map-location-directions {
        width: 32px;
        height: 32px;
    }
}


/* ========================================
   PROMOCIÓN ESPECIAL EN MODAL
   ======================================== */
.sim-modal-promo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 10px;
    margin-bottom: 1rem;
    color: #92400e;
    font-weight: 500;
    font-size: 0.9rem;
}

.sim-modal-promo i {
    font-size: 1.1rem;
    color: #f59e0b;
}

/* ========================================
   REDES SOCIALES EN MODAL
   ======================================== */
.sim-modal-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.sim-social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.sim-social-btn i {
    font-size: 1.1rem;
}

.sim-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sim-social-btn.instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.sim-social-btn.facebook {
    background: #1877f2;
}

.sim-social-btn.website {
    background: #64748b;
}
