/* /Components/Common/RecipeCard.razor.rz.scp.css */
.recipe-card[b-vvetc04hxo] {
    position: relative;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
    cursor: pointer;
    background: #fff;
    transition: box-shadow 0.2s ease;
}

.recipe-card:hover[b-vvetc04hxo] {
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

.recipe-card img[b-vvetc04hxo] {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.recipe-card-content[b-vvetc04hxo] {
    padding: 0.5rem 0.75rem;
}

.recipe-title[b-vvetc04hxo] {
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
    color: #212529;
}

.recipe-source[b-vvetc04hxo] {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
}

.recipe-description[b-vvetc04hxo] {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0.5rem 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Recipe meta styling */
.recipe-meta[b-vvetc04hxo] {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 0.25rem 0;
    font-size: 0.85rem;
    color: #6c757d;
}

.recipe-time[b-vvetc04hxo], .recipe-servings[b-vvetc04hxo] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.recipe-time svg[b-vvetc04hxo], .recipe-servings svg[b-vvetc04hxo] {
    flex-shrink: 0;
}

/* Rating overlay */
.rating-overlay[b-vvetc04hxo] {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 9;
}

/* Save icon - top left */
.save-icon[b-vvetc04hxo] {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: rgba(255,255,255,0.95);
    color: #444;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    box-shadow: 0 2px 12px rgba(0,0,0,.2);
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.save-icon:hover[b-vvetc04hxo] {
    background: #fff;
    color: #111;
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
}

/* Cart icon - search style (green, bottom right) */
.cart-icon[b-vvetc04hxo] {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: rgba(76, 175, 80, 0.95);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,.2);
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.cart-icon:hover[b-vvetc04hxo] {
    background: rgba(76, 175, 80, 1);
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.4);
}

/* Cart button - saved recipes style (white, circular) */
.cart-btn[b-vvetc04hxo] {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    border: none;
    background: rgba(255,255,255,.95);
    color: #111;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.cart-btn:hover[b-vvetc04hxo] {
    background: #fff;
    transform: scale(1.05);
}

/* Delete button */
.delete-btn[b-vvetc04hxo] {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    border: none;
    background: rgba(33,37,41,.85);
    color: #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .2s, background-color .2s;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
    cursor: pointer;
    z-index: 10;
}

.delete-btn .icon[b-vvetc04hxo] {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.recipe-card:hover .delete-btn[b-vvetc04hxo],
.recipe-card:focus-within .delete-btn[b-vvetc04hxo] {
    opacity: 1;
}

.delete-btn:hover[b-vvetc04hxo] {
    background: rgba(220,53,69,.95);
}

/* Selection styling */
.select-overlay[b-vvetc04hxo] {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 10;
}

.recipe-checkbox[b-vvetc04hxo] {
    width: 18px;
    height: 18px;
    background: rgba(255,255,255,.95);
    border: 2px solid #dee2e6;
    border-radius: 0.25rem;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    cursor: pointer;
}

.recipe-checkbox:checked[b-vvetc04hxo] {
    background: #0d6efd;
    border-color: #0d6efd;
}

.recipe-card.selected[b-vvetc04hxo] {
    outline: 3px solid #0d6efd;
    outline-offset: -3px;
}

.recipe-card.selected .recipe-card-content[b-vvetc04hxo] {
    background: rgba(13,110,253,.05);
}

/* Draggable styling */
.recipe-card.draggable[b-vvetc04hxo] {
    cursor: grab;
}

.recipe-card.draggable:active[b-vvetc04hxo] {
    cursor: grabbing;
}

/* Hover overlay */
.overlay[b-vvetc04hxo] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
    overflow-y: auto;
    padding: 1rem;
}

.recipe-card:hover .overlay[b-vvetc04hxo] {
    opacity: 1;
}

.overlay-content[b-vvetc04hxo] {
    font-size: 0.85rem;
}

.overlay-content h6[b-vvetc04hxo] {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.overlay-content p[b-vvetc04hxo] {
    margin-bottom: 1rem;
    color: #555;
}

.overlay-content ul[b-vvetc04hxo],
.overlay-content ol[b-vvetc04hxo] {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.overlay-content li[b-vvetc04hxo] {
    margin-bottom: 0.25rem;
    color: #555;
}
/* /Components/Common/RecipeSourceNotice.razor.rz.scp.css */
.recipe-source-notice[b-rtk3hvpare] {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 1px solid #90caf9;
    border-left: 4px solid #2196f3;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    box-shadow: 0 2px 4px rgba(33, 150, 243, 0.1);
    transition: all 0.3s ease;
    animation: slideIn 0.4s ease-out;
}

.recipe-source-notice.dismissed[b-rtk3hvpare] {
    max-height: 0;
    padding: 0;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    border: none;
}

.notice-content[b-rtk3hvpare] {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
}

.notice-icon[b-rtk3hvpare] {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2196f3;
    color: white;
    border-radius: 50%;
    font-size: 1rem;
}

.notice-icon i[b-rtk3hvpare] {
    margin: 0;
}

.notice-text[b-rtk3hvpare] {
    flex: 1;
    min-width: 0;
}

.notice-message[b-rtk3hvpare] {
    margin: 0;
    color: #1565c0;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.notice-message strong[b-rtk3hvpare] {
    color: #0d47a1;
    font-weight: 600;
}

.notice-dismiss-btn[b-rtk3hvpare] {
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: #1976d2;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
    /* Ensure minimum touch target size for mobile */
    min-width: 44px;
    min-height: 44px;
}

.notice-dismiss-btn:hover[b-rtk3hvpare] {
    background: rgba(33, 150, 243, 0.1);
    color: #0d47a1;
}

.notice-dismiss-btn:active[b-rtk3hvpare] {
    background: rgba(33, 150, 243, 0.2);
    transform: scale(0.95);
}

.notice-dismiss-btn:focus[b-rtk3hvpare] {
    outline: 2px solid #2196f3;
    outline-offset: 2px;
}

/* Animation for notice appearance */
@@keyframes slideIn {
    from[b-rtk3hvpare] {
        opacity: 0;
        transform: translateY(-10px);
    }
    to[b-rtk3hvpare] {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@@media (max-width: 767px) {
    .recipe-source-notice[b-rtk3hvpare] {
        padding: 0.875rem;
        margin: 0.75rem 0;
    }

    .notice-content[b-rtk3hvpare] {
        gap: 0.75rem;
    }

    .notice-icon[b-rtk3hvpare] {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.875rem;
    }

    .notice-message[b-rtk3hvpare] {
        font-size: 0.875rem;
    }

    .notice-dismiss-btn[b-rtk3hvpare] {
        font-size: 1rem;
        /* Maintain touch target size on mobile */
        min-width: 44px;
        min-height: 44px;
    }
}

/* Tablet and larger screens */
@@media (min-width: 768px) {
    .recipe-source-notice[b-rtk3hvpare] {
        padding: 1.25rem;
        margin: 1.25rem 0;
    }

    .notice-content[b-rtk3hvpare] {
        gap: 1.25rem;
    }

    .notice-message[b-rtk3hvpare] {
        font-size: 1rem;
    }
}

/* Print styles - hide the notice when printing */
@@media print {
    .recipe-source-notice[b-rtk3hvpare] {
        display: none;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-8dq3jtif2n] {
    position: relative;
    display: flex;
    flex-direction: column; /* Always column to keep footer below main */
    min-height: 100vh;
}

main[b-8dq3jtif2n] { flex: 1; }

/* Legacy sidebar styles kept minimal (not used in new header layout) */
.sidebar[b-8dq3jtif2n] { display:none; }

.top-row[b-8dq3jtif2n] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.top-row[b-8dq3jtif2n]  a, .top-row[b-8dq3jtif2n]  .btn-link { white-space: nowrap; margin-left: 1.5rem; text-decoration: none; }
.top-row[b-8dq3jtif2n]  a:hover, .top-row[b-8dq3jtif2n]  .btn-link:hover { text-decoration: underline; }
.top-row[b-8dq3jtif2n]  a:first-child { overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 640.98px) {
    .top-row[b-8dq3jtif2n] { justify-content: space-between; }
    .top-row[b-8dq3jtif2n]  a, .top-row[b-8dq3jtif2n]  .btn-link { margin-left: 0; }
}

/* Removed layout switch to row; keep column on wider screens */
@media (min-width: 641px) {
    .top-row[b-8dq3jtif2n] { position: sticky; top: 0; z-index: 1; }
}

#blazor-error-ui[b-8dq3jtif2n] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}
#blazor-error-ui .dismiss[b-8dq3jtif2n] { cursor: pointer; position: absolute; right: 0.75rem; top: 0.5rem; }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-03ns5t0cws] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-03ns5t0cws] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-03ns5t0cws] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-03ns5t0cws] {
    font-size: 1.1rem;
    /* Ensure no default focus/active outlines or shadows show as a border around the logo */
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Explicitly remove any border/outline/shadow from the logo image */
.navbar-logo[b-03ns5t0cws] {
    height: 40px; /* Keep intended size */
    margin-right: 10px;
    display: block;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    -webkit-tap-highlight-color: transparent;
}

.bi[b-03ns5t0cws] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill[b-03ns5t0cws] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill[b-03ns5t0cws] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested[b-03ns5t0cws] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-03ns5t0cws] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-03ns5t0cws] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-03ns5t0cws] {
        padding-bottom: 1rem;
    }

    .nav-item[b-03ns5t0cws]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-03ns5t0cws]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-03ns5t0cws]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-03ns5t0cws] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-03ns5t0cws] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-03ns5t0cws] {
        display: none;
    }

    .nav-scrollable[b-03ns5t0cws] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/AddRecipe.razor.rz.scp.css */
