/* ============================================
   Ocio - estilos específicos
   (Estilos del modal consolidados en asturias.css)
   ============================================ */

#lista-ocio {
    padding: 20px 30px;
    max-height: 65vh;
    overflow-y: auto;
    background: white;
}

.ocio-item {
    background: #f8f9fa;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ocio-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ocio-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.ocio-card h3 {
    margin: 0;
    color: #ff6347;
    font-size: 1.3em;
}

.ocio-card p{
    margin: 8px 0;
    color: #555;
}

.badge {
    background: #4682b4;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
}

.ocio-actions a{
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.ocio-actions a:hover {
    text-decoration: underline;
}

.loading {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

.error {
    text-align: center;
    padding: 40px;
    color: #d32f2f;
}

.btn-reintentar {
    background: #667eea;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 15px;
    transition: 0.3s;
}

.btn-reintentar:hover {
    background: #5568d3;
    transform: scale(1.05);
}

/* Contenedor de los botones de filtro */
.ocio-filters {
    display: flex;
    gap: 10px;
    margin-left: 10px;
    margin-bottom: 20px;
    padding: 10px 0;
    overflow-x: auto; /* Permite scroll horizontal si hay muchos filtros */
}

/* Estilo base de los botones (chips) */
.ocio-filters button {
    background-color: #f0f2f5;
    border: 2px solid transparent;
    border-radius: 20px;
    color: #4b5563;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 16px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Efecto al pasar el ratón */
.ocio-filters button:hover {
    background-color: #e5e7eb;
    color: #1f2937;
}

/* Estilo para cuando el botón está activo/seleccionado */
.ocio-filters button.active {
    background-color: #4682b4;
    border-color: #4682b4;
    color: white;
}

/* Para ocultar la barra de scroll en los filtros */
.ocio-filters::-webkit-scrollbar {
    display: none;
}

/* Botón normal de tu app */
.btn-principal {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    padding-left: 0.3em;
    text-align: center;

}
.btn-principal:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-turismo {
    background-color: #8f1402 !important; /* Rojo Gijón */
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    padding-left: 0.3em;
    text-align: center;
    box-shadow: 0 4px 10px rgba(167, 0, 0, 0.2);
}

.btn-turismo:hover {
    background-color: #d40000 !important;
}