/* Container for the quiz info block */
.quiz-info-table {
    width: 100%;
    max-width: 520px;
    margin: 1rem 0;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--black-font-color);
    font-size: 15px;
    line-height: 1.5;
    overflow: hidden;
}

/* Header row */
.quiz-info-header {
    padding: 0.75rem 1rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    font-weight: 600;
    text-align: left;
    letter-spacing: 0.03em;
}


.quiz-info-body {
    display: grid;
    grid-template-columns: minmax(120px, 1.1fr) minmax(0, 1.9fr);
    border-top: 1px solid var(--border-color);
}

/* Each row behaves like a table row */
.quiz-info-row {
    display: contents;
}

/* Label cell */
.quiz-info-label {
    padding: 0.55rem 1rem;
    background-color: rgba(10, 79, 163, 0.05);
    font-weight: 600;
    border-bottom: 1px solid rgba(61, 61, 61, 0.25);
    position: relative;
    color: var(--black-font-color);
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* Accent bar on the left */
.quiz-info-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--asset-color);
}

/* Value cell */
.quiz-info-value {
    padding: 0.55rem 1rem;
    border-bottom: 1px solid rgba(61, 61, 61, 0.12);
    color: var(--black-font-color);
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* Last row cleanup */
.quiz-info-row:last-child .quiz-info-label,
.quiz-info-row:last-child .quiz-info-value {
    border-bottom: none;
}

/* Optional highlight */
.quiz-info-value--highlight {
    color: var(--black-font-color);
    font-weight: 600;
}