/* Estado de Red InfinetFibra - Estilos Frontend */

.erf-status-banner {
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border-left: 5px solid;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    text-align: center;
}

.erf-status-content {
    text-align: center;
}

.erf-status-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.3em;
    font-weight: 600;
    text-align: center;
}

.erf-service-label {
    font-size: 0.9em;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.7);
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Variaciones de color para la etiqueta según el estado */
.erf-operativo .erf-service-label {
    color: rgba(21, 87, 36, 0.8);
}

.erf-degradado .erf-service-label {
    color: rgba(133, 100, 4, 0.8);
}

.erf-mantenimiento .erf-service-label {
    color: rgba(0, 64, 133, 0.8);
}

.erf-incidente .erf-service-label {
    color: rgba(114, 28, 36, 0.8);
}

.erf-status-content p {
    margin: 8px 0;
    line-height: 1.5;
    text-align: center;
}

.erf-timestamp {
    font-size: 0.75em;
    opacity: 0.8;
    margin-top: 15px !important;
    text-align: center;
}

.erf-eta {
    font-weight: 500;
    text-align: center;
}

/* Colores según nivel de estado */
.erf-operativo {
    background-color: #d4edda;
    color: #155724;
    border-left-color: #28a745;
}

.erf-degradado {
    background-color: #fff3cd;
    color: #856404;
    border-left-color: #ffc107;
}

.erf-mantenimiento {
    background-color: #cce7ff;
    color: #004085;
    border-left-color: #007bff;
}

.erf-incidente {
    background-color: #f8d7da;
    color: #721c24;
    border-left-color: #dc3545;
}

/* ========== HISTORIAL MODERNO ========== */

/* Mensaje cuando no hay historial */
.erf-no-history {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    margin: 30px 0;
    border: 2px dashed #dee2e6;
}

.erf-no-history-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.7;
}

.erf-no-history h4 {
    color: #495057;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.erf-no-history p {
    color: #6c757d;
    margin: 0;
    font-style: italic;
}

/* Contenedor principal del historial */
.erf-history-modern {
    margin: 30px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

/* Header del historial */
.erf-history-header {
    background: linear-gradient(135deg, #4285F4 0%, #1A73E8 100%);
    padding: 20px 30px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.erf-history-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.erf-history-icon {
    font-size: 24px;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.erf-history-title h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: white;
}

.erf-history-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Timeline container */
.erf-timeline {
    padding: 30px;
    position: relative;
}

.erf-timeline::before {
    content: '';
    position: absolute;
    left: 45px;
    top: 30px;
    bottom: 30px;
    width: 3px;
    background: linear-gradient(to bottom, #4285F4, #e9ecef);
    border-radius: 2px;
}

/* Timeline item */
.erf-timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 80px;
}

.erf-timeline-item:last-child {
    margin-bottom: 0;
}

/* Timeline marker */
.erf-timeline-marker {
    position: absolute;
    left: 32px;
    top: 15px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: white;
    border: 4px solid #4285F4;
    box-shadow: 0 0 0 4px rgba(66, 133, 244, 0.1);
    z-index: 2;
}

.erf-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4285F4;
    margin: 4px;
    box-shadow: 0 0 8px rgba(66, 133, 244, 0.4);
}

/* Variaciones del marker por estado */
.erf-timeline-item.erf-operativo .erf-timeline-marker {
    border-color: #28a745;
}

.erf-timeline-item.erf-operativo .erf-status-dot {
    background: #28a745;
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.4);
}

.erf-timeline-item.erf-degradado .erf-timeline-marker {
    border-color: #ffc107;
}

.erf-timeline-item.erf-degradado .erf-status-dot {
    background: #ffc107;
    box-shadow: 0 0 8px rgba(255, 193, 7, 0.4);
}

.erf-timeline-item.erf-mantenimiento .erf-timeline-marker {
    border-color: #007bff;
}

.erf-timeline-item.erf-mantenimiento .erf-status-dot {
    background: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.4);
}

.erf-timeline-item.erf-incidente .erf-timeline-marker {
    border-color: #dc3545;
    animation: pulse-red 1.5s infinite;
}

.erf-timeline-item.erf-incidente .erf-status-dot {
    background: #dc3545;
    box-shadow: 0 0 8px rgba(220, 53, 69, 0.4);
}

@keyframes pulse-red {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 0 0 8px rgba(220, 53, 69, 0.2);
    }
}

