/* Дополнительные стили для виртуальной лаборатории */

.lab-container {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.equipment-animation {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.experiment-progress {
    position: relative;
    overflow: hidden;
}

.experiment-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.tube-liquid {
    background: linear-gradient(180deg, #87ceeb 0%, #4682b4 100%);
    border-radius: 0 0 20px 20px;
    transition: all 0.5s ease;
}

.tube-liquid.murky {
    background: linear-gradient(180deg, #ddd 0%, #888 100%);
}

.seed-growth {
    transform-origin: bottom center;
    animation: grow-seed 4s ease-in-out infinite;
}

@keyframes grow-seed {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.2); }
}

.protocol-print {
    background: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

@media print {
    .no-print {
        display: none !important;
    }
    
    .protocol-print {
        box-shadow: none;
        margin: 0;
        padding: 20px;
    }
}

.result-highlight {
    background: linear-gradient(45deg, #ffeaa7, #fdcb6e);
    border-left: 4px solid #e17055;
    animation: pulse-highlight 2s ease-in-out infinite;
}

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

/* Responsive improvements */
@media (max-width: 768px) {
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .experiment-setup {
        padding: 1rem;
    }
    
    .tab-btn {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }
}

/* Interactive elements */
.interactive-element {
    cursor: pointer;
    transition: all 0.3s ease;
}

.interactive-element:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Success states */
.success-state {
    background: linear-gradient(45deg, #00b894, #55a3ff);
    color: white;
    border-radius: 8px;
    padding: 1rem;
    animation: success-glow 2s ease-in-out infinite;
}

@keyframes success-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 184, 148, 0.3); }
    50% { box-shadow: 0 0 20px rgba(0, 184, 148, 0.6); }
}