/* =========================
   Ingredient substitution results
========================= */

.sub-results {
    margin-top: 20px;
    display: grid;
    gap: 12px;
}

.sub-results:empty {
    display: none;
}

.sub-card {
    border: 1px solid rgba(15, 118, 110, 0.15);
    border-radius: 14px;
    padding: 16px;
    background: rgba(15, 118, 110, 0.03);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sub-card__name {
    font-size: 16px;
    font-weight: 900;
    color: #0f4a44;
}

.sub-card__ratio {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    background: #0f766e;
    padding: 4px 10px;
    border-radius: 999px;
    width: max-content;
}

.sub-card__note {
    font-size: 13px;
    color: #444;
    line-height: 1.5;
}

.sub-card__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.10);
    padding: 3px 8px;
    border-radius: 999px;
    width: max-content;
    margin-top: 2px;
}