
.ingredient-category {
    border-left: 3px solid #007bff;
    padding-left: 10px;
    margin-top: 1.5rem;
    font-weight: 500;
    color: #495057;
}

.ingredient-category:first-child {
    margin-top: 0;
}

.ingredient-category + ul.list-unstyled {
    padding-left: 15px;
    margin-bottom: 0;
}

.ingredient-category + ul.list-unstyled + hr {
    border-top: 1px dashed #e0e0e0;
    margin: 1rem 0;
}

@media print {
    .ingredient-category {
        break-after: avoid;
        font-weight: bold !important;
        color: #000 !important;
    }
}
@media print {
    .recipe-summary .fas,
    .recipe-summary svg,
    .print-summary-icon {
        width: 24px !important;
        height: 24px !important;
        font-size: 16px !important;
        max-width: 24px !important;
        max-height: 24px !important;
    }

    .recipe-summary .p-2 {
        padding: 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }

    .recipe-summary .border {
        border: 1px solid #ddd !important;
    }
    .no-print { display: none !important; }
    .print-only { display: block !important; }
    body { font-size: 12pt; line-height: 1.3; background: #fff !important; color: #000 !important; }
    .step-image { max-width: 2in !important; max-height: 1.5in !important; }
    h1, h2, h3 { page-break-after: avoid; page-break-inside: avoid; }
    .recipe-content { page-break-before: always; }
    .recipe-image { max-height: 3in; overflow: hidden; }
    .card { border: 1px solid #ddd !important; margin-bottom: 0.5in !important; }
    .card-header { background-color: #f0f0f0 !important; padding: 0.25in !important; }
    ol li { page-break-inside: avoid; margin-bottom: 0.25in; }
}
.print-only { display: none; }
.recipe-step {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.recipe-step:last-child {
    border-bottom: none;
}

.recipe-step:nth-child(odd) {
    background-color: #f8f9fa;
    border-radius: 0.25rem;
}

.recipe-step::before {
    content: attr(data-step-number);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background-color: #6c757d;
    color: white;
    border-radius: 50%;
    font-weight: bold;
}

@media (max-width: 768px) {
    .recipe-step::before {
        left: -10px;
        top: -18px;
        transform: none;
    }
    .recipe-step {
        padding-top: 1.5rem;
    }
}

@media print {
    .recipe-step:nth-child(odd) {
        background-color: #f8f9fa !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    .recipe-step::before {
        background-color: #6c757d !important;
        color: white !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}

.step-text {
    margin-left: calc(0.1 * var(--bs-gutter-x));
}