* {
    box-sizing: border-box;
}

.info {
    margin: 20px;
    padding: 25px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    max-width: 2000px;
}

.info h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.3em;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.info p {
    margin: 10px 0;
    font-size: clamp(12px, 2.5vw, 14px);
    color: #34495e;
    line-height: 1.5;
    padding: 8px 12px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.info p strong {
    color: #667eea;
    font-weight: 600;
}

/* Responsive breakpoints */
@media (max-width: 768px) {
    .info {
        margin: 10px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .info p {
        font-size: 12px;
        padding: 6px 10px;
    }
}

/* Animaciones adicionales */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info {
    animation: fadeInUp 0.6s ease;
}

/* Mejoras para elementos interactivos */
.info p:hover {
    background: rgba(102, 126, 234, 0.15);
    transform: translateX(5px);
    transition: all 0.3s ease;
}

/* Estilos para scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

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

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
}

/* Loading animation para cuando se conecta MQTT */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.connection-status.connecting {
    animation: pulse 1.5s infinite;
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

/* Estilos para el preview de imagen */
.image-preview {
    border: 2px dashed #667eea;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    background: rgba(102, 126, 234, 0.05);
}

.image-preview img {
    max-width: 100%;
    max-height: 100px;
    border-radius: 4px;
}