/* Modern Add Recipe Page Styles */

.add-recipe-container[b-71rthau1du] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    min-height: calc(100vh - 140px);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.recipe-header[b-71rthau1du] {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-content[b-71rthau1du] {
    max-width: 600px;
    margin: 0 auto;
}

.recipe-title[b-71rthau1du] {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.recipe-subtitle[b-71rthau1du] {
    font-size: 1.1rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* Input Method Tabs */
.input-methods[b-71rthau1du] {
    margin-bottom: 2rem;
}

.method-tabs[b-71rthau1du] {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.method-tab[b-71rthau1du] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #6c757d;
    text-decoration: none;
    min-width: 140px;
}

.method-tab:hover[b-71rthau1du] {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    color: #667eea;
}

.method-tab.active[b-71rthau1du] {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.method-tab i[b-71rthau1du] {
    font-size: 1.5rem;
}

.method-tab span[b-71rthau1du] {
    font-size: 0.9rem;
    text-align: center;
}

/* Camera Section */
.camera-section[b-71rthau1du] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.camera-container[b-71rthau1du] {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.camera-video-wrapper[b-71rthau1du] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.camera-video[b-71rthau1du], .barcode-video[b-71rthau1du] {
    width: 100%;
    max-width: 400px;
    max-height: 60vh;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.camera-canvas[b-71rthau1du], .barcode-canvas[b-71rthau1du] {
    display: none;
}

.camera-placeholder[b-71rthau1du], .barcode-placeholder[b-71rthau1du] {
    padding: 3rem 2rem;
    text-align: center;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.camera-placeholder:hover[b-71rthau1du], .barcode-placeholder:hover[b-71rthau1du] {
    border-color: #667eea;
    background: #f0f4ff;
}

.camera-icon[b-71rthau1du], .barcode-icon[b-71rthau1du] {
    font-size: 3rem;
    color: #6c757d;
    margin-bottom: 1rem;
    display: block;
}

.camera-placeholder p[b-71rthau1du] {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.camera-note[b-71rthau1du] {
    font-size: 0.9rem !important;
    color: #007bff !important;
    margin-bottom: 1.5rem !important;
    padding: 0.5rem 1rem;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(0, 123, 255, 0.2);
}

.camera-note.loading[b-71rthau1du] {
    color: #28a745 !important;
    background: rgba(40, 167, 69, 0.1);
    border-color: rgba(40, 167, 69, 0.2);
    font-weight: 600;
}

.camera-instructions[b-71rthau1du] {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    line-height: 1.5;
}

.camera-instructions strong[b-71rthau1du] {
    color: #495057;
}

.start-camera-btn[b-71rthau1du], .start-barcode-btn[b-71rthau1du] {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.camera-controls[b-71rthau1du], .barcode-controls[b-71rthau1du] {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    min-height: 44px;
    align-items: center;
}

.camera-controls .btn[b-71rthau1du], .barcode-controls .btn[b-71rthau1du] {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hidden[b-71rthau1du] {
    display: none !important;
}

/* Book Section */
.book-section[b-71rthau1du] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.book-info-container[b-71rthau1du] {
    max-width: 800px;
    margin: 0 auto;
}

.barcode-scanner[b-71rthau1du] {
    margin-bottom: 2rem;
    text-align: center;
}

.barcode-scanner h4[b-71rthau1du] {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.barcode-scanner p[b-71rthau1du] {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.barcode-container[b-71rthau1du] {
    max-width: 400px;
    margin: 0 auto;
}

.manual-isbn[b-71rthau1du] {
    text-align: center;
    margin-bottom: 2rem;
}

.manual-isbn h5[b-71rthau1du] {
    color: #495057;
    margin-bottom: 1rem;
    font-weight: 600;
}

.isbn-input-group[b-71rthau1du] {
    display: flex;
    gap: 0.5rem;
    max-width: 400px;
    margin: 0 auto;
}

.isbn-input-group input[b-71rthau1du] {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.isbn-input-group input:focus[b-71rthau1du] {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.book-info-display[b-71rthau1du] {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.book-info-display h5[b-71rthau1du] {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.book-details[b-71rthau1du] {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.book-cover[b-71rthau1du] {
    flex-shrink: 0;
}

.cover-image[b-71rthau1du] {
    width: 80px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cover-placeholder[b-71rthau1du] {
    width: 80px;
    height: 100px;
    background: #e9ecef;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.book-meta[b-71rthau1du] {
    flex: 1;
}

.book-meta h6[b-71rthau1du] {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.book-meta p[b-71rthau1du] {
    margin-bottom: 0.25rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.book-meta .author[b-71rthau1du] {
    font-weight: 500;
    color: #495057;
}

/* Recipe Form */
.recipe-form[b-71rthau1du] {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.validation-summary[b-71rthau1du] {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 2rem;
    color: #721c24;
}

.form-grid[b-71rthau1du] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group[b-71rthau1du] {
    display: flex;
    flex-direction: column;
}

.form-group.full-width[b-71rthau1du] {
    grid-column: 1 / -1;
}

.form-label[b-71rthau1du] {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.section-label[b-71rthau1du] {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modern-input[b-71rthau1du], .modern-textarea[b-71rthau1du] {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.modern-input:focus[b-71rthau1du], .modern-textarea:focus[b-71rthau1du] {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.modern-textarea[b-71rthau1du] {
    resize: vertical;
    min-height: 120px;
    font-family: 'Courier New', monospace;
    line-height: 1.5;
}

.ingredients-section[b-71rthau1du], .instructions-section[b-71rthau1du] {
    margin-bottom: 2rem;
}

.ingredient-editor[b-71rthau1du], .instruction-editor[b-71rthau1du] {
    position: relative;
}

.form-text[b-71rthau1du] {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-text i[b-71rthau1du] {
    color: #ffc107;
}

.book-reference[b-71rthau1du] {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e1bee7;
}

.book-reference-info[b-71rthau1du] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a148c;
}

.book-reference-info i[b-71rthau1du] {
    color: #7b1fa2;
}

.book-reference-info small[b-71rthau1du] {
    margin-left: 0.5rem;
}

/* Form Actions */
.form-actions[b-71rthau1du] {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f8f9fa;
    flex-wrap: wrap;
}

.submit-btn[b-71rthau1du] {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 160px;
}

.submit-btn:not(:disabled):hover[b-71rthau1du] {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* Alert Enhancements */
.alert[b-71rthau1du] {
    border-radius: 8px;
    border: none;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.alert-success[b-71rthau1du] {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger[b-71rthau1du] {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-warning[b-71rthau1du] {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    border-left: 4px solid #ffc107;
}

.alert-info[b-71rthau1du] {
    background: linear-gradient(135deg, #cce7ff 0%, #b8daff 100%);
    color: #004085;
    border-left: 4px solid #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .add-recipe-container[b-71rthau1du] {
        padding: 1rem 0.5rem;
    }

    .recipe-title[b-71rthau1du] {
        font-size: 2rem;
    }

    .recipe-header[b-71rthau1du] {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .method-tabs[b-71rthau1du] {
        flex-direction: column;
        align-items: center;
    }

    .method-tab[b-71rthau1du] {
        width: 100%;
        max-width: 300px;
        flex-direction: row;
        justify-content: center;
        padding: 1rem;
    }

    .form-grid[b-71rthau1du] {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .camera-section[b-71rthau1du], .book-section[b-71rthau1du], .recipe-form[b-71rthau1du] {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .camera-placeholder[b-71rthau1du], .barcode-placeholder[b-71rthau1du] {
        padding: 2rem 1rem;
    }

    .camera-icon[b-71rthau1du], .barcode-icon[b-71rthau1du] {
        font-size: 2.5rem;
    }

    .book-details[b-71rthau1du] {
        flex-direction: column;
        text-align: center;
    }

    .form-actions[b-71rthau1du] {
        justify-content: center;
        flex-direction: column-reverse;
    }

    .form-actions .btn[b-71rthau1du] {
        width: 100%;
    }

    .isbn-input-group[b-71rthau1du] {
        flex-direction: column;
        gap: 0.75rem;
    }

    .camera-controls[b-71rthau1du], .barcode-controls[b-71rthau1du] {
        flex-direction: column;
        align-items: center;
    }

    .camera-controls .btn[b-71rthau1du], .barcode-controls .btn[b-71rthau1du] {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 576px) {
    .recipe-title[b-71rthau1du] {
        font-size: 1.75rem;
    }

    .recipe-subtitle[b-71rthau1du] {
        font-size: 1rem;
    }

    .method-tab span[b-71rthau1du] {
        font-size: 0.8rem;
    }

    .camera-section[b-71rthau1du], .book-section[b-71rthau1du], .recipe-form[b-71rthau1du] {
        padding: 1rem;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .method-tab[b-71rthau1du],
    .modern-input[b-71rthau1du],
    .modern-textarea[b-71rthau1du],
    .submit-btn[b-71rthau1du] {
        transition: none;
    }

    .method-tab:hover[b-71rthau1du],
    .submit-btn:not(:disabled):hover[b-71rthau1du] {
        transform: none;
    }
}

/* Focus Indicators */
.method-tab:focus[b-71rthau1du],
.start-camera-btn:focus[b-71rthau1du],
.start-barcode-btn:focus[b-71rthau1du] {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Loading States */
.btn:disabled[b-71rthau1du] {
    opacity: 0.6;
    cursor: not-allowed;
}

.fa-spinner[b-71rthau1du] {
    animation: spin-b-71rthau1du 1s linear infinite;
}

@keyframes spin-b-71rthau1du {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Camera Orientation Styles */
.camera-video.camera-landscape[b-71rthau1du] {
    aspect-ratio: 16/9;
    max-width: 400px;
    max-height: 50vh;
    width: 100%;
    object-fit: cover;
}

.camera-video.camera-portrait[b-71rthau1du] {
    aspect-ratio: 9/16;
    max-width: 300px;
    max-height: 60vh;
    width: 100%;
    object-fit: cover;
}

.orientation-controls[b-71rthau1du] {
    text-align: center;
    margin-bottom: 1rem;
}

.orientation-controls .form-label[b-71rthau1du] {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #495057;
}

.orientation-controls .btn-group[b-71rthau1du] {
    display: inline-flex;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.orientation-controls .btn-check[b-71rthau1du] {
    position: absolute;
    clip: rect(0, 0, 0, 0);
    pointer-events: none;
}

.orientation-controls .btn-outline-primary[b-71rthau1du] {
    padding: 0.5rem 1rem;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 0;
}

.orientation-controls .btn-outline-primary:hover[b-71rthau1du] {
    background: #f0f4ff;
    border-color: #5a6fd8;
}

.orientation-controls .btn-check:checked + .btn-outline-primary[b-71rthau1du] {
    background: #667eea;
    border-color: #667eea;
    color: white;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.capture-controls[b-71rthau1du] {
    text-align: center;
}
/* /Components/Pages/RecipeDetail.razor.rz.scp.css */
.recipe-detail-container[b-ms8figkm6t] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.loading-container[b-ms8figkm6t] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
}

.error-container[b-ms8figkm6t] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    padding: 2rem;
}

.recipe-content[b-ms8figkm6t] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.recipe-header-section[b-ms8figkm6t] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(to bottom, #f8f9fa 0%, white 100%);
}

.recipe-image-container[b-ms8figkm6t] {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.recipe-image[b-ms8figkm6t] {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

.recipe-header-info[b-ms8figkm6t] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.recipe-title[b-ms8figkm6t] {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.2;
}

.recipe-description[b-ms8figkm6t] {
    font-size: 1.125rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.recipe-meta[b-ms8figkm6t] {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.meta-item[b-ms8figkm6t] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.meta-item i[b-ms8figkm6t] {
    color: #0d6efd;
}

.recipe-times[b-ms8figkm6t] {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.time-item[b-ms8figkm6t] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.time-item i[b-ms8figkm6t] {
    font-size: 1.5rem;
    color: #0d6efd;
}

.time-label[b-ms8figkm6t] {
    font-size: 0.875rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.time-value[b-ms8figkm6t] {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2c3e50;
}

.recipe-actions[b-ms8figkm6t] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.recipe-actions .btn[b-ms8figkm6t] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

.recipe-body[b-ms8figkm6t] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
}

.recipe-section[b-ms8figkm6t] {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #0d6efd;
}

.section-title[b-ms8figkm6t] {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title i[b-ms8figkm6t] {
    color: #0d6efd;
}

.ingredients-list[b-ms8figkm6t],
.equipment-list[b-ms8figkm6t] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.ingredients-list li[b-ms8figkm6t],
.equipment-list li[b-ms8figkm6t] {
    padding: 0.75rem 1rem;
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    padding-left: 2.5rem;
}

.ingredients-list li[b-ms8figkm6t]::before,
.equipment-list li[b-ms8figkm6t]::before {
    content: "✓";
    position: absolute;
    left: 1rem;
    color: #28a745;
    font-weight: bold;
}

.instructions-list[b-ms8figkm6t] {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.instructions-list li[b-ms8figkm6t] {
    counter-increment: step-counter;
    padding: 1rem 1rem 1rem 3.5rem;
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    line-height: 1.6;
}

.instructions-list li[b-ms8figkm6t]::before {
    content: counter(step-counter);
    position: absolute;
    left: 1rem;
    top: 1rem;
    background: #0d6efd;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.instructions-text[b-ms8figkm6t] {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    line-height: 1.6;
    white-space: pre-wrap;
}

.dietary-tags[b-ms8figkm6t] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dietary-tags .badge[b-ms8figkm6t] {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.cookbook-title[b-ms8figkm6t] {
    font-size: 1.125rem;
    font-weight: 500;
    color: #2c3e50;
    margin: 0;
    padding: 1rem;
    background: white;
    border-radius: 6px;
}

/* Servings Adjustment Section */
.servings-adjustment-section[b-ms8figkm6t] {
    border-left-color: #f58025;
}

.servings-adjuster[b-ms8figkm6t] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
}

.servings-controls[b-ms8figkm6t] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.servings-btn[b-ms8figkm6t] {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #f58025;
    background: white;
    color: #f58025;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.servings-btn:hover:not(:disabled)[b-ms8figkm6t] {
    background: #f58025;
    color: white;
}

.servings-btn:disabled[b-ms8figkm6t] {
    border-color: #ccc;
    color: #ccc;
    cursor: not-allowed;
}

.servings-display[b-ms8figkm6t] {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.servings-number[b-ms8figkm6t] {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f58025;
    line-height: 1;
}

.servings-label[b-ms8figkm6t] {
    font-size: 0.875rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.servings-slider-container[b-ms8figkm6t] {
    width: 100%;
    padding: 0 1rem;
}

.servings-slider[b-ms8figkm6t] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e9ecef;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.servings-slider[b-ms8figkm6t]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f58025;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.servings-slider[b-ms8figkm6t]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.servings-slider[b-ms8figkm6t]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f58025;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.servings-info[b-ms8figkm6t] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.multiplier-badge[b-ms8figkm6t] {
    background: #fff3e0;
    color: #e65100;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
}

.reset-btn[b-ms8figkm6t] {
    background: none;
    border: none;
    color: #0d6efd;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.reset-btn:hover[b-ms8figkm6t] {
    background: #e7f1ff;
}

.adjusted-badge[b-ms8figkm6t] {
    font-size: 0.75rem;
    background: #fff3e0;
    color: #e65100;
    padding: 0.25rem 0.625rem;
    border-radius: 12px;
    font-weight: 500;
    margin-left: 0.75rem;
}

/* Tablet and larger */
@@media (min-width: 768px) {
    .recipe-detail-container[b-ms8figkm6t] {
        padding: 3rem 2rem;
    }

    .recipe-header-section[b-ms8figkm6t] {
        grid-template-columns: 1fr 1fr;
    }

    .recipe-image[b-ms8figkm6t] {
        max-height: 600px;
    }

    .recipe-body[b-ms8figkm6t] {
        grid-template-columns: 1fr 1fr;
    }

    .recipe-section:has(.instructions-list)[b-ms8figkm6t],
    .recipe-section:has(.instructions-text)[b-ms8figkm6t] {
        grid-column: 1 / -1;
    }

    .servings-adjustment-section[b-ms8figkm6t] {
        grid-column: 1 / -1;
    }
}

/* Desktop */
@@media (min-width: 1024px) {
    .recipe-title[b-ms8figkm6t] {
        font-size: 3rem;
    }

    .recipe-header-section[b-ms8figkm6t] {
        padding: 3rem;
    }

    .recipe-body[b-ms8figkm6t] {
        padding: 3rem;
        gap: 2.5rem;
    }
}

/* Recipe Timestamps */
.recipe-timestamps[b-ms8figkm6t] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #666;
}

.timestamp-item[b-ms8figkm6t] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timestamp-item i[b-ms8figkm6t] {
    color: #0d6efd;
    font-size: 0.8rem;
}
/* /Components/Pages/RecipeSuggestions.razor.rz.scp.css */
/* Desktop: side-by-side layout */
.suggestion-hero-group[b-34zbci5r37] {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
}

.suggestion-hero-group .suggestion-textarea[b-34zbci5r37] {
    flex: 1;
    min-height: 52px;
    border-radius: 0.375rem 0 0 0.375rem !important;
    border-right: 0;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.suggestion-hero-group button[b-34zbci5r37] {
    flex-shrink: 0;
    min-height: 52px;
    border-radius: 0 0.375rem 0.375rem 0 !important;
    white-space: nowrap;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Mobile: stacked layout */
@media (max-width: 768px) {
    .suggestion-hero-group[b-34zbci5r37] {
        flex-direction: column;
        gap: 0.75rem;
        width: 100% !important;
    }

    .suggestion-hero-group .suggestion-textarea[b-34zbci5r37] {
        border-radius: 0.375rem !important;
        border-right: 1px solid #dee2e6;
        margin-bottom: 0;
        width: 100% !important;
        flex: 1 1 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .suggestion-hero-group button[b-34zbci5r37] {
        border-radius: 0.375rem !important;
        width: 100% !important;
        flex: 1 1 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 576px) {
    .suggestion-hero-group[b-34zbci5r37] {
        gap: 0.5rem;
    }
    
    /* Override any Bootstrap constraints */
    .suggestion-hero-group .suggestion-textarea[b-34zbci5r37] {
        max-width: none !important;
        width: 100% !important;
    }
}

/* Prevent iOS zoom on textarea focus */
@media (max-width: 480px) {
    .suggestion-hero-group .suggestion-textarea[b-34zbci5r37] {
        font-size: 16px;
    }
}
/* /Components/Pages/Search.razor.rz.scp.css */
/* Chefly Modern Search Page Styles */

/* CSS Variables - using ::deep to apply to all elements */
.chefly-search-page[b-qbf681nyw7] {
    --purple: #5b52bc;
    --purple-dark: #4a43a3;
    --purple-light: #7169d4;
    --purple-soft: #eeedf8;
    --coral: #ff8675;
    --coral-light: #ffa99d;
    --coral-soft: #ffebe8;
    --white: #ffffff;
    --cream: #fdfcfa;
    --gray-50: #f8f7fc;
    --gray-100: #f0eff5;
    --gray-200: #e4e3ed;
    --gray-400: #9794b8;
    --gray-600: #5d5a7a;
    --gray-800: #2d2b4a;
    --text-primary: #2d2b4a;
    --text-secondary: #5d5a7a;
    --text-muted: #9794b8;
}

/* Main Container */
.chefly-search-page[b-qbf681nyw7] {
    width: 100%;
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Hero Section */
.hero[b-qbf681nyw7] {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 7rem 6% 4rem;
    text-align: center;
    background: linear-gradient(180deg, var(--cream) 0%, var(--purple-soft) 100%);
    transition: min-height 0.3s ease, padding 0.3s ease;
}

/* Collapsed hero state when search results are showing */
.hero.collapsed[b-qbf681nyw7] {
    min-height: auto;
    padding: 5rem 6% 2rem;
}

.hero.collapsed .hero-logo[b-qbf681nyw7] {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.hero.collapsed h1[b-qbf681nyw7] {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    margin-bottom: 0.5rem;
}

.hero.collapsed .hero-subtitle[b-qbf681nyw7] {
    display: none;
}

.hero.collapsed .search-hints[b-qbf681nyw7] {
    display: none;
}

.hero.collapsed .chat-toggle[b-qbf681nyw7] {
    display: none;
}

.hero-content[b-qbf681nyw7] {
    max-width: 640px;
    animation: fadeIn 0.7s ease forwards;
}

@@keyframes fadeIn {
    from[b-qbf681nyw7] { opacity: 0; transform: translateY(16px); }
    to[b-qbf681nyw7] { opacity: 1; transform: translateY(0); }
}

.hero-logo[b-qbf681nyw7] {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
}

.hero-logo svg[b-qbf681nyw7] {
    width: 100%;
    height: 100%;
}

.hero h1[b-qbf681nyw7] {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #2d2b4a;
}

.hero h1 span[b-qbf681nyw7] {
    color: #5b52bc;
}

.hero-subtitle[b-qbf681nyw7] {
    font-size: 1.1rem;
    color: #5d5a7a;
    max-width: 480px;
    margin: 0 auto 2rem;
    font-weight: 500;
}

/* Search Area */
.search-area[b-qbf681nyw7] {
    max-width: 580px;
    margin: 0 auto;
    width: 100%;
}

.search-box[b-qbf681nyw7] {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(91, 82, 188, 0.1);
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.search-box.focused[b-qbf681nyw7] {
    border-color: var(--purple-light);
    box-shadow: 0 6px 32px rgba(91, 82, 188, 0.15);
}

.search-input[b-qbf681nyw7] {
    flex: 1;
    padding: 1rem 1.25rem;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-primary);
    font-weight: 500;
}

.search-input[b-qbf681nyw7]::placeholder {
    color: var(--text-muted);
}

.search-input:focus[b-qbf681nyw7] {
    outline: none;
}

/* Clear button */
.clear-btn[b-qbf681nyw7] {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 50%;
    color: var(--text-muted);
}

.clear-btn:hover[b-qbf681nyw7] {
    background: var(--gray-100);
    color: var(--text-secondary);
}

.clear-btn svg[b-qbf681nyw7] {
    width: 18px;
    height: 18px;
}

.voice-btn[b-qbf681nyw7] {
    background: none;
    border: none;
    padding: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 10px;
    margin-right: 0.25rem;
}

.voice-btn:hover[b-qbf681nyw7] {
    background: var(--coral-soft);
}

.voice-btn.listening[b-qbf681nyw7] {
    background: var(--coral);
    animation: pulse 1.5s ease-in-out infinite;
}

.voice-btn.listening svg[b-qbf681nyw7] {
    stroke: white;
}

@@keyframes pulse {
    0%[b-qbf681nyw7], 100%[b-qbf681nyw7] { transform: scale(1); }
    50%[b-qbf681nyw7] { transform: scale(1.08); }
}

.voice-btn svg[b-qbf681nyw7] {
    width: 22px;
    height: 22px;
    stroke: var(--coral);
}

.search-btn[b-qbf681nyw7] {
    background: var(--purple);
    border: none;
    padding: 0.85rem 1.1rem;
    margin: 0.4rem;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.search-btn:hover[b-qbf681nyw7] {
    background: var(--purple-dark);
}

.search-btn svg[b-qbf681nyw7] {
    width: 20px;
    height: 20px;
    stroke: white;
}

/* Active Filters - Negative Keywords Chips */
.active-filters[b-qbf681nyw7] {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 580px;
}

.active-filters-label[b-qbf681nyw7] {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    text-align: center;
    margin-bottom: 0.25rem;
}

.filter-chip[b-qbf681nyw7] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.5rem 0.4rem 0.75rem;
    background: var(--coral-soft);
    border: 1px solid var(--coral);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #c74a39;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.2s ease;
}

.filter-chip.negative-keyword[b-qbf681nyw7] {
    background: #fef2f2;
    border-color: #ef4444;
    color: #b91c1c;
}

.filter-chip .chip-label[b-qbf681nyw7] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.filter-chip .chip-remove[b-qbf681nyw7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    background: rgba(185, 28, 28, 0.15);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #b91c1c;
}

.filter-chip .chip-remove:hover[b-qbf681nyw7] {
    background: #b91c1c;
    color: white;
}

.filter-chip .chip-remove svg[b-qbf681nyw7] {
    width: 12px;
    height: 12px;
}

/* Touch targets for filter chips */
@@media (hover: none) and (pointer: coarse) {
    .filter-chip[b-qbf681nyw7] {
        padding: 0.5rem 0.6rem 0.5rem 0.85rem;
        font-size: 0.9rem;
        min-height: 44px;
    }

    .filter-chip .chip-remove[b-qbf681nyw7] {
        width: 28px;
        height: 28px;
    }

    .filter-chip .chip-remove svg[b-qbf681nyw7] {
        width: 14px;
        height: 14px;
    }
}

.search-hints[b-qbf681nyw7] {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hint-tag[b-qbf681nyw7] {
    padding: 0.5rem 0.85rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    font-family: inherit;
    min-height: 44px; /* WCAG touch target minimum */
    display: inline-flex;
    align-items: center;
}

.hint-tag:hover[b-qbf681nyw7] {
    background: var(--purple);
    color: white;
    border-color: var(--purple);
}

/* Chat Toggle */
.chat-toggle[b-qbf681nyw7] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: var(--purple);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

.chat-toggle:hover[b-qbf681nyw7] {
    opacity: 0.8;
}

.chat-toggle svg[b-qbf681nyw7] {
    width: 18px;
    height: 18px;
}

/* Advanced Search Toggle */
.advanced-toggle[b-qbf681nyw7] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: color 0.2s;
    font-family: inherit;
}

.advanced-toggle:hover[b-qbf681nyw7] {
    color: var(--text-secondary);
}

.advanced-toggle svg[b-qbf681nyw7] {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.advanced-toggle svg.rotated[b-qbf681nyw7] {
    transform: rotate(180deg);
}

/* Advanced Search Panel */
.advanced-search-panel[b-qbf681nyw7] {
    background: var(--white);
    padding: 2rem 0;
    border-bottom: 1px solid var(--gray-100);
    animation: slideDown 0.3s ease;
}

@@keyframes slideDown {
    from[b-qbf681nyw7] { opacity: 0; transform: translateY(-10px); }
    to[b-qbf681nyw7] { opacity: 1; transform: translateY(0); }
}

.advanced-search-panel .container[b-qbf681nyw7] {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.advanced-search-grid[b-qbf681nyw7] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1.5rem; /* Fallback for older browsers */
    gap: 1.5rem;
}

.form-group[b-qbf681nyw7] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label[b-qbf681nyw7] {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.form-group small[b-qbf681nyw7] {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Checkbox group styling */
.form-check-group[b-qbf681nyw7] {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
}

.form-check-label[b-qbf681nyw7] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.form-check-input[b-qbf681nyw7] {
    width: 18px;
    height: 18px;
    accent-color: var(--purple);
    cursor: pointer;
}

.form-check-group small[b-qbf681nyw7] {
    width: 100%;
    margin-top: 0.25rem;
}

.form-input[b-qbf681nyw7] {
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-input:focus[b-qbf681nyw7] {
    outline: none;
    border-color: var(--purple);
}

.form-input[multiple][b-qbf681nyw7] {
    min-height: 100px;
}

.form-range[b-qbf681nyw7] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

/* Webkit browsers (Chrome, Safari, Edge) - Thumb */
.form-range[b-qbf681nyw7]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--purple);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-range[b-qbf681nyw7]::-webkit-slider-thumb:hover {
    background: var(--purple-dark);
    transform: scale(1.1);
}

/* Firefox - Thumb */
.form-range[b-qbf681nyw7]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--purple);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-range[b-qbf681nyw7]::-moz-range-thumb:hover {
    background: var(--purple-dark);
    transform: scale(1.1);
}

/* Firefox - Track */
.form-range[b-qbf681nyw7]::-moz-range-track {
    background: var(--gray-200);
    border-radius: 3px;
    height: 6px;
}

/* Focus states for accessibility */
.form-range:focus[b-qbf681nyw7] {
    outline: 2px solid var(--purple-light);
    outline-offset: 2px;
}

.form-range:focus[b-qbf681nyw7]::-webkit-slider-thumb {
    box-shadow: 0 0 0 3px rgba(91, 82, 188, 0.2);
}

.form-range:focus[b-qbf681nyw7]::-moz-range-thumb {
    box-shadow: 0 0 0 3px rgba(91, 82, 188, 0.2);
}

.advanced-search-actions[b-qbf681nyw7] {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-reset[b-qbf681nyw7] {
    padding: 0.65rem 1.4rem;
    background: var(--gray-100);
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.btn-reset:hover[b-qbf681nyw7] {
    background: var(--gray-200);
}

.btn-search[b-qbf681nyw7] {
    padding: 0.65rem 1.4rem;
    background: var(--purple);
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.btn-search:hover[b-qbf681nyw7] {
    background: var(--purple-dark);
    transform: translateY(-1px);
}

/* Search Results Section */
.search-results[b-qbf681nyw7] {
    padding: 3rem 0;
    background: var(--gray-50);
}

.search-results .container[b-qbf681nyw7],
.search-results .results-container[b-qbf681nyw7] {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

.results-header[b-qbf681nyw7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.results-header-content[b-qbf681nyw7] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.results-icon[b-qbf681nyw7] {
    width: 48px;
    height: 48px;
}

.results-header h3[b-qbf681nyw7] {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.results-count[b-qbf681nyw7] {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.results-header-left[b-qbf681nyw7] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.results-header-right[b-qbf681nyw7] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.sort-dropdown[b-qbf681nyw7] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-dropdown label[b-qbf681nyw7] {
    font-size: 0.9rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.sort-dropdown select[b-qbf681nyw7] {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    font-family: inherit;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-surface);
    color: var(--text-primary);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sort-dropdown select:hover[b-qbf681nyw7] {
    border-color: var(--primary-color);
}

.sort-dropdown select:focus[b-qbf681nyw7] {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 134, 117, 0.2);
}

.refine-search-btn[b-qbf681nyw7] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    border: none;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(91, 82, 188, 0.25);
}

.refine-search-btn svg[b-qbf681nyw7] {
    width: 18px;
    height: 18px;
    stroke: white;
}

.refine-search-btn:hover[b-qbf681nyw7] {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(91, 82, 188, 0.35);
}

.refine-search-btn:active[b-qbf681nyw7] {
    transform: translateY(0);
}

@@media (max-width: 480px) {
    .refine-search-btn span[b-qbf681nyw7] {
        display: none;
    }

    .refine-search-btn[b-qbf681nyw7] {
        padding: 0.6rem;
        border-radius: 50%;
    }
}

.btn-clear[b-qbf681nyw7] {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.btn-clear:hover[b-qbf681nyw7] {
    background: var(--gray-100);
}

/* Loading Container */
.loading-container[b-qbf681nyw7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

.loading-spinner[b-qbf681nyw7] {
    position: relative;
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.spinner-ring[b-qbf681nyw7] {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--purple);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

.spinner-ring:nth-child(2)[b-qbf681nyw7] {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-top-color: var(--coral);
    animation-delay: -0.4s;
}

.spinner-ring:nth-child(3)[b-qbf681nyw7] {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-top-color: var(--purple-light);
    animation-delay: -0.8s;
}

@@keyframes spin {
    0%[b-qbf681nyw7] { transform: rotate(0deg); }
    100%[b-qbf681nyw7] { transform: rotate(360deg); }
}

.loading-container p[b-qbf681nyw7] {
    color: var(--text-muted);
    font-weight: 500;
}

/* Recipe Masonry Grid - CSS Columns for masonry effect with variable heights */
/* Using higher specificity to override global app.css */
.chefly-search-page .masonry-grid[b-qbf681nyw7] {
    columns: 4 !important;
    column-count: 4 !important;
    column-gap: 1.25rem !important;
    padding: 0;
    margin: 0;
}

.masonry-item[b-qbf681nyw7] {
    display: inline-block;
    margin-bottom: 1.25rem;
    width: 100%;
    break-inside: avoid;
}

/* RecipeCard styling for search results - using ::deep for child component */
[b-qbf681nyw7] .search-result-card {
    background: #ffffff !important;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    opacity: 1 !important;
    visibility: visible !important;
    border: none;
    padding: 0;
}

[b-qbf681nyw7] .search-result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Variable height images based on content */
[b-qbf681nyw7] .search-result-card img {
    width: 100%;
    height: auto;
    min-height: 140px;
    max-height: 220px;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
}

[b-qbf681nyw7] .search-result-card .recipe-card-content {
    padding: 1rem 1.25rem;
    background: #ffffff;
}

[b-qbf681nyw7] .search-result-card .recipe-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2d2b4a;
    margin: 0 0 0.35rem 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

[b-qbf681nyw7] .search-result-card .recipe-source {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: #eeedf8;
    color: #5b52bc;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

[b-qbf681nyw7] .search-result-card .recipe-meta {
    display: flex;
    gap: 0.75rem;
    color: #9794b8;
    font-size: 0.8rem;
    font-weight: 600;
    flex-wrap: wrap;
}

[b-qbf681nyw7] .search-result-card .recipe-description {
    font-size: 0.85rem;
    color: #5d5a7a;
    margin: 0.5rem 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

/* Rating overlay styling - dark translucent background for visibility */
[b-qbf681nyw7] .search-result-card .rating-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 9;
    background: rgba(0, 0, 0, 0.7);
    padding: 4px 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Ensure stars and text are visible on dark background */
[b-qbf681nyw7] .search-result-card .rating-overlay .star-rating {
    color: #ffc107;
}

[b-qbf681nyw7] .search-result-card .rating-overlay .ratings-count,
[b-qbf681nyw7] .search-result-card .rating-overlay span {
    color: rgba(255, 255, 255, 0.9);
}

/* Save icon styling for search results */
[b-qbf681nyw7] .search-result-card .save-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,0.95);
    color: #5b52bc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,.15);
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    opacity: 0;
}

[b-qbf681nyw7] .search-result-card:hover .save-icon {
    opacity: 1;
}

[b-qbf681nyw7] .search-result-card .save-icon:hover {
    background: #5b52bc;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(91, 82, 188, 0.4);
}

/* Cart icon styling for search results */
[b-qbf681nyw7] .search-result-card .cart-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: rgba(76, 175, 80, 0.95);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,.15);
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    opacity: 0;
}

[b-qbf681nyw7] .search-result-card:hover .cart-icon {
    opacity: 1;
}

[b-qbf681nyw7] .search-result-card .cart-icon:hover {
    background: rgba(76, 175, 80, 1);
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.4);
}

/* Hover overlay styling */
[b-qbf681nyw7] .search-result-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 5;
    overflow-y: auto;
    padding: 1rem;
    border-radius: 16px;
}

[b-qbf681nyw7] .search-result-card:hover .overlay {
    opacity: 1;
    pointer-events: auto;
}

[b-qbf681nyw7] .search-result-card .overlay-content {
    font-size: 0.85rem;
}

[b-qbf681nyw7] .search-result-card .overlay-content h6 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2d2b4a;
}

[b-qbf681nyw7] .search-result-card .overlay-content p {
    margin-bottom: 1rem;
    color: #5d5a7a;
    line-height: 1.5;
}

[b-qbf681nyw7] .search-result-card .overlay-content ul,
[b-qbf681nyw7] .search-result-card .overlay-content ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

[b-qbf681nyw7] .search-result-card .overlay-content li {
    margin-bottom: 0.25rem;
    color: #5d5a7a;
    font-size: 0.8rem;
}

/* Match badge for chat suggestions */
[b-qbf681nyw7] .match-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
    z-index: 5;
}

/* Legacy recipe-card-modern styles for chat suggestions */
[b-qbf681nyw7] .recipe-card-modern {
    background: #ffffff !important;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    opacity: 1 !important;
    visibility: visible !important;
}

[b-qbf681nyw7] .recipe-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

[b-qbf681nyw7] .recipe-image {
    height: 140px;
    background: linear-gradient(135deg, #eeedf8, #ffebe8);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

[b-qbf681nyw7] .recipe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

[b-qbf681nyw7] .recipe-image.placeholder {
    background: linear-gradient(135deg, #eeedf8, #ffebe8);
}

[b-qbf681nyw7] .recipe-image .emoji {
    font-size: 3rem;
}

[b-qbf681nyw7] .recipe-content {
    padding: 1rem 1.25rem;
    background: #ffffff;
}

[b-qbf681nyw7] .recipe-tag {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: #eeedf8;
    color: #5b52bc;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

[b-qbf681nyw7] .recipe-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2d2b4a;
    margin: 0 0 0.35rem 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

[b-qbf681nyw7] .recipe-meta {
    display: flex;
    gap: 0.75rem;
    color: #9794b8;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Recipe Actions for chat suggestions */
[b-qbf681nyw7] .recipe-actions {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

[b-qbf681nyw7] .recipe-card-modern:hover .recipe-actions {
    opacity: 1;
}

[b-qbf681nyw7] .action-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

[b-qbf681nyw7] .action-btn svg {
    width: 16px;
    height: 16px;
}

[b-qbf681nyw7] .action-btn.save {
    background: rgba(255, 255, 255, 0.95);
    color: #5b52bc;
}

[b-qbf681nyw7] .action-btn.save:hover {
    background: #5b52bc;
    color: white;
}

[b-qbf681nyw7] .action-btn.save:hover svg {
    stroke: white;
}

[b-qbf681nyw7] .action-btn.search {
    background: rgba(255, 255, 255, 0.95);
    color: #5d5a7a;
}

[b-qbf681nyw7] .action-btn.search:hover {
    background: #eeedf8;
    color: #5b52bc;
}

[b-qbf681nyw7] .action-btn.cart {
    background: rgba(76, 175, 80, 0.95);
    color: white;
}

[b-qbf681nyw7] .action-btn.cart:hover {
    background: #4caf50;
    transform: scale(1.05);
}

/* Pagination */
.pagination[b-qbf681nyw7] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.page-btn[b-qbf681nyw7] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.page-btn:hover:not(:disabled)[b-qbf681nyw7] {
    background: var(--purple);
    color: white;
    border-color: var(--purple);
}

.page-btn:hover:not(:disabled) svg[b-qbf681nyw7] {
    stroke: white;
}

.page-btn:disabled[b-qbf681nyw7] {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-btn svg[b-qbf681nyw7] {
    width: 16px;
    height: 16px;
}

.page-info[b-qbf681nyw7] {
    font-weight: 600;
    color: var(--text-secondary);
}

/* Features Section */
.features[b-qbf681nyw7] {
    padding: 5rem 6%;
    background: var(--white);
}

.section-header[b-qbf681nyw7] {
    text-align: center;
    max-width: 500px;
    margin: 0 auto 3.5rem;
}

.section-label[b-qbf681nyw7] {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--coral);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.section-title[b-qbf681nyw7] {
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.features-grid[b-qbf681nyw7] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1.25rem; /* Fallback for older browsers */
    gap: 1.25rem;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1rem;
}

[b-qbf681nyw7] .feature-card {
    background: #f8f7fc;
    border-radius: 16px;
    padding: 1.75rem;
    transition: transform 0.2s ease;
    opacity: 1 !important;
    visibility: visible !important;
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
}

[b-qbf681nyw7] .feature-card:hover {
    transform: translateY(-3px);
}

[b-qbf681nyw7] .feature-icon {
    width: 44px;
    height: 44px;
    background: #eeedf8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

[b-qbf681nyw7] .feature-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.4rem 0;
    color: #2d2b4a;
}

[b-qbf681nyw7] .feature-desc {
    font-size: 0.9rem;
    color: #5d5a7a;
    line-height: 1.55;
    margin: 0;
}

/* Popular Recipes Section */
.recipes[b-qbf681nyw7] {
    padding: 5rem 6%;
    background: var(--gray-50);
}

.popular-recipe-grid[b-qbf681nyw7] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 1.25rem; /* Fallback for older browsers */
    gap: 1.25rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

[b-qbf681nyw7] .popular-recipe-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s ease;
    cursor: pointer;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

[b-qbf681nyw7] .popular-recipe-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

[b-qbf681nyw7] .popular-recipe-image {
    height: 140px;
    background: linear-gradient(135deg, #eeedf8, #ffebe8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

[b-qbf681nyw7] .popular-recipe-content {
    padding: 1rem 1.25rem;
    background: #ffffff;
}

[b-qbf681nyw7] .popular-recipe-tag {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: #eeedf8;
    color: #5b52bc;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

[b-qbf681nyw7] .popular-recipe-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2d2b4a;
    margin: 0 0 0.35rem 0;
}

[b-qbf681nyw7] .popular-recipe-meta {
    display: flex;
    gap: 0.75rem;
    color: #9794b8;
    font-size: 0.8rem;
    font-weight: 600;
}

/* CTA Section */
.cta[b-qbf681nyw7] {
    padding: 5rem 6%;
    background: var(--purple);
    text-align: center;
}

.cta-content[b-qbf681nyw7] {
    max-width: 480px;
    margin: 0 auto;
}

.cta h2[b-qbf681nyw7] {
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 800;
    color: white;
    margin: 0 0 0.75rem 0;
}

.cta p[b-qbf681nyw7] {
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 1.75rem 0;
    font-size: 1rem;
    font-weight: 500;
}

.cta-btn[b-qbf681nyw7] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--purple);
    padding: 0.9rem 1.75rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cta-btn:hover[b-qbf681nyw7] {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Footer */
.site-footer[b-qbf681nyw7] {
    background: #2d2b4a;
    color: #fdfcfa;
    padding: 3.5rem 6% 1.5rem;
}

.footer-content[b-qbf681nyw7] {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    grid-gap: 2.5rem;
    gap: 2.5rem;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1rem 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand[b-qbf681nyw7] {
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
}

.footer-logo[b-qbf681nyw7] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.footer-logo-icon[b-qbf681nyw7] {
    width: 38px;
    height: 38px;
}

.footer-logo-icon svg[b-qbf681nyw7] {
    width: 100%;
    height: 100%;
}

.footer-logo-text[b-qbf681nyw7] {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fdfcfa;
    letter-spacing: -0.02em;
}

.footer-desc[b-qbf681nyw7] {
    color: rgba(253, 252, 250, 0.6);
    font-size: 0.9rem;
    margin-top: 0.75rem;
    max-width: 260px;
    line-height: 1.6;
}

.footer-column[b-qbf681nyw7] {
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
}

.footer-column h4[b-qbf681nyw7] {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fdfcfa;
}

.footer-column ul[b-qbf681nyw7] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li[b-qbf681nyw7] {
    margin-bottom: 0.5rem;
}

.footer-column a[b-qbf681nyw7] {
    color: rgba(253, 252, 250, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    min-height: 44px; /* WCAG touch target minimum */
    padding: 0.5rem 0;
}

.footer-column a:hover[b-qbf681nyw7] {
    color: #ff8675;
}

.footer-bottom[b-qbf681nyw7] {
    max-width: 960px;
    margin: 0 auto;
    padding-top: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(253, 252, 250, 0.4);
    font-size: 0.8rem;
}

/* Responsive Styles */
@@media (max-width: 1024px) {
    .chefly-search-page .masonry-grid[b-qbf681nyw7] {
        columns: 3 !important;
        column-count: 3 !important;
    }

    .popular-recipe-grid[b-qbf681nyw7] {
        grid-template-columns: repeat(3, 1fr);
    }
}

@@media (max-width: 900px) {
    .features-grid[b-qbf681nyw7] {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 0.5rem;
    }

    .chefly-search-page .masonry-grid[b-qbf681nyw7] {
        columns: 2 !important;
        column-count: 2 !important;
    }

    .popular-recipe-grid[b-qbf681nyw7] {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 0.5rem;
    }

    .advanced-search-grid[b-qbf681nyw7] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@@media (max-width: 768px) {
    .features-grid[b-qbf681nyw7] {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 0.5rem;
        gap: 1rem;
    }

    .chefly-search-page .masonry-grid[b-qbf681nyw7] {
        columns: 2 !important;
        column-count: 2 !important;
    }

    .popular-recipe-grid[b-qbf681nyw7] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@@media (max-width: 640px) {
    .hero[b-qbf681nyw7] {
        min-height: auto;
        padding: 5rem 5% 3rem;
    }

    .hero h1[b-qbf681nyw7] {
        font-size: 1.8rem;
    }

    .hero-subtitle[b-qbf681nyw7] {
        font-size: 1rem;
    }

    .search-hints[b-qbf681nyw7] {
        gap: 0.4rem;
    }

    /* Minimum touch targets for mobile - 44px WCAG compliance */
    .hint-tag[b-qbf681nyw7],
    .popular-tag[b-qbf681nyw7],
    .advanced-toggle[b-qbf681nyw7] {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        padding: 0.5rem 0.85rem;
        font-size: 0.85rem;
    }

    .search-btn[b-qbf681nyw7],
    .voice-btn[b-qbf681nyw7] {
        min-width: 44px;
        min-height: 44px;
    }

    .btn-reset[b-qbf681nyw7],
    .btn-search[b-qbf681nyw7],
    .btn-clear[b-qbf681nyw7],
    .page-btn[b-qbf681nyw7] {
        min-height: 44px;
    }

    .features-grid[b-qbf681nyw7] {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1rem;
        gap: 0.75rem;
    }

    .popular-recipe-grid[b-qbf681nyw7] {
        padding: 0 1rem;
    }

    .chefly-search-page .masonry-grid[b-qbf681nyw7] {
        columns: 2 !important;
        column-count: 2 !important;
    }

    .popular-recipe-grid[b-qbf681nyw7] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .advanced-search-grid[b-qbf681nyw7] {
        grid-template-columns: 1fr !important;
    }

    .features[b-qbf681nyw7] {
        padding: 3rem 5%;
    }

    .recipes[b-qbf681nyw7] {
        padding: 3rem 5%;
    }

    .cta[b-qbf681nyw7] {
        padding: 3rem 5%;
    }

    [b-qbf681nyw7] .recipe-actions {
        opacity: 1;
    }

    /* Show action buttons on mobile for search result cards */
    [b-qbf681nyw7] .search-result-card .save-icon,
    [b-qbf681nyw7] .search-result-card .cart-icon {
        opacity: 1;
    }

    /* Disable hover overlay on mobile - use modal instead */
    [b-qbf681nyw7] .search-result-card .overlay {
        display: none;
    }

    .page-btn[b-qbf681nyw7] {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }

    /* Footer: switch to stacked layout with horizontal links */
    .footer-content[b-qbf681nyw7] {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 1rem 2rem;
    }

    .footer-column ul[b-qbf681nyw7] {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem 1rem;
    }

    .footer-column li[b-qbf681nyw7] {
        margin: 0;
    }

    .footer-column li[b-qbf681nyw7]::after {
        content: "•";
        margin-left: 1rem;
        color: rgba(255, 255, 255, 0.3);
    }

    .footer-column li:last-child[b-qbf681nyw7]::after {
        content: "";
        margin-left: 0;
    }

    .footer-bottom[b-qbf681nyw7] {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0 1rem;
    }
}

/* Small mobile phones (under 480px) - single column */
@@media (max-width: 480px) {
    .features-grid[b-qbf681nyw7] {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 1rem;
    }

    [b-qbf681nyw7] .feature-card {
        padding: 1.5rem;
    }

    .chefly-search-page .masonry-grid[b-qbf681nyw7] {
        columns: 1 !important;
        column-count: 1 !important;
    }

    .popular-recipe-grid[b-qbf681nyw7] {
        grid-template-columns: 1fr !important;
        padding: 0 1rem;
    }

    .footer-logo-text[b-qbf681nyw7] {
        font-size: 1.3rem;
    }
}

/* Recipe cards - ensure visibility (using ::deep for dynamic content) */
[b-qbf681nyw7] .feature-card,
[b-qbf681nyw7] .recipe-card-modern,
[b-qbf681nyw7] .popular-recipe-card,
[b-qbf681nyw7] .search-result-card {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0);
}

/* Touch device optimizations */
@@media (hover: none) and (pointer: coarse) {
    [b-qbf681nyw7] .recipe-actions {
        opacity: 1;
        gap: 8px;
    }

    [b-qbf681nyw7] .action-btn {
        width: 44px; /* Minimum touch target per WCAG */
        height: 44px;
    }

    [b-qbf681nyw7] .action-btn svg {
        width: 22px;
        height: 22px;
    }

    /* Show action buttons on touch devices */
    [b-qbf681nyw7] .search-result-card .save-icon,
    [b-qbf681nyw7] .search-result-card .cart-icon {
        opacity: 1;
        width: 44px;
        height: 44px;
    }

    [b-qbf681nyw7] .search-result-card .save-icon svg,
    [b-qbf681nyw7] .search-result-card .cart-icon svg {
        width: 22px;
        height: 22px;
    }

    /* Disable hover overlay on touch devices */
    [b-qbf681nyw7] .search-result-card .overlay {
        display: none;
    }

    .hint-tag[b-qbf681nyw7],
    .popular-tag[b-qbf681nyw7],
    .advanced-toggle[b-qbf681nyw7] {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .search-btn[b-qbf681nyw7],
    .voice-btn[b-qbf681nyw7] {
        min-width: 44px;
        min-height: 44px;
    }

    .btn-reset[b-qbf681nyw7],
    .btn-search[b-qbf681nyw7],
    .btn-clear[b-qbf681nyw7],
    .page-btn[b-qbf681nyw7] {
        min-height: 44px;
    }

    .hint-tag:active[b-qbf681nyw7],
    .popular-tag:active[b-qbf681nyw7],
    .advanced-toggle:active[b-qbf681nyw7] {
        background: #5b52bc;
        color: white;
        border-color: #5b52bc;
        transform: scale(0.95);
    }

    [b-qbf681nyw7] .action-btn:active {
        transform: scale(0.9);
    }

    [b-qbf681nyw7] .search-result-card .save-icon:active,
    [b-qbf681nyw7] .search-result-card .cart-icon:active {
        transform: scale(0.9);
    }

    [b-qbf681nyw7] .feature-card:active,
    [b-qbf681nyw7] .recipe-card-modern:active,
    [b-qbf681nyw7] .popular-recipe-card:active,
    [b-qbf681nyw7] .search-result-card:active {
        transform: translateY(-2px);
    }
}

/* Reduced motion preference */
@@media (prefers-reduced-motion: reduce) {
    *[b-qbf681nyw7],
    *[b-qbf681nyw7]::before,
    *[b-qbf681nyw7]::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-content[b-qbf681nyw7],
    [b-qbf681nyw7] .recipe-card-modern,
    [b-qbf681nyw7] .feature-card,
    [b-qbf681nyw7] .popular-recipe-card {
        animation: none;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none;
    }
}

/* Keyboard focus styles */
*:focus-visible[b-qbf681nyw7] {
    outline: 2px solid #5b52bc;
    outline-offset: 2px;
}

[b-qbf681nyw7] .recipe-card-modern:focus-visible {
    outline: 3px solid #5b52bc;
    outline-offset: 4px;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(91, 82, 188, 0.2);
}

/* iOS Safe Area support */
@@supports (padding: max(0px)) {
    .hero[b-qbf681nyw7] {
        padding-left: max(6%, env(safe-area-inset-left));
        padding-right: max(6%, env(safe-area-inset-right));
    }
}
