/* ===== Key Concepts Infographic Card ===== */

.kc-infographic {
    border: 1.5px solid #e0e5ec;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.kc-header {
    background: linear-gradient(135deg, #1a2744 0%, #2c3e6b 100%);
    color: #fff;
    padding: 18px 24px;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}
.kc-header i {
    font-size: 22px;
    opacity: 0.9;
}

.kc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    padding: 20px;
    border-bottom: 1.5px solid #e0e5ec;
}
@media (max-width: 768px) {
    .kc-grid { grid-template-columns: 1fr; }
}

.kc-col {
    padding: 0 12px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.kc-col:not(:last-child) {
    border-right: 1.5px solid #e8ecf1;
}
@media (max-width: 768px) {
    .kc-col { border-right: none !important; border-bottom: 1px solid #e8ecf1; padding: 12px 0; }
}

.kc-section {
    padding: 12px;
    border-radius: 10px;
    background: #f8f9fb;
}
.kc-section-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #1a2744;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.kc-section-body {
    font-size: 13px;
    color: #333;
    line-height: 1.5;
}

.kc-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}
.kc-icon-blue { background: #dbeafe; color: #2563eb; }
.kc-icon-gray { background: #e5e7eb; color: #6b7280; }
.kc-icon-purple { background: #ede9fe; color: #7c3aed; }
.kc-icon-green { background: #d1fae5; color: #059669; }
.kc-icon-amber { background: #fef3c7; color: #d97706; }
.kc-icon-red { background: #fee2e2; color: #dc2626; }

.kc-highlight-green { background: #ecfdf5 !important; border: 1px solid #a7f3d0; }
.kc-highlight-amber { background: #fffbeb !important; border: 1px solid #fde68a; }
.kc-highlight-red { background: #fef2f2 !important; border: 1px solid #fecaca; }

.kc-list {
    list-style: disc;
    margin: 4px 0 0 18px;
    padding: 0;
    font-size: 13px;
    color: #333;
    line-height: 1.7;
}

/* Monitoring row */
.kc-monitor-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 24px;
    background: #f8f9fb;
    border-bottom: 1.5px solid #e0e5ec;
    flex-wrap: wrap;
}
.kc-monitor-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #1a2744;
    min-width: 160px;
}
.kc-monitor-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.kc-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #333;
}
.kc-badge-icon {
    background: #fef3c7;
    color: #92400e;
    font-weight: 800;
    font-size: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.kc-badge strong {
    color: #1a2744;
    font-size: 12px;
}
.kc-badge small {
    color: #6b7280;
    font-size: 11px;
}

/* Memory hint row */
.kc-memory-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    background: #eef2ff;
    border-top: 1px solid #c7d2fe;
}
.kc-memory-icon {
    background: #818cf8;
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.kc-memory-row strong {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #1a2744;
}
.kc-memory-row div {
    font-size: 13px;
    color: #333;
    line-height: 1.5;
}

/* Per-choice explanation cards (used on question display pages) */
.choice-exp-card {
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: box-shadow 0.2s;
}
.choice-exp-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.choice-exp-correct {
    background: #ecfdf5;
    border: 1.5px solid #86efac;
}
.choice-exp-incorrect {
    background: #fef2f2;
    border: 1.5px solid #fecaca;
}
.choice-exp-letter {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}
.choice-exp-correct .choice-exp-letter {
    background: #059669;
    color: #fff;
}
.choice-exp-incorrect .choice-exp-letter {
    background: #dc2626;
    color: #fff;
}
.choice-exp-text {
    font-size: 13px;
    line-height: 1.6;
    color: #333;
}
.choice-exp-label {
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 2px;
}
.choice-exp-correct .choice-exp-label { color: #059669; }
.choice-exp-incorrect .choice-exp-label { color: #dc2626; }
