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

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

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

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

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

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

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

.restaurante-info p {
    margin: 8px 0;
    color: #555;
}

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

.restaurante-info 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);
}

/* 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;

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

/* Botón especial cuando llegas al final */
.btn-tripadvisor {
    display: inline-block;
    background-color: #00af87 !important; /* Verde TripAdvisor */
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.modal-footer {
    padding: 20px 0;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

/* Scrollbar personalizado */
#lista-restaurantes::-webkit-scrollbar {
    width: 8px;
}

#lista-restaurantes::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#lista-restaurantes::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}