/* Estilos para Sección de Calles SER */
.calles-ser-section {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 10px;
}

.calles-ser-section h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.intro-ser {
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
    text-align: center;
    font-size: 1.05rem;
}

.intro-ser strong {
    color: var(--primary-color);
    display: block;
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* Contenedores de tablas */
#contenedor-calles-azul,
#contenedor-calles-verde {
    margin: 2rem 0;
}

.calles-ser {
    margin: 2rem 0;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.calles-ser:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.calles-header {
    margin-bottom: 1rem;
    border-bottom: 3px solid #e9ecef;
    padding-bottom: 1rem;
}

.calles-header h4 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 700;
}

.total-plazas {
    color: #666;
    margin: 0;
    font-size: 1rem;
}

.total-plazas strong {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
}

.tabla-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tabla-calles {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.tabla-calles thead {
    background: #667eea;
    position: sticky;
    top: 0;
    z-index: 10;
}

.tabla-calles th {
    padding: 1rem 0.75rem;
    text-align: left;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.tabla-calles th:last-child {
    text-align: center;
}

.tabla-calles td {
    padding: 0.75rem;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.95rem;
}

.tabla-calles td:first-child {
    font-weight: 500;
    color: #2c3e50;
}

.tabla-calles td:last-child {
    text-align: center;
}

.tabla-calles tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.tabla-calles tbody tr:hover {
    background: #e3f2fd;
    transition: background 0.2s ease;
}

.tabla-calles tbody tr:nth-child(-n+3) {
    background: #fff3cd;
}

.tabla-calles tbody tr:nth-child(-n+3):hover {
    background: #ffe69c;
}

.badge-plazas {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 50px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.nota-calles {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 1.5rem;
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

/* Info Tarifas SER */
.info-tarifas-ser {
    margin-top: 2.5rem;
    padding: 2.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.info-tarifas-ser h3 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
}

.tarifas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.tarifa-card {
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.zona-azul-card {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
}

.zona-verde-card {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    color: white;
}

.tarifa-card h4 {
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tarifa-precio {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 1.5rem 0;
    line-height: 1.4;
}

.tarifa-horario {
    font-size: 1rem;
    margin: 1rem 0;
    opacity: 0.95;
    line-height: 1.6;
}

.tarifa-nota {
    font-size: 0.9rem;
    margin: 1.5rem 0 0 0;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(255,255,255,0.3);
    opacity: 0.9;
    font-style: italic;
}

/* Responsive */
@media (max-width: 992px) {
    .tarifas-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .calles-ser-section {
        padding: 1.5rem;
    }
    
    .tarifas-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tabla-calles {
        font-size: 0.85rem;
    }
    
    .tabla-calles th,
    .tabla-calles td {
        padding: 0.5rem;
    }
    
    .tabla-calles th {
        font-size: 0.75rem;
    }
    
    .calles-header h4 {
        font-size: 1.2rem;
    }
    
    .info-tarifas-ser {
        padding: 1.5rem;
    }
    
    .tarifa-card {
        padding: 1.5rem;
    }
    
    .tarifa-precio {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .badge-plazas {
        font-size: 0.8rem;
        padding: 0.25rem 0.6rem;
    }
    
    .intro-ser {
        font-size: 0.95rem;
    }
}
