/* humanoid-robots-activity.css - Tool-specific styles only */

/* Animation keyframes */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes celebrate {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.3) rotate(10deg); }
    100% { transform: scale(1) rotate(0deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Robot character styles */
#robotCharacter {
    transition: transform 0.3s ease;
    display: inline-block;
    font-size: 5rem;
}

/* Activity step highlighting */
.step-highlight {
    background: #e8f5e9;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

/* Voice control button styles */
.voice-control {
    transition: all 0.3s ease;
}

.voice-control:hover {
    transform: scale(1.05);
}

/* Progress bar animation */
#progressBar {
    transition: width 0.5s ease;
}

/* Info section three column layout */
.info-section {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    margin-top: 50px !important;
}

/* FAQ styles */
.faq-answer {
    display: none;
    padding: 12px 0 12px 20px;
    border-left: 3px solid #3498db;
    margin-top: 8px;
    color: #5a6268;
    line-height: 1.6;
}

.faq-question {
    cursor: pointer;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: #3498db;
}

/* Responsive breakpoints */
@media (max-width: 1024px) {
    .info-section {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .info-section {
        grid-template-columns: 1fr !important;
    }
    
    .output-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px;
    }
    
    .output-header .action-buttons {
        width: 100%;
        display: flex;
        flex-direction: row !important;
        justify-content: space-between;
        gap: 10px;
    }
    
    .output-header .action-buttons .btn {
        flex: 1;
        margin: 0;
        white-space: nowrap;
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    #activityMetrics {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .output-header .action-buttons {
        flex-direction: column !important;
    }
    
    .output-header .action-buttons .btn {
        width: 100%;
    }
    
    #activityMetrics {
        grid-template-columns: 1fr !important;
    }
}

/* Print styles */
@media print {
    .button-group,
    .action-buttons,
    .info-section,
    .voice-control {
        display: none !important;
    }
    
    .result-box {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}