/**
 * QuizEdu Flashcard Addon — Form styles.
 * Styles for the Output Type selector injected into the generator form.
 */

/* Output type section — matches core .quizedu-questions-section */
.quizedu-output-type-section {
    position: relative;
}

.quizedu-output-type-section h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #111827;
}

.quizedu-output-type-section .quizedu-questions-hint {
    font-size: 12px;
    color: #6B7280;
    margin-top: 4px;
}
.quizedu-flashcard-item .quizedu-question-answer::before{
    display: none;
}

.quizedu-flashcard-generator .quizedu-questions-section h3 {
    margin-bottom: 8px;
}

.quizedu-flashcard-generator .quizedu-questions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* ==================================================================
 * Flashcard deck card styling (grid shortcode & My Flashcards)
 * ================================================================*/

.quizedu-fc-deck-card {
    border-left: 4px solid #6366f1;
}

.quizedu-fc-deck-card .quizedu-quiz-card-header {
    background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 50%, #f8f9fa 100%);
}

.quizedu-fc-deck-card:hover {
    border-color: #6366f1;
    border-left-color: #6366f1;
}

/* Unified badge base for all meta badges inside deck cards */
.quizedu-fc-deck-card .quizedu-quiz-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* Flashcard type badge */
.quizedu-fc-deck-card .quizedu-fc-type-badge {
    background: #eef2ff;
    color: #6366f1;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Privacy badge SVG size */
.quizedu-fc-deck-card .quizedu-quiz-privacy-badge svg {
    width: 12px;
    height: 12px;
}

/* Progress stats row with colored indicators */
.quizedu-fc-deck-card .quizedu-fc-stat-new,
.quizedu-fc-deck-card .quizedu-fc-stat-learning,
.quizedu-fc-deck-card .quizedu-fc-stat-mastered {
    font-weight: 700;
}

/* Thicker progress bar for deck cards */
.quizedu-fc-deck-card .quizedu-fc-progress-bar-mini {
    height: 8px;
    border-radius: 4px;
}

/* Study button accent color */
.quizedu-fc-deck-card .quizedu-take-btn,
.quizedu-fc-deck-card .quizedu-card-btn.quizedu-take-btn {
    background: #6366f1 !important;
    color: #fff !important;
}
.quizedu-fc-deck-card .quizedu-take-btn:hover,
.quizedu-fc-deck-card .quizedu-card-btn.quizedu-take-btn:hover {
    background: #4f46e5 !important;
}