/* DidaQuiz Centralized Feedback Card Styles */

.dida-feedback-area {
    margin-top: 12px;
    margin-bottom: 12px;
    width: 100%;
}

.dida-feedback-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1.5px solid transparent;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.95rem;
    line-height: 1.45;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    animation: didaFeedbackSlideIn 0.3s ease-out forwards;
    transition: all 0.2s ease;
}

@keyframes didaFeedbackSlideIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dida-feedback-icon {
    font-size: 1.6rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dida-feedback-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dida-feedback-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.dida-feedback-title {
    font-weight: 700;
    font-size: 1.02rem;
}

.dida-feedback-text {
    font-weight: 400;
    color: inherit;
    opacity: 0.92;
}

.dida-feedback-detail {
    margin-top: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.85;
}

.dida-feedback-score-badge {
    font-size: 0.82rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    white-space: nowrap;
}

/* Tier: Rot (0 - 49%) */
.dida-feedback-red {
    background-color: #fef2f2;
    border-color: #fca5a5;
    color: #991b1b;
}
.dida-feedback-red .dida-feedback-icon {
    background-color: #fee2e2;
}

/* Tier: Gelb (50 - 79%) */
.dida-feedback-yellow {
    background-color: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}
.dida-feedback-yellow .dida-feedback-icon {
    background-color: #fef3c7;
}

/* Tier: Grün (80 - 99%) */
.dida-feedback-green {
    background-color: #f0fdf4;
    border-color: #86efac;
    color: #065f46;
}
.dida-feedback-green .dida-feedback-icon {
    background-color: #dcfce7;
}

/* Tier: Perfekt (100%) */
.dida-feedback-perfect {
    background-color: #fefce8;
    border-color: #fef08a;
    color: #713f12;
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.15);
}
.dida-feedback-perfect .dida-feedback-icon {
    background-color: #fef9c3;
}
