/* FP Quick Add — Frontend CSS v1.0 */

/* ── Conteneur boutons dosage ─────── */
.fpqa-buttons {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 6px 0 4px;
}

/* ── Bouton individuel ─────── */
.fpqa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    font-family: inherit;
    color: #333;
    background: #f3f4f6;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all .15s;
    line-height: 1.3;
    white-space: nowrap;
    min-width: 44px;
    text-align: center;
}
.fpqa-btn:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* ── États ─────── */
.fpqa-btn--oos {
    opacity: .35;
    cursor: not-allowed;
    text-decoration: line-through;
}
.fpqa-btn--loading {
    background: #eee;
    color: #999;
    cursor: wait;
}
.fpqa-btn--added {
    background: #27ae60;
    color: #fff;
    border-color: #27ae60;
}
.fpqa-btn--error {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

@media (max-width: 640px) {
    .fpqa-btn {
        padding: 4px 8px;
        font-size: 10px;
        min-width: 36px;
    }
}
