/* ai-robot-safety-compliancer.css - Tool-specific styles only */
/* All base styles are inherited from common.css */

/* Status indicators */
.status-warning {
    color: #f39c12;
    font-weight: bold;
}

.status-critical {
    color: #e74c3c;
    font-weight: bold;
}

/* Risk assessment bar colors */
.risk-low {
    background: #27ae60;
}

.risk-medium {
    background: #f39c12;
}

.risk-high {
    background: #e74c3c;
}

/* Safety dashboard enhancements */
#safetyDashboard {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.dashboard-metric {
    transition: transform 0.2s ease;
}

.dashboard-metric:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Violation animations */
@keyframes pulse {
    0% { border-left-color: #e74c3c; }
    50% { border-left-color: #c0392b; }
    100% { border-left-color: #e74c3c; }
}

.critical-violation {
    animation: pulse 1s ease-in-out infinite;
}

/* Compliance checklist styling */
.compliance-item {
    transition: all 0.2s ease;
}

.compliance-item:hover {
    background: #f8f9fa;
    padding-left: 15px;
}

/* Responsive fixes */
@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;
    }
}

@media (max-width: 576px) {
    .output-header .action-buttons {
        flex-direction: column !important;
    }
    
    .output-header .action-buttons .btn {
        width: 100%;
    }
}

/* Print styles for compliance reports */
@media print {
    .button-group,
    .action-buttons,
    .info-section {
        display: none !important;
    }
    
    .result-box {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    #safetyDashboard {
        background: white;
        border: 1px solid #ddd;
    }
}