/* Custom styles for Survey Insight */

/* Loading spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Score badge colors */
.score-high { background-color: #22c55e; }
.score-medium { background-color: #eab308; }
.score-low { background-color: #ef4444; }

/* Question card hover effect */
.question-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Fade in animation */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Matrix table styling */
.matrix-table th {
    background-color: #f8fafc;
}

.matrix-table td, .matrix-table th {
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
}

/* Modal backdrop */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}