/* Timeline content card */
.erf-timeline-content {
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.erf-timeline-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Card header */
.erf-card-header {
    background: white;
    padding: 16px 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Status badge */
.erf-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.erf-badge-operativo {
    background: rgba(40, 167, 69, 0.1);
    color: #155724;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.erf-badge-degradado {
    background: rgba(255, 193, 7, 0.1);
    color: #856404;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.erf-badge-mantenimiento {
    background: rgba(0, 123, 255, 0.1);
    color: #004085;
    border: 1px solid rgba(0, 123, 255, 0.3);
}

.erf-badge-incidente {
    background: rgba(220, 53, 69, 0.1);
    color: #721c24;
    border: 1px solid rgba(220, 53, 69, 0.3);
    animation: subtle-glow 2s infinite alternate;
}

@keyframes subtle-glow {
    0% { box-shadow: 0 0 5px rgba(220, 53, 69, 0.3); }
    100% { box-shadow: 0 0 15px rgba(220, 53, 69, 0.5); }
}

/* Timestamp */
.erf-timestamp {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.erf-date {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
}

.erf-time {
    font-size: 12px;
    color: #6c757d;
    background: #e9ecef;
    padding: 2px 8px;
    border-radius: 10px;
}

/* Card body */
.erf-card-body {
    padding: 20px;
}

.erf-event-title {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 700;
    color: #212529;
    line-height: 1.3;
}

.erf-event-message {
    margin: 0 0 16px 0;
    color: #495057;
    line-height: 1.5;
    font-size: 15px;
}

/* Event metadata */
.erf-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
}

.erf-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: white;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #dee2e6;
    font-size: 13px;
}

.erf-meta-icon {
    font-size: 14px;
}

.erf-meta-label {
    font-weight: 500;
    color: #495057;
}

/* Responsive design */
@media (max-width: 768px) {
    .erf-history-modern {
        margin: 20px 0;
        border-radius: 12px;
    }
    
    .erf-history-header {
        padding: 16px 20px;
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .erf-history-title h3 {
        font-size: 20px;
    }
    
    .erf-timeline {
        padding: 20px 15px;
    }
    
    .erf-timeline::before {
        left: 25px;
    }
    
    .erf-timeline-item {
        padding-left: 60px;
        margin-bottom: 25px;
    }
    
    .erf-timeline-marker {
        left: 12px;
        width: 20px;
        height: 20px;
    }
    
    .erf-status-dot {
        width: 8px;
        height: 8px;
        margin: 2px;
    }
    
    .erf-card-header {
        padding: 12px 16px;
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .erf-timestamp {
        align-items: flex-start;
        flex-direction: row;
        gap: 8px;
    }
    
    .erf-card-body {
        padding: 16px;
    }
    
    .erf-event-title {
        font-size: 16px;
    }
    
    .erf-event-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .erf-meta-item {
        justify-content: flex-start;
    }
}

/* Responsive para status banner */
@media (max-width: 768px) {
    .erf-status-banner {
        padding: 15px;
        margin: 15px 0;
    }
    
    .erf-status-content h3 {
        font-size: 1.2em;
    }
}

/* Animación suave para cambios */
.erf-status-banner {
    transition: all 0.3s ease;
}

.erf-status-banner:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Iconos principales en los títulos - SOLO ESTOS */
.erf-status-banner.erf-operativo .erf-status-content h3::before {
    content: "✅";
    font-size: 20px;
    margin-right: 12px;
    vertical-align: middle;
    filter: drop-shadow(0 0 3px rgba(40, 167, 69, 0.5));
}

.erf-status-banner.erf-degradado .erf-status-content h3::before {
    content: "⚠️";
    font-size: 20px;
    margin-right: 12px;
    vertical-align: middle;
    filter: drop-shadow(0 0 3px rgba(255, 193, 7, 0.5));
}

.erf-status-banner.erf-mantenimiento .erf-status-content h3::before {
    content: "🛠️";
    font-size: 20px;
    margin-right: 12px;
    vertical-align: middle;
    filter: drop-shadow(0 0 3px rgba(0, 123, 255, 0.5));
}

.erf-status-banner.erf-incidente .erf-status-content h3::before {
    content: "🚨";
    font-size: 20px;
    margin-right: 12px;
    vertical-align: middle;
    animation: blink 1.5s infinite;
    filter: drop-shadow(0 0 5px rgba(220, 53, 69, 0.7));
}

/* Animaciones para los estados */
@keyframes pulse-green {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes pulse-yellow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes pulse-blue {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes pulse-red {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.6; }
}

/* Estilos del historial antiguo removidos - ahora usa erf-history-modern */

/* Indicador de conexión simplificado - en la esquina superior derecha */
.erf-status-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    z-index: 10;
}

.erf-status-banner {
    position: relative;
}

.erf-operativo .erf-status-indicator {
    background: linear-gradient(45deg, #28a745, #20c997);
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.5);
    animation: pulse-glow-green 2s infinite;
}

.erf-degradado .erf-status-indicator {
    background: linear-gradient(45deg, #ffc107, #fd7e14);
    box-shadow: 0 0 8px rgba(255, 193, 7, 0.5);
    animation: pulse-glow-yellow 2s infinite;
}

.erf-mantenimiento .erf-status-indicator {
    background: linear-gradient(45deg, #007bff, #6610f2);
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
    animation: pulse-glow-blue 2s infinite;
}

.erf-incidente .erf-status-indicator {
    background: linear-gradient(45deg, #dc3545, #e74c3c);
    box-shadow: 0 0 8px rgba(220, 53, 69, 0.5);
    animation: pulse-glow-red 1s infinite;
}

@keyframes pulse-glow-green {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 8px rgba(40, 167, 69, 0.5);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(40, 167, 69, 0.8);
    }
}

@keyframes pulse-glow-yellow {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 8px rgba(255, 193, 7, 0.5);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(255, 193, 7, 0.8);
    }
}

@keyframes pulse-glow-blue {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(0, 123, 255, 0.8);
    }
}

@keyframes pulse-glow-red {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 8px rgba(220, 53, 69, 0.5);
    }
    50% { 
        transform: scale(1.2);
        box-shadow: 0 0 20px rgba(220, 53, 69, 1);
    }
}

/* Badge de ciudad - más prominente al ser la única referencia */
.erf-city-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: #495057 !important;
    padding: 8px 14px !important;
    border-radius: 20px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin: 5px auto 12px auto !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(8px) !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15) !important;
    width: fit-content !important;
    transition: all 0.3s ease !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

/* Target the dashicons directly within the badge */
.erf-city-badge .dashicons,
.erf-city-badge .dashicons-location {
    font-size: 28px !important;
    width: 28px !important;
    height: 28px !important;
    margin-right: 10px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    line-height: 1 !important;
}

/* Ensure text portion is properly aligned */
.erf-city-badge span:not(.dashicons) {
    vertical-align: middle !important;
    line-height: 1.2 !important;
}

/* Additional specificity to override any conflicting WordPress styles */
span.erf-city-badge .dashicons-location:before {
    font-size: 28px !important;
    width: 28px !important;
    height: 28px !important;
}

/* Force alignment of the entire badge content */
.erf-city-badge * {
    vertical-align: middle !important;
}

/* Specific override for WordPress dashicons default styles */
.erf-city-badge .dashicons-location {
    font: normal 28px/1 dashicons !important;
}

.erf-city-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Variantes del badge según el nivel */
.erf-operativo .erf-city-badge {
    background: rgba(40, 167, 69, 0.15);
    color: #155724;
    border-color: rgba(40, 167, 69, 0.3);
}

.erf-degradado .erf-city-badge {
    background: rgba(255, 193, 7, 0.15);
    color: #856404;
    border-color: rgba(255, 193, 7, 0.3);
}

.erf-mantenimiento .erf-city-badge {
    background: rgba(0, 123, 255, 0.15);
    color: #004085;
    border-color: rgba(0, 123, 255, 0.3);
}

.erf-incidente .erf-city-badge {
    background: rgba(220, 53, 69, 0.15);
    color: #721c24;
    border-color: rgba(220, 53, 69, 0.3);
}

/* Efectos suaves para incidentes críticos */
.erf-status-banner.erf-incidente {
    animation: subtle-glow 2s infinite alternate;
}

@keyframes subtle-glow {
    0% { box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
    100% { box-shadow: 0 2px 15px rgba(220, 53, 69, 0.3); }
}

/* Mejora para el timestamp */
.erf-timestamp {
    position: relative;
    padding-left: 20px;
}

.erf-timestamp::before {
    content: "🕐";
    position: absolute;
    left: 0;
    font-size: 14px;
}

/* Efecto hover simplificado */
.erf-status-banner:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.erf-status-banner:hover .erf-status-indicator {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

/* Timeline visual antiguo removido - ahora usa erf-timeline */

/* ========== FORMULARIO DE OPERADORES ========== */
.erf-operator-form {
    max-width: 800px;
    margin: 20px auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow: hidden;
}

.erf-form-header {
    background: linear-gradient(135deg, #4285F4 0%, #1A73E8 100%);
    color: white;
    padding: 15px 30px;
    text-align: center;
}

.erf-form-header h3 {
    margin: 0 0 5px 0;
    font-size: 20px;
    font-weight: 600;
    color: white;
}

.erf-operator-info {
    margin: 0;
    font-size: 13px;
    opacity: 0.9;
}

#erf-operator-form {
    padding: 30px;
}

.erf-form-row {
    margin-bottom: 25px;
}

.erf-form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #202124;
    font-size: 15px;
}

.erf-form-row input[type="text"],
.erf-form-row select,
.erf-form-row textarea,
.erf-form-row input[type="datetime-local"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E8F0FE;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #F8F9FA;
}

.erf-form-row input:focus,
.erf-form-row select:focus,
.erf-form-row textarea:focus {
    outline: none;
    border-color: #4285F4;
    background: white;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

.erf-form-row select {
    cursor: pointer;
}

.erf-form-row textarea {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

.erf-title-container,
.erf-message-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.erf-title-preset,
.erf-message-preset {
    margin-bottom: 0;
}

.erf-form-actions {
    text-align: center;
    margin-top: 35px;
}

.erf-submit-btn {
    background: linear-gradient(135deg, #4285F4 0%, #1A73E8 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 200px;
}

.erf-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.3);
}

.erf-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.erf-btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.erf-btn-loading::before {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Mensajes de estado */
#erf-form-messages {
    margin-top: 20px;
}

.erf-success {
    background: #d4edda;
    color: #155724;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #28a745;
    margin: 15px 0;
    font-weight: 500;
}

.erf-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
    margin: 15px 0;
    font-weight: 500;
}

/* Estilos para selectores con emojis */
.erf-form-row select option {
    padding: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .erf-operator-form {
        margin: 10px;
        border-radius: 8px;
    }
    
    .erf-form-header {
        padding: 12px 20px;
    }
    
    .erf-form-header h3 {
        font-size: 18px;
    }
    
    #erf-operator-form {
        padding: 20px;
    }
    
    .erf-submit-btn {
        width: 100%;
        padding: 18px;
    }
    
    .erf-title-container,
    .erf-message-container {
        gap: 8px;
    }
}

/* Animación de entrada */
.erf-operator-form {
    animation: slideInUp 0.5s ease;
}

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

/* ========== VISTA DE RESUMEN DE TODAS LAS CIUDADES ========== */
.erf-all-cities-summary {
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.erf-summary-title {
    text-align: center;
    color: #0F172A;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #D4F3D7;
    position: relative;
}

.erf-summary-title::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #4285F4 0%, #1A73E8 100%);
    border-radius: 2px;
}

.erf-city-summary {
    margin-bottom: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.erf-city-summary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.erf-city-summary .erf-city-badge {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    padding: 10px 16px !important;
}

.erf-city-summary .erf-city-badge .dashicons {
    font-size: 30px !important;
    width: 30px !important;
    height: 30px !important;
}

.erf-no-cities {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #6c757d;
    font-style: italic;
}

/* Grid layout para múltiples ciudades en pantallas grandes */
@media (min-width: 992px) {
    .erf-all-cities-summary {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 20px;
    }
    
    .erf-summary-title {
        grid-column: 1 / -1;
        margin-bottom: 20px;
    }
    
    .erf-city-summary {
        margin-bottom: 0;
    }
}

/* Responsive para tablets */
@media (max-width: 991px) and (min-width: 768px) {
    .erf-all-cities-summary .erf-city-summary {
        margin-bottom: 20px;
    }
}

/* Responsive para móviles */
@media (max-width: 767px) {
    .erf-summary-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .erf-city-summary {
        margin-bottom: 15px;
    }
    
    .erf-city-summary .erf-city-badge {
        font-size: 16px !important;
        padding: 8px 12px !important;
    }
    
    .erf-city-summary .erf-city-badge .dashicons {
        font-size: 26px !important;
        width: 26px !important;
        height: 26px !important;
        margin-right: 8px !important;
    }
}