/* Quiz styling */
.quiz-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin-top: 5px;
}

/* Special layouts for different answer counts */
.quiz-grid-1 {
    grid-template-columns: 1fr;
    justify-items: center;
    justify-content: center;
    max-width: 400px;
    margin: 20px auto 0 auto;
}

.quiz-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.quiz-button {
    padding: 1px 15px;
    font-size: 16px;
    border: 2px solid #666;
    background: #333;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.quiz-button .quiz-icon {
    width: 20px;
    height: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
    order: -1;
}

.quiz-button .quiz-icon.visible {
    opacity: 1;
}

.quiz-button:hover {
    border-color: #999;
    background: #444;
}

.quiz-button:active {
    transform: scale(0.98);
}
