/* Integers Flashcard — fill-table styles */

/* ─── Fill Table ─────────────────────────────────────────────── */
.fc-fill-tbl {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0.8rem 0;
}

.fc-fill-tbl th {
    background: rgba(6, 182, 212, 0.08);
    color: #0891b2;
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    border-bottom: 2px solid rgba(6, 182, 212, 0.15);
}

.fc-fill-tbl tbody tr + tr .fc-fill-cell {
    border-top: 1px solid #e2e8f0;
}

.fc-fill-cell {
    padding: 14px 10px;
    text-align: center;
    vertical-align: middle;
}

.fc-fill-given {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: #1e293b;
}

.fc-fill-field-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.fc-fill-prefix,
.fc-fill-suffix {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #64748b;
}

.fc-fill-input {
    width: 80px;
    min-height: 36px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #1e293b;
    padding: 4px 6px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fc-fill-input:focus {
    border-color: #06b6d4;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

.fc-fill-input::placeholder {
    color: #cbd5e1;
    font-weight: 400;
}

.fc-fill-correct {
    background: rgba(34, 197, 94, 0.06);
}

.fc-fill-correct .fc-fill-input {
    border-color: #22c55e !important;
    color: #16a34a;
}

.fc-fill-wrong {
    background: rgba(239, 68, 68, 0.06);
}

.fc-fill-wrong .fc-fill-input {
    border-color: #ef4444 !important;
    color: #dc2626;
}

.fc-fill-answer {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #22c55e;
    margin-top: 6px;
}

/* ─── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 480px) {
    .fc-fill-tbl th {
        font-size: 0.65rem;
        padding: 6px 6px;
    }

    .fc-fill-cell {
        padding: 10px 4px;
    }

    .fc-fill-input {
        width: 64px;
        font-size: 0.95rem;
    }

    .fc-fill-given {
        font-size: 1rem;
    }
}
