/* /Components/Common/AddSiteModal.razor.rz.scp.css */
.modal-overlay[b-1rzh25bugm] {
    position: fixed;
    inset: 0;
    background: var(--modal-backdrop);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-container[b-1rzh25bugm] {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal-header[b-1rzh25bugm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h2[b-1rzh25bugm] {
    margin: 0;
    font-size: 1.25rem;
    color: #1a1a2e;
}

.close-btn[b-1rzh25bugm] {
    background: none;
    border: none;
    cursor: pointer;
    color: #718096;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 0.2s;
}

.close-btn:hover[b-1rzh25bugm] {
    background: #f7fafc;
    color: #2d3748;
}

.modal-body[b-1rzh25bugm] {
    padding: 1.5rem;
    overflow-y: auto;
}

.form-group[b-1rzh25bugm] {
    margin-bottom: 1.25rem;
}

.form-group label[b-1rzh25bugm] {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.375rem;
}

.required[b-1rzh25bugm] {
    color: #e53e3e;
}

.form-input[b-1rzh25bugm] {
    width: 100%;
    min-height: 44px;
    padding: 0.5rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 16px;
    color: #2d3748;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.form-input:focus[b-1rzh25bugm] {
    outline: none;
    border-color: #4a90d9;
    box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.15);
}

.form-input:disabled[b-1rzh25bugm] {
    background: #f7fafc;
    color: #a0aec0;
}

.form-input-readonly[b-1rzh25bugm] {
    background: #f7fafc;
    color: #718096;
    cursor: not-allowed;
}

.form-input-narrow[b-1rzh25bugm] {
    max-width: 140px;
}

.input-error[b-1rzh25bugm] {
    border-color: #e53e3e;
}

.input-error:focus[b-1rzh25bugm] {
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.15);
}

.validation-error[b-1rzh25bugm] {
    display: block;
    font-size: 0.8rem;
    color: #e53e3e;
    margin-top: 0.25rem;
}

.alert[b-1rzh25bugm] {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.alert-error[b-1rzh25bugm] {
    background: #fff5f5;
    color: #c53030;
    border: 1px solid #feb2b2;
}

.form-actions[b-1rzh25bugm] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

.btn[b-1rzh25bugm] {
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: opacity 0.2s, background 0.2s;
}

.btn:disabled[b-1rzh25bugm] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-secondary[b-1rzh25bugm] {
    background: #e2e8f0;
    color: #4a5568;
}

.btn-secondary:hover:not(:disabled)[b-1rzh25bugm] {
    background: #cbd5e0;
}

.btn-success[b-1rzh25bugm] {
    background: #48bb78;
    color: white;
}

.btn-success:hover:not(:disabled)[b-1rzh25bugm] {
    background: #38a169;
}

.spinner[b-1rzh25bugm] {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.success-message[b-1rzh25bugm] {
    text-align: center;
    padding: 2rem 1rem;
}

.success-message p[b-1rzh25bugm] {
    font-size: 1.1rem;
    color: #276749;
    margin-top: 1rem;
}

@@keyframes spin {
    to[b-1rzh25bugm] { transform: rotate(360deg); }
}

@@media (max-width: 767px) {
    .modal-container[b-1rzh25bugm] {
        max-width: 100%;
        max-height: 100%;
        height: 100%;
        border-radius: 0;
    }

    .form-actions[b-1rzh25bugm] {
        flex-direction: column-reverse;
    }

    .form-actions .btn[b-1rzh25bugm] {
        width: 100%;
        justify-content: center;
    }

    .form-input-narrow[b-1rzh25bugm] {
        max-width: 100%;
    }
}

/* Dark mode support */
:global([data-theme='dark']) .modal-container[b-1rzh25bugm] {
    background: var(--surface-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

:global([data-theme='dark']) .modal-header[b-1rzh25bugm] {
    border-color: var(--border-color);
}

:global([data-theme='dark']) .modal-header h2[b-1rzh25bugm] {
    color: var(--text-primary);
}

:global([data-theme='dark']) .close-btn[b-1rzh25bugm] {
    color: var(--text-secondary);
}

:global([data-theme='dark']) .close-btn:hover[b-1rzh25bugm] {
    background: var(--dropdown-hover-bg);
    color: var(--text-primary);
}

:global([data-theme='dark']) .form-group label[b-1rzh25bugm] {
    color: var(--text-secondary);
}

:global([data-theme='dark']) .form-input[b-1rzh25bugm] {
    background: var(--dropdown-bg);
    border-color: var(--border-color);
    color: var(--text-primary);
}

:global([data-theme='dark']) .form-input:focus[b-1rzh25bugm] {
    border-color: #4a90d9;
}

:global([data-theme='dark']) .form-input:disabled[b-1rzh25bugm] {
    background: var(--dropdown-hover-bg);
    color: var(--text-secondary);
}

:global([data-theme='dark']) .form-input-readonly[b-1rzh25bugm] {
    background: var(--dropdown-hover-bg);
    color: var(--text-secondary);
}

:global([data-theme='dark']) .alert-error[b-1rzh25bugm] {
    background: rgba(77, 30, 36, 0.5);
    color: #f06b7a;
    border-color: rgba(240, 107, 122, 0.3);
}

:global([data-theme='dark']) .btn-secondary[b-1rzh25bugm] {
    background: var(--dropdown-bg);
    color: var(--text-primary);
}

:global([data-theme='dark']) .btn-secondary:hover:not(:disabled)[b-1rzh25bugm] {
    background: var(--dropdown-hover-bg);
}

:global([data-theme='dark']) .success-message p[b-1rzh25bugm] {
    color: #4cce5f;
}
/* /Components/Common/AdminNav.razor.rz.scp.css */
.admin-nav[b-0m3eau2w1h] {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-color, #e0e0e0);
    padding-bottom: 12px;
}

.admin-nav[b-0m3eau2w1h]  .nav-item {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-muted, #666);
    font-weight: 500;
    transition: all 0.2s;
}

.admin-nav[b-0m3eau2w1h]  .nav-item:hover {
    background: var(--bg-hover, #f0f0f0);
    color: var(--text-color, #1a1a1a);
}

.admin-nav[b-0m3eau2w1h]  .nav-item.active {
    background: var(--primary-color, #2563eb);
    color: white;
}
/* /Components/Common/ForkAttribution.razor.rz.scp.css */
.fork-attribution[b-tfihmyurnj] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(74, 93, 201, 0.08) 100%);
    border-radius: 8px;
    border-left: 3px solid #667eea;
    font-size: 0.9rem;
    color: var(--text-secondary, #666);
}

.fork-attribution.compact[b-tfihmyurnj] {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    gap: 0.4rem;
}

.fork-icon[b-tfihmyurnj] {
    flex-shrink: 0;
    color: #667eea;
    margin-top: 0.15rem;
}

.fork-details[b-tfihmyurnj] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    line-height: 1.4;
}

.fork-label[b-tfihmyurnj] {
    color: var(--text-muted, #888);
}

.fork-link[b-tfihmyurnj] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.fork-link:hover[b-tfihmyurnj] {
    color: #4a5dc9;
    text-decoration: underline;
}

.fork-link.deleted[b-tfihmyurnj] {
    color: var(--text-muted, #888);
    cursor: default;
    font-style: italic;
}

.fork-link.deleted:hover[b-tfihmyurnj] {
    text-decoration: none;
}

.fork-link.original[b-tfihmyurnj] {
    font-weight: 400;
}

.author-avatar[b-tfihmyurnj] {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.compact .author-avatar[b-tfihmyurnj] {
    width: 16px;
    height: 16px;
}

.recipe-title[b-tfihmyurnj] {
    font-weight: 500;
}

.deleted-badge[b-tfihmyurnj] {
    font-size: 0.8em;
    color: var(--text-muted, #888);
    font-style: italic;
}

.originally-by[b-tfihmyurnj] {
    color: var(--text-muted, #888);
    font-size: 0.9em;
}

.originally-by.deleted[b-tfihmyurnj] {
    font-style: italic;
}

.fork-date[b-tfihmyurnj] {
    color: var(--text-muted, #888);
    font-size: 0.85em;
}

/* Dark mode support */
[data-theme='dark'] .fork-attribution[b-tfihmyurnj] {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(74, 93, 201, 0.15) 100%);
}

[data-theme='dark'] .fork-link[b-tfihmyurnj] {
    color: #8b9ef5;
}

[data-theme='dark'] .fork-link:hover[b-tfihmyurnj] {
    color: #a5b4f8;
}

/* Mobile responsive */
@@media (max-width: 576px) {
    .fork-attribution[b-tfihmyurnj] {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .fork-details[b-tfihmyurnj] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.15rem;
    }

    .originally-by[b-tfihmyurnj] {
        font-size: 0.85em;
    }
}
/* /Components/Common/ForkButton.razor.rz.scp.css */
.fork-btn[b-e650gum0gd] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #4a9c6d 0%, #2d7a4f 100%);
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.fork-btn:hover:not(:disabled)[b-e650gum0gd] {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #5aac7d 0%, #3d8a5f 100%);
}

.fork-btn:active:not(:disabled)[b-e650gum0gd] {
    transform: translateY(0);
}

.fork-btn:disabled[b-e650gum0gd] {
    opacity: 0.6;
    cursor: not-allowed;
}

.fork-btn.forked[b-e650gum0gd] {
    background: linear-gradient(135deg, #667eea 0%, #4a5dc9 100%);
}

.fork-btn.forked:hover:not(:disabled)[b-e650gum0gd] {
    background: linear-gradient(135deg, #768efa 0%, #5a6dd9 100%);
}

.fork-btn.disabled[b-e650gum0gd] {
    background: #6c757d;
    opacity: 0.6;
}

.fork-btn-group[b-e650gum0gd] {
    display: inline-flex;
    gap: 0.25rem;
}

.fork-another[b-e650gum0gd] {
    padding: 0.5rem 0.6rem;
    border-radius: 0 8px 8px 0;
    background: linear-gradient(135deg, #5a6dd9 0%, #4a5dc9 100%);
}

.fork-another:hover:not(:disabled)[b-e650gum0gd] {
    background: linear-gradient(135deg, #6a7de9 0%, #5a6dd9 100%);
}

.fork-btn-group .forked[b-e650gum0gd] {
    border-radius: 8px 0 0 8px;
}

.btn-text[b-e650gum0gd] {
    white-space: nowrap;
}

.spinner-border-sm[b-e650gum0gd] {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Icon-only variant for compact displays */
.fork-btn.icon-only[b-e650gum0gd] {
    padding: 0.5rem;
    min-width: auto;
}

.fork-btn.icon-only .btn-text[b-e650gum0gd] {
    display: none;
}

/* Small variant */
.fork-btn.btn-sm[b-e650gum0gd] {
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
}

.fork-btn.btn-sm svg[b-e650gum0gd] {
    width: 14px;
    height: 14px;
}

/* Large variant */
.fork-btn.btn-lg[b-e650gum0gd] {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.fork-btn.btn-lg svg[b-e650gum0gd] {
    width: 22px;
    height: 22px;
}

/* Outline variant */
.fork-btn.btn-outline[b-e650gum0gd] {
    background: transparent;
    border: 2px solid #4a9c6d;
    color: #4a9c6d;
}

.fork-btn.btn-outline:hover:not(:disabled)[b-e650gum0gd] {
    background: #4a9c6d;
    color: white;
}

.fork-btn.btn-outline.forked[b-e650gum0gd] {
    border-color: #667eea;
    color: #667eea;
}

.fork-btn.btn-outline.forked:hover:not(:disabled)[b-e650gum0gd] {
    background: #667eea;
    color: white;
}
/* /Components/Common/ForkStatsModal.razor.rz.scp.css */
.modal-backdrop[b-98uhsy32e3] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--modal-backdrop);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    animation: fadeIn 0.2s ease;
}

@@keyframes fadeIn {
    from[b-98uhsy32e3] { opacity: 0; }
    to[b-98uhsy32e3] { opacity: 1; }
}

.modal-content[b-98uhsy32e3] {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 480px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

@@keyframes slideUp {
    from[b-98uhsy32e3] {
        opacity: 0;
        transform: translateY(20px);
    }
    to[b-98uhsy32e3] {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header[b-98uhsy32e3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #eee;
}

.modal-title[b-98uhsy32e3] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.modal-title svg[b-98uhsy32e3] {
    color: #667eea;
}

.close-btn[b-98uhsy32e3] {
    background: none;
    border: none;
    padding: 0.25rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
}

.close-btn:hover[b-98uhsy32e3] {
    background: #f0f0f0;
    color: #333;
}

.modal-body[b-98uhsy32e3] {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

.loading-state[b-98uhsy32e3],
.empty-state[b-98uhsy32e3] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #666;
    text-align: center;
}

.loading-state p[b-98uhsy32e3],
.empty-state p[b-98uhsy32e3] {
    margin: 0.75rem 0 0.25rem;
    font-weight: 500;
}

.empty-hint[b-98uhsy32e3] {
    font-size: 0.9rem;
    color: #888;
}

.fork-list[b-98uhsy32e3] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fork-item[b-98uhsy32e3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    transition: background 0.2s ease;
}

.fork-item:hover[b-98uhsy32e3] {
    background: #f8f9fa;
}

.fork-item.private[b-98uhsy32e3] {
    opacity: 0.8;
}

.user-info[b-98uhsy32e3] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.avatar[b-98uhsy32e3] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar.placeholder[b-98uhsy32e3] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #4a5dc9 100%);
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
}

.avatar.anonymous[b-98uhsy32e3] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    color: #6c757d;
}

.user-details[b-98uhsy32e3] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.user-name[b-98uhsy32e3] {
    font-weight: 500;
    color: #333;
}

.user-name.anonymous[b-98uhsy32e3] {
    color: #6c757d;
    font-style: italic;
}

.fork-time[b-98uhsy32e3] {
    font-size: 0.8rem;
    color: #888;
}

.view-fork-btn[b-98uhsy32e3] {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: #667eea;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
}

.view-fork-btn:hover[b-98uhsy32e3] {
    background: rgba(102, 126, 234, 0.1);
    color: #4a5dc9;
}

.load-more[b-98uhsy32e3] {
    padding: 0.75rem 1.25rem;
    text-align: center;
}

.load-more-btn[b-98uhsy32e3] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    color: #333;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.load-more-btn:hover:not(:disabled)[b-98uhsy32e3] {
    background: #e9ecef;
}

.load-more-btn:disabled[b-98uhsy32e3] {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Mobile responsive */
@@media (max-width: 576px) {
    .modal-content[b-98uhsy32e3] {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }

    .modal-header[b-98uhsy32e3],
    .fork-item[b-98uhsy32e3] {
        padding: 0.75rem 1rem;
    }

    .avatar[b-98uhsy32e3] {
        width: 36px;
        height: 36px;
    }
}

/* Dark mode support */
:global([data-theme='dark']) .modal-content[b-98uhsy32e3] {
    background: var(--surface-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

:global([data-theme='dark']) .modal-header[b-98uhsy32e3] {
    border-color: var(--border-color);
}

:global([data-theme='dark']) .modal-title[b-98uhsy32e3] {
    color: var(--text-primary);
}

:global([data-theme='dark']) .close-btn[b-98uhsy32e3] {
    color: var(--text-secondary);
}

:global([data-theme='dark']) .close-btn:hover[b-98uhsy32e3] {
    background: var(--dropdown-hover-bg);
    color: var(--text-primary);
}

:global([data-theme='dark']) .loading-state[b-98uhsy32e3],
:global([data-theme='dark']) .empty-state[b-98uhsy32e3] {
    color: var(--text-secondary);
}

:global([data-theme='dark']) .empty-hint[b-98uhsy32e3] {
    color: var(--text-secondary);
}

:global([data-theme='dark']) .fork-item:hover[b-98uhsy32e3] {
    background: var(--dropdown-hover-bg);
}

:global([data-theme='dark']) .fork-item[b-98uhsy32e3] {
    border-color: var(--border-color);
}

:global([data-theme='dark']) .user-name[b-98uhsy32e3] {
    color: var(--text-primary);
}

:global([data-theme='dark']) .fork-time[b-98uhsy32e3] {
    color: var(--text-secondary);
}

:global([data-theme='dark']) .load-more-btn[b-98uhsy32e3] {
    background: var(--dropdown-bg);
    border-color: var(--border-color);
    color: var(--text-primary);
}

:global([data-theme='dark']) .load-more-btn:hover:not(:disabled)[b-98uhsy32e3] {
    background: var(--dropdown-hover-bg);
}
/* /Components/Common/NotificationDropdown.razor.rz.scp.css */
.notification-dropdown-container[b-tt04enxbff] {
    position: relative;
}

.notification-trigger[b-tt04enxbff] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    border-radius: 50%;
    color: inherit;
    cursor: pointer;
    transition: background 0.2s ease;
}

.notification-trigger:hover[b-tt04enxbff] {
    background: rgba(0, 0, 0, 0.05);
}

.notification-badge[b-tt04enxbff] {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #dc3545;
    border-radius: 9px;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
}

.notification-dropdown[b-tt04enxbff] {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 360px;
    max-height: 480px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    z-index: 1100;
    animation: dropdownIn 0.2s ease;
}

@@keyframes dropdownIn {
    from[b-tt04enxbff] {
        opacity: 0;
        transform: translateY(-10px);
    }
    to[b-tt04enxbff] {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-header[b-tt04enxbff] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #eee;
}

.dropdown-header h6[b-tt04enxbff] {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

.mark-all-read[b-tt04enxbff] {
    background: none;
    border: none;
    padding: 0;
    color: #667eea;
    font-size: 0.8rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.mark-all-read:hover[b-tt04enxbff] {
    color: #4a5dc9;
    text-decoration: underline;
}

.dropdown-body[b-tt04enxbff] {
    flex: 1;
    overflow-y: auto;
}

.loading-state[b-tt04enxbff],
.empty-state[b-tt04enxbff] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem;
    color: #888;
}

.notification-item[b-tt04enxbff] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
    position: relative;
}

.notification-item:hover[b-tt04enxbff] {
    background: #f8f9fa;
}

.notification-item.unread[b-tt04enxbff] {
    background: rgba(102, 126, 234, 0.05);
}

.notification-item.unread:hover[b-tt04enxbff] {
    background: rgba(102, 126, 234, 0.1);
}

.notification-icon[b-tt04enxbff] {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f0f0;
}

.icon-fork[b-tt04enxbff] { color: #667eea; }
.icon-suggestion[b-tt04enxbff] { color: #4a9c6d; }
.icon-accepted[b-tt04enxbff] { color: #28a745; }
.icon-declined[b-tt04enxbff] { color: #dc3545; }
.icon-default[b-tt04enxbff] { color: #6c757d; }

.notification-content[b-tt04enxbff] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.notification-title[b-tt04enxbff] {
    font-weight: 500;
    font-size: 0.9rem;
    color: #333;
}

.notification-message[b-tt04enxbff] {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notification-time[b-tt04enxbff] {
    font-size: 0.75rem;
    color: #888;
}

.unread-indicator[b-tt04enxbff] {
    width: 8px;
    height: 8px;
    background: #667eea;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}

.view-all[b-tt04enxbff] {
    padding: 0.75rem;
    text-align: center;
    border-top: 1px solid #eee;
}

.view-all button[b-tt04enxbff] {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    color: #667eea;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
}

.view-all button:hover[b-tt04enxbff] {
    color: #4a5dc9;
    text-decoration: underline;
}

.dropdown-backdrop[b-tt04enxbff] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
}

/* Mobile responsive */
@@media (max-width: 576px) {
    .notification-dropdown[b-tt04enxbff] {
        position: fixed;
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        max-height: 70vh;
        border-radius: 16px 16px 0 0;
    }
}

/* Dark mode support */
:global([data-theme='dark']) .notification-trigger:hover[b-tt04enxbff] {
    background: rgba(255, 255, 255, 0.1);
}

:global([data-theme='dark']) .notification-dropdown[b-tt04enxbff] {
    background: var(--dropdown-bg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

:global([data-theme='dark']) .dropdown-header[b-tt04enxbff] {
    border-color: var(--border-color);
}

:global([data-theme='dark']) .dropdown-header h6[b-tt04enxbff] {
    color: var(--text-primary);
}

:global([data-theme='dark']) .notification-item:hover[b-tt04enxbff] {
    background: var(--dropdown-hover-bg);
}

:global([data-theme='dark']) .notification-item.unread[b-tt04enxbff] {
    background: rgba(102, 126, 234, 0.1);
}

:global([data-theme='dark']) .notification-item.unread:hover[b-tt04enxbff] {
    background: rgba(102, 126, 234, 0.15);
}

:global([data-theme='dark']) .notification-icon[b-tt04enxbff] {
    background: var(--dropdown-hover-bg);
}

:global([data-theme='dark']) .notification-title[b-tt04enxbff] {
    color: var(--text-primary);
}

:global([data-theme='dark']) .notification-message[b-tt04enxbff] {
    color: var(--text-secondary);
}

:global([data-theme='dark']) .notification-time[b-tt04enxbff] {
    color: var(--text-muted);
}

:global([data-theme='dark']) .notification-badge[b-tt04enxbff] {
    background: var(--danger-color);
}

:global([data-theme='dark']) .loading-state[b-tt04enxbff],
:global([data-theme='dark']) .empty-state[b-tt04enxbff] {
    color: var(--text-muted);
}

:global([data-theme='dark']) .mark-all-read[b-tt04enxbff] {
    color: #8b9ef5;
}

:global([data-theme='dark']) .mark-all-read:hover[b-tt04enxbff] {
    color: #a4b3f7;
}

:global([data-theme='dark']) .view-all[b-tt04enxbff] {
    border-color: var(--border-color);
}

:global([data-theme='dark']) .view-all button[b-tt04enxbff] {
    color: #8b9ef5;
}

:global([data-theme='dark']) .view-all button:hover[b-tt04enxbff] {
    color: #a4b3f7;
}
/* /Components/Common/RecipeCard.razor.rz.scp.css */
.recipe-card[b-vvetc04hxo] {
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 2px var(--shadow-color);
    cursor: pointer;
    background: var(--bg-card);
    transition: box-shadow 0.2s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.recipe-card:hover[b-vvetc04hxo] {
    box-shadow: 0 4px 12px var(--card-hover-shadow);
}

.recipe-card img[b-vvetc04hxo] {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border: var(--card-image-border, none);
    border-bottom: 1px solid var(--border-color);
}

.recipe-card-content[b-vvetc04hxo] {
    padding: 0.5rem 0.75rem;
    background: var(--bg-card);
}

.recipe-title[b-vvetc04hxo] {
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
    color: var(--text-primary);
}

.recipe-source[b-vvetc04hxo] {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.recipe-description[b-vvetc04hxo] {
    font-size: 0.85rem;
    color: var(--text-secondary);
    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: var(--text-muted);
}

.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: var(--save-button-bg);
    color: var(--save-button-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    box-shadow: 0 2px 12px var(--shadow-color);
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.save-icon:hover[b-vvetc04hxo] {
    background: var(--save-button-bg-hover);
    color: var(--save-button-color-hover);
    transform: scale(1.05);
    box-shadow: 0 4px 16px var(--card-hover-shadow);
}

/* 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: var(--cart-button-bg);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: 0 2px 12px var(--shadow-color);
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.cart-icon:hover[b-vvetc04hxo] {
    background: var(--cart-button-bg-hover);
    transform: scale(1.05);
    box-shadow: 0 4px 16px var(--cart-button-shadow);
}

/* Apron icon - purple accent, bottom left */
.apron-icon[b-vvetc04hxo] {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: var(--apron-button-bg);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: 0 2px 12px var(--shadow-color);
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.apron-icon:hover[b-vvetc04hxo] {
    background: var(--apron-button-bg-hover);
    transform: scale(1.05);
    box-shadow: 0 4px 16px var(--apron-button-shadow);
}

/* Apron icon active state (recipe in apron) */
.apron-icon.apron-active[b-vvetc04hxo] {
    background: var(--apron-active-bg);
    box-shadow: 0 2px 12px var(--apron-active-shadow);
}

.apron-icon.apron-active:hover[b-vvetc04hxo] {
    background: var(--apron-active-bg-hover);
    box-shadow: 0 4px 16px var(--apron-active-shadow-hover);
}

/* Cart button - saved recipes style (white, circular) */
.cart-btn[b-vvetc04hxo] {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    border: none;
    background: var(--cart-btn-bg);
    color: var(--cart-btn-color);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px var(--shadow-color);
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.cart-btn:hover[b-vvetc04hxo] {
    background: var(--cart-btn-bg-hover);
    transform: scale(1.05);
}

/* Delete button */
.delete-btn[b-vvetc04hxo] {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    border: none;
    background: var(--delete-button-bg);
    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 var(--shadow-color);
    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: var(--delete-button-bg-hover);
}

/* 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: var(--checkbox-bg);
    border: 2px solid var(--checkbox-border);
    border-radius: 0.25rem;
    box-shadow: 0 2px 4px var(--shadow-color);
    cursor: pointer;
}

.recipe-checkbox:checked[b-vvetc04hxo] {
    background: var(--checkbox-checked-bg);
    border-color: var(--checkbox-checked-bg);
}

.recipe-card.selected[b-vvetc04hxo] {
    outline: 3px solid var(--selection-color);
    outline-offset: -3px;
}

.recipe-card.selected .recipe-card-content[b-vvetc04hxo] {
    background: var(--selection-bg);
}

/* 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: var(--overlay-bg);
    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;
    color: var(--overlay-text-color);
}

.overlay-content h6[b-vvetc04hxo] {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--overlay-heading-color);
}

.overlay-content p[b-vvetc04hxo] {
    margin-bottom: 1rem;
    color: var(--overlay-text-color);
}

.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: var(--overlay-text-color);
}
/* /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/Common/ScraperTestModal.razor.rz.scp.css */
.modal-overlay[b-d2vtqxt5tz] {
    position: fixed;
    inset: 0;
    background: var(--modal-backdrop);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-container[b-d2vtqxt5tz] {
    max-width: 760px;
    width: 90%;
    max-height: 90vh;
    margin: auto;
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header[b-d2vtqxt5tz] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.modal-header h2[b-d2vtqxt5tz] {
    margin: 0;
    font-size: 1.25rem;
    color: #1a1a2e;
}

.btn-close[b-d2vtqxt5tz] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #666;
    border-radius: 6px;
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.btn-close:hover[b-d2vtqxt5tz] {
    background: #f0f0f0;
    color: #333;
}

.modal-body[b-d2vtqxt5tz] {
    flex: 1;
    overflow-y: auto;
}

/* Input Section */
.input-section[b-d2vtqxt5tz] {
    margin-bottom: 1.5rem;
}

.input-label[b-d2vtqxt5tz] {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: #4a5568;
    margin-bottom: 0.4rem;
}

.input-row[b-d2vtqxt5tz] {
    display: flex;
    gap: 0.5rem;
}

.url-input[b-d2vtqxt5tz] {
    flex: 1;
    font-size: 16px;
    padding: 0.6rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.15s;
    min-height: 44px;
}

.url-input:focus[b-d2vtqxt5tz] {
    border-color: #4a90d9;
    box-shadow: 0 0 0 2px rgba(74, 144, 217, 0.15);
}

.url-input:disabled[b-d2vtqxt5tz] {
    background: #f7fafc;
    color: #a0aec0;
}

.validation-message[b-d2vtqxt5tz] {
    display: block;
    color: #e53e3e;
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

.site-host-badge[b-d2vtqxt5tz] {
    display: inline-block;
    margin-top: 0.4rem;
    padding: 0.15rem 0.5rem;
    background: #edf2f7;
    color: #4a5568;
    border-radius: 12px;
    font-size: 0.75rem;
}

/* Buttons */
.btn[b-d2vtqxt5tz] {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: opacity 0.2s, background 0.15s;
    min-height: 44px;
}

.btn:disabled[b-d2vtqxt5tz] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary[b-d2vtqxt5tz] {
    background: #4a90d9;
    color: white;
}

.btn-primary:hover:not(:disabled)[b-d2vtqxt5tz] {
    background: #357abd;
}

.btn-secondary[b-d2vtqxt5tz] {
    background: #e2e8f0;
    color: #4a5568;
}

.btn-secondary:hover:not(:disabled)[b-d2vtqxt5tz] {
    background: #cbd5e0;
}

.btn-success[b-d2vtqxt5tz] {
    background: #48bb78;
    color: white;
}

.btn-success:hover:not(:disabled)[b-d2vtqxt5tz] {
    background: #38a169;
}

.btn-run[b-d2vtqxt5tz] {
    white-space: nowrap;
    padding: 0.5rem 1.25rem;
}

.btn-retry[b-d2vtqxt5tz] {
    min-width: 100px;
}

.btn-close-action[b-d2vtqxt5tz] {
    min-width: 100px;
}

.btn-add-site[b-d2vtqxt5tz] {
    min-width: 120px;
}

.spinner-sm[b-d2vtqxt5tz] {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* Loading Section */
.loading-section[b-d2vtqxt5tz] {
    padding: 1rem 0;
}

.elapsed-counter[b-d2vtqxt5tz] {
    text-align: center;
    color: #4a5568;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-variant-numeric: tabular-nums;
}

.skeleton-fields[b-d2vtqxt5tz] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skeleton-row[b-d2vtqxt5tz] {
    height: 44px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 6px;
}

/* Results Section */
.results-section[b-d2vtqxt5tz] {
    padding: 0.5rem 0;
}

.summary-bar[b-d2vtqxt5tz] {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #f0fff4;
    border: 1px solid #c6f6d5;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.summary-score[b-d2vtqxt5tz] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #276749;
}

.summary-label[b-d2vtqxt5tz] {
    font-size: 0.9rem;
    color: #48bb78;
}

.field-table-wrapper[b-d2vtqxt5tz] {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1rem;
}

.field-table[b-d2vtqxt5tz] {
    width: 100%;
    border-collapse: collapse;
}

.field-table th[b-d2vtqxt5tz] {
    background: #f7fafc;
    font-weight: 600;
    font-size: 0.8rem;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.6rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.field-table td[b-d2vtqxt5tz] {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid #f0f0f0;
    min-height: 44px;
    vertical-align: middle;
}

.field-table tbody tr:last-child td[b-d2vtqxt5tz] {
    border-bottom: none;
}

.field-table tbody tr:hover[b-d2vtqxt5tz] {
    background: #fafafa;
}

.field-name-cell[b-d2vtqxt5tz] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.field-required[b-d2vtqxt5tz] {
    font-weight: 700;
}

.required-badge[b-d2vtqxt5tz] {
    display: inline-block;
    padding: 0.1rem 0.4rem;
    background: #ebf8ff;
    color: #2b6cb0;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-icon[b-d2vtqxt5tz] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.status-pass[b-d2vtqxt5tz] {
    background: #c6f6d5;
    color: #276749;
}

.status-missing[b-d2vtqxt5tz] {
    background: #fefcbf;
    color: #975a16;
}

.status-fail[b-d2vtqxt5tz] {
    background: #fed7d7;
    color: #c53030;
}

.field-value-cell[b-d2vtqxt5tz] {
    max-width: 400px;
}

.field-value[b-d2vtqxt5tz] {
    font-size: 0.85rem;
    color: #2d3748;
    word-break: break-word;
}

.field-value-empty[b-d2vtqxt5tz] {
    color: #cbd5e0;
}

/* Results Actions */
.results-actions[b-d2vtqxt5tz] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.add-site-hint[b-d2vtqxt5tz] {
    font-size: 0.8rem;
    color: #a0aec0;
}

/* Raw Response */
.raw-response-section[b-d2vtqxt5tz] {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.raw-response-toggle[b-d2vtqxt5tz] {
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    color: #4a5568;
    background: #f7fafc;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.raw-response-toggle:hover[b-d2vtqxt5tz] {
    background: #edf2f7;
}

.raw-response-json[b-d2vtqxt5tz] {
    margin: 0;
    padding: 1rem;
    background: #1a1a2e;
    color: #e2e8f0;
    font-size: 0.8rem;
    line-height: 1.5;
    overflow-x: auto;
    max-height: 300px;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Error Section */
.error-section[b-d2vtqxt5tz] {
    text-align: center;
    padding: 2rem 1rem;
}

.error-icon[b-d2vtqxt5tz] {
    color: #e53e3e;
    margin-bottom: 1rem;
}

.error-message[b-d2vtqxt5tz] {
    color: #4a5568;
    font-size: 1rem;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.error-category-badge[b-d2vtqxt5tz] {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.error-network[b-d2vtqxt5tz] {
    background: #fed7d7;
    color: #c53030;
}

.error-parse[b-d2vtqxt5tz] {
    background: #fefcbf;
    color: #975a16;
}

.error-blocked[b-d2vtqxt5tz] {
    background: #fed7d7;
    color: #9b2c2c;
}

.error-timeout[b-d2vtqxt5tz] {
    background: #feebc8;
    color: #c05621;
}

.error-service[b-d2vtqxt5tz] {
    background: #e9d8fd;
    color: #6b46c1;
}

.error-default[b-d2vtqxt5tz] {
    background: #e2e8f0;
    color: #4a5568;
}

.methods-attempted[b-d2vtqxt5tz] {
    font-size: 0.8rem;
    color: #a0aec0;
    margin: 0 0 1rem 0;
}

.error-actions[b-d2vtqxt5tz] {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

/* Animations */
@@keyframes spin {
    to[b-d2vtqxt5tz] {
        transform: rotate(360deg);
    }
}

@@keyframes shimmer {
    0%[b-d2vtqxt5tz] {
        background-position: 200% 0;
    }
    100%[b-d2vtqxt5tz] {
        background-position: -200% 0;
    }
}

/* Mobile */
@@media (max-width: 767px) {
    .modal-container[b-d2vtqxt5tz] {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
        overflow-y: auto;
    }

    .input-row[b-d2vtqxt5tz] {
        flex-direction: column;
    }

    .btn-run[b-d2vtqxt5tz] {
        width: 100%;
    }

    .field-value-cell[b-d2vtqxt5tz] {
        max-width: 200px;
    }

    .results-actions[b-d2vtqxt5tz] {
        flex-direction: column;
        align-items: stretch;
    }

    .add-site-hint[b-d2vtqxt5tz] {
        text-align: center;
    }

    .error-actions[b-d2vtqxt5tz] {
        flex-direction: column;
    }

    .error-actions .btn[b-d2vtqxt5tz] {
        width: 100%;
    }
}

/* Dark mode support */
:global([data-theme='dark']) .modal-container[b-d2vtqxt5tz] {
    background: var(--surface-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

:global([data-theme='dark']) .modal-header h2[b-d2vtqxt5tz] {
    color: var(--text-primary);
}

:global([data-theme='dark']) .btn-close[b-d2vtqxt5tz] {
    color: var(--text-secondary);
}

:global([data-theme='dark']) .btn-close:hover[b-d2vtqxt5tz] {
    background: var(--dropdown-hover-bg);
    color: var(--text-primary);
}

:global([data-theme='dark']) .input-label[b-d2vtqxt5tz] {
    color: var(--text-secondary);
}

:global([data-theme='dark']) .url-input[b-d2vtqxt5tz] {
    background: var(--dropdown-bg);
    border-color: var(--border-color);
    color: var(--text-primary);
}

:global([data-theme='dark']) .url-input:focus[b-d2vtqxt5tz] {
    border-color: #4a90d9;
}

:global([data-theme='dark']) .url-input:disabled[b-d2vtqxt5tz] {
    background: var(--dropdown-hover-bg);
    color: var(--text-secondary);
}

:global([data-theme='dark']) .site-host-badge[b-d2vtqxt5tz] {
    background: var(--dropdown-bg);
    color: var(--text-secondary);
}

:global([data-theme='dark']) .btn-secondary[b-d2vtqxt5tz] {
    background: var(--dropdown-bg);
    color: var(--text-primary);
}

:global([data-theme='dark']) .btn-secondary:hover:not(:disabled)[b-d2vtqxt5tz] {
    background: var(--dropdown-hover-bg);
}

:global([data-theme='dark']) .elapsed-counter[b-d2vtqxt5tz] {
    color: var(--text-secondary);
}

:global([data-theme='dark']) .skeleton-row[b-d2vtqxt5tz] {
    background: linear-gradient(90deg, var(--dropdown-bg) 25%, var(--dropdown-hover-bg) 50%, var(--dropdown-bg) 75%);
    background-size: 200% 100%;
}

:global([data-theme='dark']) .summary-bar[b-d2vtqxt5tz] {
    background: rgba(39, 103, 73, 0.2);
    border-color: rgba(72, 187, 120, 0.3);
}

:global([data-theme='dark']) .summary-score[b-d2vtqxt5tz] {
    color: #4cce5f;
}

:global([data-theme='dark']) .summary-label[b-d2vtqxt5tz] {
    color: #48bb78;
}

:global([data-theme='dark']) .field-table-wrapper[b-d2vtqxt5tz] {
    border-color: var(--border-color);
}

:global([data-theme='dark']) .field-table th[b-d2vtqxt5tz] {
    background: var(--dropdown-bg);
    color: var(--text-secondary);
    border-color: var(--border-color);
}

:global([data-theme='dark']) .field-table td[b-d2vtqxt5tz] {
    border-color: var(--border-color);
}

:global([data-theme='dark']) .field-table tbody tr:hover[b-d2vtqxt5tz] {
    background: var(--dropdown-hover-bg);
}

:global([data-theme='dark']) .field-value[b-d2vtqxt5tz] {
    color: var(--text-primary);
}

:global([data-theme='dark']) .field-value-empty[b-d2vtqxt5tz] {
    color: var(--text-secondary);
}

:global([data-theme='dark']) .add-site-hint[b-d2vtqxt5tz] {
    color: var(--text-secondary);
}

:global([data-theme='dark']) .raw-response-section[b-d2vtqxt5tz] {
    border-color: var(--border-color);
}

:global([data-theme='dark']) .raw-response-toggle[b-d2vtqxt5tz] {
    background: var(--dropdown-bg);
    color: var(--text-secondary);
}

:global([data-theme='dark']) .raw-response-toggle:hover[b-d2vtqxt5tz] {
    background: var(--dropdown-hover-bg);
}

:global([data-theme='dark']) .error-message[b-d2vtqxt5tz] {
    color: var(--text-secondary);
}

:global([data-theme='dark']) .methods-attempted[b-d2vtqxt5tz] {
    color: var(--text-secondary);
}
/* /Components/Common/SuggestImprovementModal.razor.rz.scp.css */
.modal-backdrop[b-9emgrh1fly] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--modal-backdrop);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    animation: fadeIn 0.2s ease;
}

@@keyframes fadeIn {
    from[b-9emgrh1fly] { opacity: 0; }
    to[b-9emgrh1fly] { opacity: 1; }
}

.modal-content.suggestion-modal[b-9emgrh1fly] {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 560px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

@@keyframes slideUp {
    from[b-9emgrh1fly] {
        opacity: 0;
        transform: translateY(20px);
    }
    to[b-9emgrh1fly] {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header[b-9emgrh1fly] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #eee;
}

.modal-title[b-9emgrh1fly] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.modal-title svg[b-9emgrh1fly] {
    color: #4a9c6d;
}

.close-btn[b-9emgrh1fly] {
    background: none;
    border: none;
    padding: 0.25rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
}

.close-btn:hover[b-9emgrh1fly] {
    background: #f0f0f0;
    color: #333;
}

.modal-body[b-9emgrh1fly] {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
}

.loading-state[b-9emgrh1fly],
.error-state[b-9emgrh1fly],
.no-changes-state[b-9emgrh1fly] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #666;
    text-align: center;
}

.loading-state p[b-9emgrh1fly],
.error-state p[b-9emgrh1fly],
.no-changes-state p[b-9emgrh1fly] {
    margin: 0.75rem 0 0.25rem;
    font-weight: 500;
}

.hint[b-9emgrh1fly] {
    font-size: 0.9rem;
    color: #888;
}

.retry-btn[b-9emgrh1fly] {
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.retry-btn:hover[b-9emgrh1fly] {
    background: #e9ecef;
}

.diff-section[b-9emgrh1fly] {
    margin-bottom: 1.25rem;
}

.diff-section h6[b-9emgrh1fly] {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.changes-summary[b-9emgrh1fly] {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.75rem;
}

.change-item[b-9emgrh1fly] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.change-item:last-child[b-9emgrh1fly] {
    border-bottom: none;
    padding-bottom: 0;
}

.change-item:first-child[b-9emgrh1fly] {
    padding-top: 0;
}

.change-label[b-9emgrh1fly] {
    font-weight: 500;
    color: #333;
    min-width: 100px;
}

.change-old[b-9emgrh1fly] {
    color: #dc3545;
    text-decoration: line-through;
    opacity: 0.7;
}

.change-arrow[b-9emgrh1fly] {
    color: #888;
}

.change-new[b-9emgrh1fly] {
    color: #28a745;
    font-weight: 500;
}

.change-badge[b-9emgrh1fly] {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.change-badge.added[b-9emgrh1fly] {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.change-badge.removed[b-9emgrh1fly] {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.change-badge.modified[b-9emgrh1fly] {
    background: rgba(255, 193, 7, 0.1);
    color: #856404;
}

.message-section[b-9emgrh1fly] {
    margin-bottom: 1rem;
}

.message-section label[b-9emgrh1fly] {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

.message-section textarea[b-9emgrh1fly] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.message-section textarea:focus[b-9emgrh1fly] {
    outline: none;
    border-color: #4a9c6d;
    box-shadow: 0 0 0 3px rgba(74, 156, 109, 0.15);
}

.char-count[b-9emgrh1fly] {
    display: block;
    text-align: right;
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.25rem;
}

.info-note[b-9emgrh1fly] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(102, 126, 234, 0.08);
    border-radius: 8px;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.4;
}

.info-note svg[b-9emgrh1fly] {
    flex-shrink: 0;
    color: #667eea;
    margin-top: 0.1rem;
}

.modal-footer[b-9emgrh1fly] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-top: 1px solid #eee;
}

.cancel-btn[b-9emgrh1fly] {
    padding: 0.5rem 1rem;
    min-height: 44px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    color: #333;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cancel-btn:hover[b-9emgrh1fly] {
    background: #e9ecef;
}

.submit-btn[b-9emgrh1fly] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    min-height: 44px;
    background: linear-gradient(135deg, #4a9c6d 0%, #2d7a4f 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.submit-btn:hover:not(:disabled)[b-9emgrh1fly] {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.submit-btn:disabled[b-9emgrh1fly] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Mobile responsive */
@@media (max-width: 576px) {
    .modal-content.suggestion-modal[b-9emgrh1fly] {
        margin: 0.5rem;
        max-height: calc(100vh - 1rem);
    }

    .modal-header[b-9emgrh1fly],
    .modal-footer[b-9emgrh1fly] {
        padding: 0.75rem 1rem;
    }

    .modal-body[b-9emgrh1fly] {
        padding: 1rem;
    }

    .change-label[b-9emgrh1fly] {
        min-width: auto;
        width: 100%;
    }

    .modal-footer[b-9emgrh1fly] {
        flex-direction: column-reverse;
    }

    .modal-footer button[b-9emgrh1fly] {
        width: 100%;
    }
}

/* Dark mode support */
:global([data-theme='dark']) .modal-content.suggestion-modal[b-9emgrh1fly] {
    background: var(--surface-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

:global([data-theme='dark']) .modal-header[b-9emgrh1fly],
:global([data-theme='dark']) .modal-footer[b-9emgrh1fly] {
    border-color: var(--border-color);
}

:global([data-theme='dark']) .modal-title[b-9emgrh1fly] {
    color: var(--text-primary);
}

:global([data-theme='dark']) .close-btn[b-9emgrh1fly] {
    color: var(--text-secondary);
}

:global([data-theme='dark']) .close-btn:hover[b-9emgrh1fly] {
    background: var(--dropdown-hover-bg);
    color: var(--text-primary);
}

:global([data-theme='dark']) .diff-section h6[b-9emgrh1fly],
:global([data-theme='dark']) .change-label[b-9emgrh1fly],
:global([data-theme='dark']) .message-section label[b-9emgrh1fly] {
    color: var(--text-primary);
}

:global([data-theme='dark']) .changes-summary[b-9emgrh1fly] {
    background: var(--dropdown-bg);
}

:global([data-theme='dark']) .change-item[b-9emgrh1fly] {
    border-color: var(--border-color);
}

:global([data-theme='dark']) .loading-state[b-9emgrh1fly],
:global([data-theme='dark']) .error-state[b-9emgrh1fly],
:global([data-theme='dark']) .no-changes-state[b-9emgrh1fly] {
    color: var(--text-secondary);
}

:global([data-theme='dark']) .hint[b-9emgrh1fly] {
    color: var(--text-secondary);
}

:global([data-theme='dark']) .char-count[b-9emgrh1fly] {
    color: var(--text-secondary);
}

:global([data-theme='dark']) .change-arrow[b-9emgrh1fly] {
    color: var(--text-secondary);
}

:global([data-theme='dark']) .message-section textarea[b-9emgrh1fly] {
    background: var(--dropdown-bg);
    border-color: var(--border-color);
    color: var(--text-primary);
}

:global([data-theme='dark']) .message-section textarea:focus[b-9emgrh1fly] {
    border-color: #4a9c6d;
}

:global([data-theme='dark']) .retry-btn[b-9emgrh1fly] {
    background: var(--dropdown-bg);
    border-color: var(--border-color);
    color: var(--text-primary);
}

:global([data-theme='dark']) .retry-btn:hover[b-9emgrh1fly] {
    background: var(--dropdown-hover-bg);
}

:global([data-theme='dark']) .cancel-btn[b-9emgrh1fly] {
    background: var(--dropdown-bg);
    border-color: var(--border-color);
    color: var(--text-primary);
}

:global([data-theme='dark']) .cancel-btn:hover[b-9emgrh1fly] {
    background: var(--dropdown-hover-bg);
}

:global([data-theme='dark']) .info-note[b-9emgrh1fly] {
    background: rgba(102, 126, 234, 0.15);
    color: var(--text-secondary);
}
/* /Components/Common/ThemeToggle.razor.rz.scp.css */
.theme-toggle-btn[b-i60vma5fth] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--border-color, #e9ecef);
    border-radius: 8px;
    padding: 0.35rem;
    cursor: pointer;
    color: var(--text-secondary, #666666);
    width: 36px;
    height: 36px;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    position: relative;
    flex-shrink: 0;
}

.theme-toggle-btn:hover[b-i60vma5fth] {
    color: var(--text-primary, #333333);
    background-color: var(--bg-secondary, #f8f9fa);
    border-color: var(--text-muted, #888888);
}

.theme-toggle-btn:focus-visible[b-i60vma5fth] {
    outline: 2px solid var(--link-color, #0d6efd);
    outline-offset: 2px;
}

.theme-toggle-btn:active[b-i60vma5fth] {
    transform: scale(0.92);
}

.theme-icon[b-i60vma5fth] {
    display: block;
    transition: opacity 0.2s ease;
}

/* Spin animation on click */
.theme-toggle-spin .theme-icon[b-i60vma5fth] {
    animation: theme-icon-spin 0.4s ease;
}

@@keyframes theme-icon-spin {
    0%[b-i60vma5fth] {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
    50%[b-i60vma5fth] {
        transform: rotate(180deg) scale(0.8);
        opacity: 0.5;
    }
    100%[b-i60vma5fth] {
        transform: rotate(360deg) scale(1);
        opacity: 1;
    }
}
/* /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: var(--bg-nav, #f7f7f7);
    border-bottom: 1px solid var(--border-color, #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/MealPlanner/MealPlannerBottomSheet.razor.rz.scp.css */
/* Bottom Sheet Backdrop */
.mp-backdrop[b-pfzngg9nuy] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mp-backdrop.visible[b-pfzngg9nuy] {
    opacity: 1;
    pointer-events: auto;
}

/* Bottom Sheet Container */
.mp-bottom-sheet[b-pfzngg9nuy] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
    z-index: 200;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 75vh;
    display: flex;
    flex-direction: column;
}

.mp-bottom-sheet.open[b-pfzngg9nuy] {
    transform: translateY(0);
}

/* Drag Handle */
.mp-sheet-handle[b-pfzngg9nuy] {
    width: 40px;
    height: 4px;
    background: #e8e6ef;
    border-radius: 2px;
    margin: 12px auto 8px;
    flex-shrink: 0;
    cursor: grab;
}

.mp-sheet-handle:active[b-pfzngg9nuy] {
    cursor: grabbing;
}

/* Sheet Header */
.mp-sheet-header[b-pfzngg9nuy] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px 12px;
    border-bottom: 1px solid #e8e6ef;
    flex-shrink: 0;
}

.mp-sheet-header h3[b-pfzngg9nuy] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d2a3e;
}

.mp-sheet-close[b-pfzngg9nuy] {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #6b6880;
    transition: all 0.15s ease;
}

.mp-sheet-close:hover[b-pfzngg9nuy] {
    background: #eeedf8;
    color: #5b52bc;
}

/* Sheet Tabs */
.mp-sheet-tabs[b-pfzngg9nuy] {
    display: flex;
    border-bottom: 1px solid #e8e6ef;
    flex-shrink: 0;
}

.mp-sheet-tab[b-pfzngg9nuy] {
    flex: 1;
    padding: 12px 8px;
    border: none;
    background: none;
    font-size: 0.85rem;
    font-weight: 500;
    color: #6b6880;
    cursor: pointer;
    transition: all 0.15s ease;
    border-bottom: 2px solid transparent;
}

.mp-sheet-tab:hover[b-pfzngg9nuy] {
    color: #5b52bc;
    background: #eeedf8;
}

.mp-sheet-tab.active[b-pfzngg9nuy] {
    color: #5b52bc;
    border-bottom-color: #5b52bc;
    font-weight: 600;
}

/* Sheet Content */
.mp-sheet-content[b-pfzngg9nuy] {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px;
    -webkit-overflow-scrolling: touch;
}

/* Box Selector */
.mp-sheet-box-selector[b-pfzngg9nuy] {
    margin-bottom: 12px;
}

.mp-sheet-box-selector .form-select[b-pfzngg9nuy] {
    font-size: 0.9rem;
    border-color: #e8e6ef;
    border-radius: 8px;
}

/* Search */
.mp-sheet-search[b-pfzngg9nuy] {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.mp-sheet-search .form-control[b-pfzngg9nuy] {
    font-size: 0.9rem;
    border-color: #e8e6ef;
    border-radius: 8px;
}

.mp-sheet-search-btn[b-pfzngg9nuy] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 38px;
    border: 1px solid #e8e6ef;
    border-radius: 8px;
    background: #5b52bc;
    color: white;
    flex-shrink: 0;
}

.mp-sheet-search-btn:hover[b-pfzngg9nuy] {
    background: #4a43a3;
}

/* Loading & Empty States */
.mp-sheet-loading[b-pfzngg9nuy] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 32px 16px;
    color: #6b6880;
    font-size: 0.9rem;
}

.mp-sheet-empty[b-pfzngg9nuy] {
    text-align: center;
    padding: 32px 16px;
    color: #6b6880;
    font-size: 0.9rem;
}

.mp-sheet-empty-hint[b-pfzngg9nuy] {
    font-size: 0.8rem;
    color: #a09daf;
    margin-top: 4px;
}

/* Recipe List */
.mp-sheet-recipe-list[b-pfzngg9nuy] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Recipe Card */
.mp-sheet-recipe[b-pfzngg9nuy] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
    border: 2px solid transparent;
    background: #fdfcfa;
    min-height: 56px;
}

.mp-sheet-recipe:hover[b-pfzngg9nuy] {
    background: #eeedf8;
    border-color: #7169d4;
}

.mp-sheet-recipe:active[b-pfzngg9nuy] {
    transform: scale(0.98);
}

.mp-sheet-recipe.selected[b-pfzngg9nuy] {
    border-color: #5b52bc;
    background: #eeedf8;
}

.mp-sheet-recipe-img[b-pfzngg9nuy] {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.mp-sheet-recipe-placeholder[b-pfzngg9nuy] {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #e8e6ef;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #a09daf;
}

.mp-sheet-recipe-title[b-pfzngg9nuy] {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2d2a3e;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mp-sheet-recipe-check[b-pfzngg9nuy] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #5b52bc;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

/* Selection Bar */
.mp-sheet-selection-bar[b-pfzngg9nuy] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #eeedf8;
    border-top: 1px solid #e8e6ef;
    flex-shrink: 0;
}

.mp-sheet-selection-text[b-pfzngg9nuy] {
    font-size: 0.8rem;
    color: #6b6880;
}

.mp-sheet-selection-recipe[b-pfzngg9nuy] {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 600;
    color: #5b52bc;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mp-sheet-cancel-btn[b-pfzngg9nuy] {
    padding: 6px 16px;
    border: 1px solid #e8e6ef;
    border-radius: 20px;
    background: white;
    color: #6b6880;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.mp-sheet-cancel-btn:hover[b-pfzngg9nuy] {
    background: #ec5a5a;
    border-color: #ec5a5a;
    color: white;
}

/* Visually Hidden for Screen Readers */
.visually-hidden[b-pfzngg9nuy] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Reduced Motion Support */
@@media (prefers-reduced-motion: reduce) {
    .mp-bottom-sheet[b-pfzngg9nuy] {
        transition: none;
    }

    .mp-backdrop[b-pfzngg9nuy] {
        transition: none;
    }

    .mp-sheet-recipe:active[b-pfzngg9nuy] {
        transform: none;
    }
}
/* /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, var(--bg-secondary) 0%, var(--border-color) 100%);
}

.recipe-header[b-71rthau1du] {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.header-content[b-71rthau1du] {
    max-width: 600px;
    margin: 0 auto;
}

.recipe-title[b-71rthau1du] {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--form-label-color);
    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: var(--text-secondary);
    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: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    min-width: 140px;
}

.method-tab:hover[b-71rthau1du] {
    border-color: var(--input-focus-border);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--input-focus-shadow);
    color: var(--input-focus-border);
}

.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: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.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 var(--shadow-color);
    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: var(--bg-secondary);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.camera-placeholder:hover[b-71rthau1du], .barcode-placeholder:hover[b-71rthau1du] {
    border-color: var(--input-focus-border);
    background: var(--bg-card);
}

.camera-icon[b-71rthau1du], .barcode-icon[b-71rthau1du] {
    font-size: 3rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: block;
}

.camera-placeholder p[b-71rthau1du] {
    font-size: 1.1rem;
    color: var(--text-secondary);
    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: var(--text-secondary);
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    line-height: 1.5;
}

.camera-instructions strong[b-71rthau1du] {
    color: var(--text-primary);
}

.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: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.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: var(--form-label-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.barcode-scanner p[b-71rthau1du] {
    color: var(--text-secondary);
    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: var(--text-primary);
    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 var(--input-border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: var(--input-bg);
    color: var(--input-text);
}

.isbn-input-group input[b-71rthau1du]::placeholder {
    color: var(--input-placeholder);
    opacity: 0.6;
}

.isbn-input-group input:focus[b-71rthau1du] {
    border-color: var(--input-focus-border);
    outline: none;
    box-shadow: 0 0 0 3px var(--input-focus-shadow);
}

.book-info-display[b-71rthau1du] {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.book-info-display h5[b-71rthau1du] {
    color: var(--form-label-color);
    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 var(--shadow-color);
}

.cover-placeholder[b-71rthau1du] {
    width: 80px;
    height: 100px;
    background: var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.book-meta[b-71rthau1du] {
    flex: 1;
}

.book-meta h6[b-71rthau1du] {
    font-weight: 600;
    color: var(--form-label-color);
    margin-bottom: 0.5rem;
}

.book-meta p[b-71rthau1du] {
    margin-bottom: 0.25rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.book-meta .author[b-71rthau1du] {
    font-weight: 500;
    color: var(--text-primary);
}

/* Recipe Form */
.recipe-form[b-71rthau1du] {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.validation-summary[b-71rthau1du] {
    background: var(--alert-danger-bg);
    border: 1px solid var(--alert-danger-border);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 2rem;
    color: var(--alert-danger-text);
}

.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: var(--form-label-color);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.section-label[b-71rthau1du] {
    font-size: 1.2rem;
    color: var(--form-label-color);
    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 var(--input-border);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--input-bg);
    color: var(--input-text);
}

.modern-input[b-71rthau1du]::placeholder, .modern-textarea[b-71rthau1du]::placeholder {
    color: var(--input-placeholder);
    opacity: 0.6;
}

.modern-input:focus[b-71rthau1du], .modern-textarea:focus[b-71rthau1du] {
    border-color: var(--input-focus-border);
    outline: none;
    box-shadow: 0 0 0 3px var(--input-focus-shadow);
    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: var(--form-help-color);
    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 var(--border-color);
    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 var(--input-focus-shadow);
}

/* Alert Enhancements */
.alert[b-71rthau1du] {
    border-radius: 8px;
    border: none;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.alert-success[b-71rthau1du] {
    background: var(--alert-success-bg);
    color: var(--alert-success-text);
    border-left: 4px solid var(--alert-success-border);
}

.alert-danger[b-71rthau1du] {
    background: var(--alert-danger-bg);
    color: var(--alert-danger-text);
    border-left: 4px solid var(--alert-danger-border);
}

.alert-warning[b-71rthau1du] {
    background: var(--alert-warning-bg);
    color: var(--alert-warning-text);
    border-left: 4px solid var(--alert-warning-border);
}

.alert-info[b-71rthau1du] {
    background: var(--alert-info-bg);
    color: var(--alert-info-text);
    border-left: 4px solid var(--alert-info-border);
}

/* 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;
    }
}

/* Dark theme overrides */
:global([data-theme='dark']) .add-recipe-container[b-71rthau1du] {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

:global([data-theme='dark']) .camera-note[b-71rthau1du] {
    color: #6ea8fe !important;
    background: rgba(110, 168, 254, 0.12);
    border-color: rgba(110, 168, 254, 0.25);
}

:global([data-theme='dark']) .camera-note.loading[b-71rthau1du] {
    color: #5ed99a !important;
    background: rgba(94, 217, 154, 0.12);
    border-color: rgba(94, 217, 154, 0.25);
}

:global([data-theme='dark']) .form-text i[b-71rthau1du] {
    color: #ffe066;
}

:global([data-theme='dark']) .book-reference[b-71rthau1du] {
    background: linear-gradient(135deg, #1e2a3a 0%, #2a1e3a 100%);
    border-color: #5a3d7a;
}

:global([data-theme='dark']) .book-reference-info[b-71rthau1du] {
    color: #c8a0e8;
}

:global([data-theme='dark']) .book-reference-info i[b-71rthau1du] {
    color: #b388d9;
}

:global([data-theme='dark']) .url-validation-error[b-71rthau1du] {
    color: #f07070;
}

:global([data-theme='dark']) .duplicate-dialog[b-71rthau1du] {
    background: var(--bg-card, #2a2a4a);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

:global([data-theme='dark']) .duplicate-dialog-icon[b-71rthau1du] {
    background: linear-gradient(135deg, #3a2a1a 0%, #3a2520 100%);
    color: #ffb380;
}

/* 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 var(--input-focus-border);
    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: var(--text-primary);
}

.orientation-controls .btn-group[b-71rthau1du] {
    display: inline-flex;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.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 var(--input-focus-border);
    background: var(--bg-card);
    color: var(--input-focus-border);
    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: var(--bg-secondary);
    border-color: var(--input-focus-border);
}

.orientation-controls .btn-check:checked + .btn-outline-primary[b-71rthau1du] {
    background: var(--input-focus-border);
    border-color: var(--input-focus-border);
    color: var(--btn-primary-text);
    box-shadow: inset 0 2px 4px var(--shadow-color);
}

.capture-controls[b-71rthau1du] {
    text-align: center;
}

/* URL Import Section */
.url-import-section[b-71rthau1du] {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.url-import-container[b-71rthau1du] {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.url-import-heading[b-71rthau1du] {
    color: var(--form-label-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.url-import-description[b-71rthau1du] {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.url-input-group[b-71rthau1du] {
    margin-bottom: 1rem;
}

.url-input-wrapper[b-71rthau1du] {
    display: flex;
    gap: 0.5rem;
}

.url-input[b-71rthau1du] {
    flex: 1;
}

.paste-btn[b-71rthau1du] {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: 8px;
    font-weight: 500;
}

.url-validation-error[b-71rthau1du] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.import-error-message[b-71rthau1du] {
    background: var(--alert-danger-bg, #f8d7da);
    color: var(--alert-danger-text, #721c24);
    border: 1px solid var(--alert-danger-border, #f5c6cb);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    word-break: break-word;
}

.url-import-actions[b-71rthau1du] {
    text-align: center;
    margin-top: 1.5rem;
}

.import-btn[b-71rthau1du] {
    min-height: 48px;
    min-width: 200px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.import-btn:not(:disabled):hover[b-71rthau1du] {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--input-focus-shadow);
}

.import-loading-overlay[b-71rthau1du] {
    margin-top: 1.5rem;
    text-align: center;
}

.import-spinner[b-71rthau1du] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.import-spinner p[b-71rthau1du] {
    margin: 0;
    font-weight: 500;
}

/* Duplicate Dialog */
.duplicate-dialog-overlay[b-71rthau1du] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 1rem;
}

.duplicate-dialog[b-71rthau1du] {
    background: var(--bg-card, white);
    border-radius: 16px;
    padding: 2rem;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.duplicate-dialog-icon[b-71rthau1du] {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: #e65100;
}

.duplicate-dialog h4[b-71rthau1du] {
    color: var(--form-label-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.duplicate-dialog p[b-71rthau1du] {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.duplicate-dialog-actions[b-71rthau1du] {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.duplicate-dialog-actions .btn[b-71rthau1du] {
    min-height: 44px;
    min-width: 140px;
    font-weight: 500;
    border-radius: 8px;
}

@media (max-width: 576px) {
    .url-input-wrapper[b-71rthau1du] {
        flex-direction: column;
    }

    .paste-btn[b-71rthau1du] {
        justify-content: center;
    }

    .import-btn[b-71rthau1du] {
        width: 100%;
    }

    .duplicate-dialog[b-71rthau1du] {
        padding: 1.5rem;
    }

    .duplicate-dialog-actions[b-71rthau1du] {
        flex-direction: column;
        align-items: center;
    }

    .duplicate-dialog-actions .btn[b-71rthau1du] {
        width: 100%;
    }
}
/* /Components/Pages/AppearanceSettings.razor.rz.scp.css */
.chefly-page[b-k21yszo23i] {
    --purple: #5b52bc;
    --purple-dark: #4a43a3;
    --purple-soft: #eeedf8;
    --coral: #ff8675;
    --success: #28a745;
    --success-soft: #e8f5e9;
    --white: #ffffff;
    --gray-50: #f8f7fc;
    --gray-100: #f0eff5;
    --gray-200: #e4e3ed;
    --gray-600: #5d5a7a;
    --gray-800: #2d2b4a;
}

.page-header[b-k21yszo23i] {
    padding: 3rem 6% 2rem;
    background: linear-gradient(180deg, var(--bg-primary, #fdfcfa) 0%, var(--purple-soft) 100%);
}

.header-content[b-k21yszo23i] {
    max-width: 900px;
    margin: 0 auto;
}

.back-link[b-k21yszo23i] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.back-link:hover[b-k21yszo23i] {
    color: var(--purple);
}

.back-link svg[b-k21yszo23i] {
    width: 18px;
    height: 18px;
}

.page-header h1[b-k21yszo23i] {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.page-header h1 span[b-k21yszo23i] {
    color: var(--purple);
}

.header-subtitle[b-k21yszo23i] {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

.content-section[b-k21yszo23i] {
    padding: 2rem 6% 4rem;
    background: var(--bg-primary, var(--white));
}

.section-container[b-k21yszo23i] {
    max-width: 900px;
    margin: 0 auto;
}

/* Settings Cards */
.settings-card[b-k21yszo23i] {
    background: var(--bg-secondary, var(--gray-50));
    border-radius: 16px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.card-header[b-k21yszo23i] {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color, var(--gray-200));
}

.card-icon[b-k21yszo23i] {
    width: 44px;
    height: 44px;
    background: var(--purple-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon svg[b-k21yszo23i] {
    width: 24px;
    height: 24px;
    color: var(--purple);
}

.card-title h2[b-k21yszo23i] {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem;
}

.card-title p[b-k21yszo23i] {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.card-body[b-k21yszo23i] {
    padding: 1.5rem;
}

/* Theme Options Grid */
.theme-options[b-k21yszo23i] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.theme-option[b-k21yszo23i] {
    display: flex;
    flex-direction: column;
    background: var(--bg-primary, var(--white));
    border: 2px solid var(--border-color, var(--gray-200));
    border-radius: 12px;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
    text-align: left;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

.theme-option:hover[b-k21yszo23i] {
    border-color: var(--purple);
    box-shadow: 0 4px 12px rgba(91, 82, 188, 0.15);
    transform: translateY(-2px);
}

.theme-option:focus-visible[b-k21yszo23i] {
    outline: 2px solid var(--purple);
    outline-offset: 2px;
}

.theme-option-active[b-k21yszo23i] {
    border-color: var(--purple);
    box-shadow: 0 4px 16px rgba(91, 82, 188, 0.2);
}

/* Theme Preview Blocks */
.theme-option-preview[b-k21yszo23i] {
    height: 100px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
}

.theme-preview-system[b-k21yszo23i] {
    flex-direction: row;
    padding: 0;
    gap: 0;
}

.preview-light-half[b-k21yszo23i],
.preview-dark-half[b-k21yszo23i] {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.preview-light-half[b-k21yszo23i] {
    background: #f8f7fc;
}

.preview-dark-half[b-k21yszo23i] {
    background: #1a1a2e;
}

.preview-dark-half .preview-bar[b-k21yszo23i] {
    background: #3d3d5c;
}

.preview-dark-half .preview-line[b-k21yszo23i] {
    background: #4a4a6a;
}

.theme-preview-light[b-k21yszo23i] {
    background: #f8f7fc;
}

.theme-preview-dark[b-k21yszo23i] {
    background: #1a1a2e;
}

.theme-preview-dark .preview-bar[b-k21yszo23i] {
    background: #3d3d5c;
}

.theme-preview-dark .preview-line[b-k21yszo23i] {
    background: #4a4a6a;
}

.preview-bar[b-k21yszo23i] {
    height: 10px;
    width: 60%;
    background: #e4e3ed;
    border-radius: 4px;
}

.preview-line[b-k21yszo23i] {
    height: 6px;
    width: 100%;
    background: #e4e3ed;
    border-radius: 3px;
}

.preview-line.short[b-k21yszo23i] {
    width: 65%;
}

/* Theme Option Content */
.theme-option-content[b-k21yszo23i] {
    padding: 0.875rem 1rem;
}

.theme-option-header[b-k21yszo23i] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.theme-option-label[b-k21yszo23i] {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.theme-check[b-k21yszo23i] {
    width: 20px;
    height: 20px;
    color: var(--purple);
    flex-shrink: 0;
}

.theme-option-description[b-k21yszo23i] {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Info Items */
.info-items[b-k21yszo23i] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-item[b-k21yszo23i] {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-icon[b-k21yszo23i] {
    width: 36px;
    height: 36px;
    background: var(--purple-soft);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg[b-k21yszo23i] {
    width: 18px;
    height: 18px;
    color: var(--purple);
}

.info-content h3[b-k21yszo23i] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem;
}

.info-content p[b-k21yszo23i] {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Status Grid */
.status-grid[b-k21yszo23i] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.status-item[b-k21yszo23i] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem;
    background: var(--bg-primary, var(--white));
    border-radius: 10px;
    border: 1px solid var(--border-color, var(--gray-200));
}

.status-label[b-k21yszo23i] {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.status-value[b-k21yszo23i] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.status-badge[b-k21yszo23i] {
    color: var(--purple);
}

/* Dark mode overrides */
[b-k21yszo23i] [data-theme='dark'] .theme-preview-light {
    background: #f8f7fc;
}

[b-k21yszo23i] [data-theme='dark'] .preview-light-half {
    background: #f8f7fc;
}

[b-k21yszo23i] [data-theme='dark'] .card-icon {
    background: rgba(91, 82, 188, 0.2);
}

[b-k21yszo23i] [data-theme='dark'] .info-icon {
    background: rgba(91, 82, 188, 0.2);
}

/* Responsive */
@@media (max-width: 640px) {
    .page-header[b-k21yszo23i] {
        padding: 2rem 5% 1.5rem;
    }

    .content-section[b-k21yszo23i] {
        padding: 1.5rem 5% 3rem;
    }

    .theme-options[b-k21yszo23i] {
        grid-template-columns: 1fr;
    }

    .card-header[b-k21yszo23i] {
        flex-direction: column;
    }

    .status-grid[b-k21yszo23i] {
        grid-template-columns: 1fr;
    }
}

@@media (min-width: 641px) and (max-width: 900px) {
    .theme-options[b-k21yszo23i] {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* /Components/Pages/MealPlanner.razor.rz.scp.css */
/* CSS Variables */
.chefly-mealplanner-page[b-ahbq1ljr27] {
    --purple: #5b52bc;
    --purple-dark: #4a43a3;
    --purple-light: #7169d4;
    --purple-soft: #eeedf8;
    --coral: #ff8675;
    --coral-light: #ffa99d;
    --coral-soft: #ffebe8;
    --white: #ffffff;
    --cream: #fdfcfa;
    --text-primary: #2d2a3e;
    --text-secondary: #6b6880;
    --text-muted: #a09daf;
    --border: #e8e6ef;
    --border-light: #f0eef5;
    --success: #47b881;
    --danger: #ec5a5a;
    --shadow-sm: 0 1px 3px rgba(91, 82, 188, 0.06);
    --shadow-md: 0 4px 12px rgba(91, 82, 188, 0.1);
    --radius: 12px;
    --radius-sm: 8px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
}

/* Dark theme overrides for meal planner local variables */
:global([data-theme='dark']) .chefly-mealplanner-page[b-ahbq1ljr27] {
    --purple: #8b83d9;
    --purple-dark: #a59eef;
    --purple-light: #9b94e0;
    --purple-soft: #2a2a4a;
    --coral: #ff9e91;
    --coral-light: #ffb8ae;
    --coral-soft: #3a2525;
    --white: #2a2a4a;
    --cream: #1a1a2e;
    --text-primary: #e8e6f0;
    --text-secondary: #b0adc4;
    --text-muted: #8886a0;
    --border: #3d3d5c;
    --border-light: #2e2e4a;
    --success: #5ed99a;
    --danger: #f07070;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Hero */
.mp-hero[b-ahbq1ljr27] {
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    color: var(--white);
    padding: 2rem 1.5rem;
    text-align: center;
}

.mp-hero-content h1[b-ahbq1ljr27] {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0.5rem 0 0.25rem;
}

.mp-hero-subtitle[b-ahbq1ljr27] {
    font-size: 0.95rem;
    opacity: 0.85;
    margin: 0;
}

.mp-hero-icon svg[b-ahbq1ljr27] {
    width: 36px;
    height: 36px;
    opacity: 0.9;
}

/* Week Navigation */
.mp-week-nav[b-ahbq1ljr27] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 10;
}

.mp-nav-btn[b-ahbq1ljr27] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.15s ease;
}

.mp-nav-btn:hover[b-ahbq1ljr27] {
    background: var(--purple-soft);
    border-color: var(--purple-light);
    color: var(--purple);
}

.mp-today-btn[b-ahbq1ljr27] {
    width: auto;
    padding: 0 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--purple);
}

.mp-week-label[b-ahbq1ljr27] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mp-week-dates[b-ahbq1ljr27] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.mp-current-week-badge[b-ahbq1ljr27] {
    background: var(--purple-soft);
    color: var(--purple);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Main Layout */
.mp-layout[b-ahbq1ljr27] {
    display: flex;
    gap: 0;
    min-height: calc(100vh - 200px);
}

/* Sources Panel */
.mp-sources-panel[b-ahbq1ljr27] {
    width: 280px;
    min-width: 280px;
    border-right: 1px solid var(--border-light);
    background: var(--white);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mp-sources-tabs[b-ahbq1ljr27] {
    display: flex;
    border-bottom: 1px solid var(--border-light);
    flex-shrink: 0;
}

.mp-tab[b-ahbq1ljr27] {
    flex: 1;
    padding: 0.6rem 0.5rem;
    border: none;
    background: none;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s ease;
    border-bottom: 2px solid transparent;
}

.mp-tab:hover[b-ahbq1ljr27] {
    color: var(--purple);
    background: var(--purple-soft);
}

.mp-tab.active[b-ahbq1ljr27] {
    color: var(--purple);
    border-bottom-color: var(--purple);
    font-weight: 600;
}

.mp-sources-content[b-ahbq1ljr27] {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem;
}

.mp-box-selector[b-ahbq1ljr27] {
    padding: 0.25rem 0 0.5rem;
}

.mp-box-selector .form-select[b-ahbq1ljr27] {
    font-size: 0.8rem;
    border-color: var(--border);
    border-radius: var(--radius-sm);
}

.mp-search-bar[b-ahbq1ljr27] {
    display: flex;
    gap: 0.25rem;
    padding: 0.25rem 0 0.5rem;
}

.mp-search-bar .form-control[b-ahbq1ljr27] {
    font-size: 0.8rem;
    border-color: var(--border);
    border-radius: var(--radius-sm);
}

.mp-search-btn[b-ahbq1ljr27] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--purple);
    color: var(--white);
    flex-shrink: 0;
}

.mp-search-btn:hover[b-ahbq1ljr27] {
    background: var(--purple-dark);
}

/* Recipe Cards in Sources */
.mp-recipe-list[b-ahbq1ljr27] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.mp-recipe-card[b-ahbq1ljr27] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem;
    border-radius: var(--radius-sm);
    cursor: grab;
    transition: all 0.15s ease;
    border: 1px solid transparent;
    background: var(--white);
}

.mp-recipe-card:hover[b-ahbq1ljr27] {
    background: var(--purple-soft);
    border-color: var(--purple-light);
}

.mp-recipe-card:active[b-ahbq1ljr27] {
    cursor: grabbing;
}

.mp-recipe-card.planned[b-ahbq1ljr27] {
    background: var(--coral-soft);
    border-color: var(--coral-light);
}

.mp-recipe-thumb[b-ahbq1ljr27] {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.mp-recipe-thumb-placeholder[b-ahbq1ljr27] {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-muted);
}

.mp-recipe-info[b-ahbq1ljr27] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mp-recipe-title[b-ahbq1ljr27] {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mp-planned-badge[b-ahbq1ljr27] {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--coral);
    background: var(--coral-soft);
    padding: 1px 6px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    width: fit-content;
}

/* Loading / Empty states */
.mp-loading[b-ahbq1ljr27] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    padding: 2rem 1rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.mp-empty-state[b-ahbq1ljr27] {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.mp-empty-hint[b-ahbq1ljr27] {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Calendar */
.mp-calendar[b-ahbq1ljr27] {
    flex: 1;
    overflow-x: auto;
    padding: 1rem;
    background: var(--cream);
}

.mp-calendar-loading[b-ahbq1ljr27] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 4rem 1rem;
    color: var(--text-secondary);
}

/* Calendar header */
.mp-calendar-header[b-ahbq1ljr27] {
    display: grid;
    grid-template-columns: 80px repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 4px;
}

.mp-header-cell[b-ahbq1ljr27] {
    text-align: center;
    padding: 0.5rem 0.25rem;
    border-radius: var(--radius-sm);
}

.mp-header-cell.mp-today[b-ahbq1ljr27] {
    background: var(--purple);
    color: var(--white);
}

.mp-meal-label-header[b-ahbq1ljr27] {
    /* Empty header cell for meal label column */
}

.mp-day-name[b-ahbq1ljr27] {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.mp-header-cell.mp-today .mp-day-name[b-ahbq1ljr27] {
    color: rgba(255, 255, 255, 0.85);
}

.mp-day-num[b-ahbq1ljr27] {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.mp-header-cell.mp-today .mp-day-num[b-ahbq1ljr27] {
    color: var(--white);
}

/* Calendar rows */
.mp-calendar-row[b-ahbq1ljr27] {
    display: grid;
    grid-template-columns: 80px repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 4px;
}

.mp-meal-label[b-ahbq1ljr27] {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    padding: 0.5rem 0.25rem;
}

/* Meal slots */
.mp-slot[b-ahbq1ljr27] {
    min-height: 80px;
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    transition: all 0.15s ease;
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.mp-slot.mp-today-slot[b-ahbq1ljr27] {
    border-color: var(--purple-light);
    background: rgba(91, 82, 188, 0.03);
}

.mp-slot.mp-drag-over[b-ahbq1ljr27] {
    border-color: var(--purple);
    background: var(--purple-soft);
    border-style: solid;
    box-shadow: 0 0 0 2px rgba(91, 82, 188, 0.2);
}

.mp-slot.mp-slot-filled[b-ahbq1ljr27] {
    border: 1px solid var(--border);
    border-style: solid;
    align-items: flex-start;
}

/* Container for multiple recipes in a slot */
.mp-slot-recipes[b-ahbq1ljr27] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px;
    width: 100%;
}

/* Slot card (individual recipe within a slot) */
.mp-slot-card[b-ahbq1ljr27] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem;
    width: 100%;
    cursor: grab;
    position: relative;
    background: var(--cream);
    border-radius: 4px;
    border: 1px solid var(--border-light);
    transition: all 0.15s ease;
}

.mp-slot-card:hover[b-ahbq1ljr27] {
    background: var(--purple-soft);
    border-color: var(--purple-light);
}

.mp-slot-card:active[b-ahbq1ljr27] {
    cursor: grabbing;
}

.mp-slot-img[b-ahbq1ljr27] {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.mp-slot-info[b-ahbq1ljr27] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mp-slot-title[b-ahbq1ljr27] {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mp-slot-servings[b-ahbq1ljr27] {
    font-size: 0.55rem;
    color: var(--text-muted);
}

.mp-slot-remove[b-ahbq1ljr27] {
    width: 16px;
    height: 16px;
    border: none;
    background: rgba(236, 90, 90, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.15s ease;
    color: var(--danger);
    flex-shrink: 0;
}

.mp-slot-card:hover .mp-slot-remove[b-ahbq1ljr27] {
    opacity: 1;
}

.mp-slot-remove:hover[b-ahbq1ljr27] {
    background: rgba(236, 90, 90, 0.25);
}

/* Empty slot content */
.mp-slot-empty-desktop[b-ahbq1ljr27] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mp-slot-empty-mobile[b-ahbq1ljr27] {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.mp-slot-day-label[b-ahbq1ljr27] {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.mp-slot-meal-label[b-ahbq1ljr27] {
    font-size: 0.6rem;
    color: var(--text-muted);
}

/* Actions */
.mp-actions[b-ahbq1ljr27] {
    display: flex;
    justify-content: center;
    padding: 1.25rem 0 0.5rem;
}

.mp-action-btn[b-ahbq1ljr27] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border: none;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.mp-shopping-btn[b-ahbq1ljr27] {
    background: var(--purple);
    color: var(--white);
}

.mp-shopping-btn:hover:not(:disabled)[b-ahbq1ljr27] {
    background: var(--purple-dark);
    box-shadow: var(--shadow-md);
}

.mp-shopping-btn:disabled[b-ahbq1ljr27] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Error toast */
.mp-error-toast[b-ahbq1ljr27] {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--danger);
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 4px 16px rgba(236, 90, 90, 0.3);
    animation: slideUp 0.3s ease;
    font-size: 0.85rem;
}

.mp-error-close[b-ahbq1ljr27] {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.7;
    line-height: 1;
}

.mp-error-close:hover[b-ahbq1ljr27] {
    opacity: 1;
}

/* Responsive */
@@media (max-width: 768px) {
    .mp-hero[b-ahbq1ljr27] {
        padding: 1.25rem 1rem;
    }

    .mp-hero-content h1[b-ahbq1ljr27] {
        font-size: 1.3rem;
    }

    .mp-layout[b-ahbq1ljr27] {
        flex-direction: column;
    }

    .mp-sources-panel[b-ahbq1ljr27] {
        width: 100%;
        min-width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        max-height: 250px;
    }

    .mp-calendar[b-ahbq1ljr27] {
        padding: 0.75rem;
    }

    /* On mobile, hide grid header row and meal labels, stack slots */
    .mp-calendar-header[b-ahbq1ljr27] {
        display: none;
    }

    .mp-calendar-row[b-ahbq1ljr27] {
        display: flex;
        flex-direction: column;
        gap: 4px;
        margin-bottom: 0.75rem;
    }

    .mp-meal-label[b-ahbq1ljr27] {
        text-align: left;
        justify-content: flex-start;
        padding: 0.25rem 0;
        font-size: 0.8rem;
        border-bottom: 1px solid var(--border-light);
    }

    .mp-slot[b-ahbq1ljr27] {
        min-height: 60px;
    }

    .mp-slot-empty-desktop[b-ahbq1ljr27] {
        display: none;
    }

    .mp-slot-empty-mobile[b-ahbq1ljr27] {
        display: flex;
    }

    .mp-week-nav[b-ahbq1ljr27] {
        gap: 0.5rem;
        padding: 0.75rem 1rem;
    }

    .mp-week-dates[b-ahbq1ljr27] {
        font-size: 0.85rem;
    }
}

@@media (min-width: 769px) and (max-width: 1024px) {
    .mp-sources-panel[b-ahbq1ljr27] {
        width: 240px;
        min-width: 240px;
    }

    .mp-slot[b-ahbq1ljr27] {
        min-height: 70px;
    }
}

@@media (min-width: 1200px) {
    .mp-sources-panel[b-ahbq1ljr27] {
        width: 300px;
        min-width: 300px;
    }

    .mp-slot[b-ahbq1ljr27] {
        min-height: 90px;
    }
}

/* Animation */
@@keyframes slideUp {
    from[b-ahbq1ljr27] {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to[b-ahbq1ljr27] {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ============================================
   MOBILE TOUCH DEVICE STYLES
   ============================================ */

/* Help button in navigation */
.mp-help-btn[b-ahbq1ljr27] {
    color: var(--purple);
}

/* Mobile Help Panel */
.mp-mobile-help[b-ahbq1ljr27] {
    background: var(--purple-soft);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
    animation: slideDown 0.2s ease;
}

.mp-help-header[b-ahbq1ljr27] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.mp-help-header span[b-ahbq1ljr27] {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--purple);
}

.mp-help-close[b-ahbq1ljr27] {
    width: 28px;
    height: 28px;
    border: none;
    background: none;
    font-size: 1.2rem;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mp-help-close:hover[b-ahbq1ljr27] {
    background: var(--white);
    color: var(--text-primary);
}

.mp-help-content[b-ahbq1ljr27] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mp-help-item[b-ahbq1ljr27] {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.mp-help-icon[b-ahbq1ljr27] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--purple);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

@@keyframes slideDown {
    from[b-ahbq1ljr27] {
        opacity: 0;
        transform: translateY(-10px);
    }
    to[b-ahbq1ljr27] {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile layout container */
.mp-layout-mobile[b-ahbq1ljr27] {
    display: flex;
    flex-direction: column;
}

.mp-calendar-mobile[b-ahbq1ljr27] {
    padding-bottom: 100px; /* Space for FAB */
}

/* Mobile Day Header */
.mp-mobile-day-header[b-ahbq1ljr27] {
    display: grid;
    grid-template-columns: 50px repeat(7, minmax(0, 1fr));
    gap: 2px;
    margin-bottom: 8px;
    position: sticky;
    top: 0;
    background: var(--cream);
    z-index: 5;
    padding: 8px 0;
}

.mp-mobile-day-label-spacer[b-ahbq1ljr27] {
    /* Empty space to align with meal labels */
}

.mp-mobile-day-cell[b-ahbq1ljr27] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px 2px;
    border-radius: 6px;
    min-width: 0;
}

.mp-mobile-day-cell.mp-mobile-today[b-ahbq1ljr27] {
    background: var(--purple);
    color: var(--white);
}

.mp-mobile-day-name[b-ahbq1ljr27] {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--text-secondary);
}

.mp-mobile-day-cell.mp-mobile-today .mp-mobile-day-name[b-ahbq1ljr27] {
    color: rgba(255, 255, 255, 0.85);
}

.mp-mobile-day-num[b-ahbq1ljr27] {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.mp-mobile-day-cell.mp-mobile-today .mp-mobile-day-num[b-ahbq1ljr27] {
    color: var(--white);
}

/* Mobile calendar grid layout (horizontal days) */
.mp-layout-mobile .mp-calendar-row[b-ahbq1ljr27] {
    display: grid;
    grid-template-columns: 50px repeat(7, minmax(0, 1fr));
    gap: 2px;
    margin-bottom: 4px;
}

.mp-layout-mobile .mp-meal-label[b-ahbq1ljr27] {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    color: var(--text-secondary);
    padding: 0.25rem 2px;
    text-align: center;
    border-bottom: none;
}

.mp-layout-mobile .mp-slot[b-ahbq1ljr27] {
    min-height: 50px;
    padding: 2px;
}

.mp-layout-mobile .mp-slot-empty-mobile[b-ahbq1ljr27] {
    display: none; /* Hide since we have day header now */
}

.mp-layout-mobile .mp-slot-empty-desktop[b-ahbq1ljr27] {
    display: flex;
}

.mp-layout-mobile .mp-slot-card[b-ahbq1ljr27] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2px;
    position: relative;
    width: 100%;
}

.mp-layout-mobile .mp-slot-img[b-ahbq1ljr27] {
    width: 26px;
    height: 26px;
    border-radius: 4px;
}

/* Hide title on mobile - only show image */
.mp-layout-mobile .mp-slot-info[b-ahbq1ljr27] {
    display: none;
}

.mp-layout-mobile .mp-slot-title[b-ahbq1ljr27] {
    display: none;
}

.mp-layout-mobile .mp-slot-servings[b-ahbq1ljr27] {
    display: none;
}

/* Absolute position remove button */
.mp-layout-mobile .mp-slot-remove[b-ahbq1ljr27] {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    opacity: 1;
    z-index: 1;
}

/* Recipe count badge for multiple recipes */
.mp-layout-mobile .mp-slot-count[b-ahbq1ljr27] {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--purple);
    color: white;
    font-size: 0.45rem;
    font-weight: 700;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Long-press tooltip for recipe title */
.mp-layout-mobile .mp-slot-card[data-title]:active[b-ahbq1ljr27]::after {
    content: attr(data-title);
    position: fixed;
    left: 50%;
    bottom: 25%;
    transform: translateX(-50%);
    background: rgba(45, 42, 62, 0.95);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 1000;
    max-width: 80vw;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}

/* Floating Action Button */
.mp-fab[b-ahbq1ljr27] {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 28px;
    background: var(--purple);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 16px rgba(91, 82, 188, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mp-fab:hover[b-ahbq1ljr27] {
    background: var(--purple-dark);
    box-shadow: 0 6px 20px rgba(91, 82, 188, 0.45);
    transform: scale(1.05);
}

.mp-fab:active[b-ahbq1ljr27] {
    transform: scale(0.95);
}

/* Drop target highlight for mobile tap-to-place */
.mp-slot.mp-drop-target[b-ahbq1ljr27] {
    border-color: var(--purple);
    border-style: solid;
    animation: pulse-border 1.5s infinite;
}

/* Tap feedback animation for slots */
.mp-slot:active[b-ahbq1ljr27] {
    transform: scale(0.98);
}

.mp-slot.mp-drop-target:active[b-ahbq1ljr27] {
    background: var(--purple-soft);
    border-color: var(--purple-dark);
}

/* Selected meal for moving */
.mp-slot-card.selected-for-move[b-ahbq1ljr27] {
    border: 2px solid var(--coral);
    background: var(--coral-soft);
    animation: pulse-border-coral 1.5s infinite;
}

/* Mobile selection bar (for moving meals) */
.mp-mobile-selection-bar[b-ahbq1ljr27] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--purple-soft);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    z-index: 100;
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
}

.mp-mobile-selection-bar .mp-selection-text[b-ahbq1ljr27] {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

.mp-mobile-selection-bar .mp-cancel-btn[b-ahbq1ljr27] {
    padding: 8px 20px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--white);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.mp-mobile-selection-bar .mp-cancel-btn:hover[b-ahbq1ljr27] {
    background: var(--danger);
    border-color: var(--danger);
    color: var(--white);
}

/* Pulse animation for drop targets */
@@keyframes pulse-border {
    0%[b-ahbq1ljr27], 100%[b-ahbq1ljr27] {
        box-shadow: 0 0 0 0 rgba(91, 82, 188, 0.4);
    }
    50%[b-ahbq1ljr27] {
        box-shadow: 0 0 0 6px rgba(91, 82, 188, 0.15);
    }
}

@@keyframes pulse-border-coral {
    0%[b-ahbq1ljr27], 100%[b-ahbq1ljr27] {
        box-shadow: 0 0 0 0 rgba(255, 134, 117, 0.4);
    }
    50%[b-ahbq1ljr27] {
        box-shadow: 0 0 0 6px rgba(255, 134, 117, 0.15);
    }
}

/* Touch device cursor adjustments */
@@media (hover: none) and (pointer: coarse) {
    .mp-recipe-card[b-ahbq1ljr27] {
        cursor: pointer;
    }

    .mp-slot-card[b-ahbq1ljr27] {
        cursor: pointer;
    }

    .mp-slot[b-ahbq1ljr27] {
        cursor: pointer;
    }

    /* Always show remove button on touch devices */
    .mp-slot-card .mp-slot-remove[b-ahbq1ljr27] {
        opacity: 1;
    }
}

/* Reduced motion support */
@@media (prefers-reduced-motion: reduce) {
    .mp-fab[b-ahbq1ljr27] {
        transition: none;
    }

    .mp-fab:hover[b-ahbq1ljr27],
    .mp-fab:active[b-ahbq1ljr27] {
        transform: none;
    }

    .mp-slot.mp-drop-target[b-ahbq1ljr27] {
        animation: none;
        border-width: 3px;
    }

    .mp-slot-card.selected-for-move[b-ahbq1ljr27] {
        animation: none;
        border-width: 3px;
    }
}
/* /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;
}

/* 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;
    }
}

/* 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;
    }
}

/* Fork-related styles */
.fork-attribution-wrapper[b-ms8figkm6t] {
    margin: 0.5rem 0;
}

.fork-stats-row[b-ms8figkm6t] {
    margin-top: 0.5rem;
}

.fork-stats-btn[b-ms8figkm6t] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    background: transparent;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    color: #667eea;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fork-stats-btn:hover[b-ms8figkm6t] {
    background: rgba(102, 126, 234, 0.08);
    border-color: #667eea;
}

.fork-stats-btn svg[b-ms8figkm6t] {
    color: #667eea;
}

.suggest-improvement-row[b-ms8figkm6t] {
    margin-top: 0.5rem;
}

.suggest-improvement-btn[b-ms8figkm6t] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(74, 93, 201, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    color: #667eea;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.suggest-improvement-btn:hover[b-ms8figkm6t] {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(74, 93, 201, 0.15) 100%);
    border-color: #667eea;
    transform: translateY(-1px);
}

/* Dark mode support */
:global([data-theme='dark']) .recipe-content[b-ms8figkm6t] {
    background: var(--bg-card);
    box-shadow: 0 2px 8px var(--shadow-color);
}

:global([data-theme='dark']) .recipe-header-section[b-ms8figkm6t] {
    background: linear-gradient(to bottom, rgba(255,255,255,0.03) 0%, transparent 100%);
}

:global([data-theme='dark']) .recipe-title[b-ms8figkm6t] {
    color: var(--text-primary);
}

:global([data-theme='dark']) .recipe-description[b-ms8figkm6t] {
    color: var(--text-secondary);
}

:global([data-theme='dark']) .meta-item[b-ms8figkm6t] {
    color: var(--text-secondary);
}

:global([data-theme='dark']) .recipe-times[b-ms8figkm6t] {
    background: var(--surface-elevated);
    box-shadow: 0 2px 4px var(--shadow-color);
}

:global([data-theme='dark']) .time-label[b-ms8figkm6t] {
    color: var(--text-muted);
}

:global([data-theme='dark']) .time-value[b-ms8figkm6t] {
    color: var(--text-primary);
}

:global([data-theme='dark']) .recipe-section[b-ms8figkm6t] {
    background: var(--surface-elevated);
}

:global([data-theme='dark']) .section-title[b-ms8figkm6t] {
    color: var(--text-primary);
}

:global([data-theme='dark']) .ingredients-list li[b-ms8figkm6t],
:global([data-theme='dark']) .equipment-list li[b-ms8figkm6t] {
    background: var(--bg-card);
    box-shadow: 0 1px 3px var(--shadow-color);
}

:global([data-theme='dark']) .instructions-list li[b-ms8figkm6t] {
    background: var(--bg-card);
    box-shadow: 0 1px 3px var(--shadow-color);
}

:global([data-theme='dark']) .instructions-text[b-ms8figkm6t] {
    background: var(--bg-card);
}

:global([data-theme='dark']) .cookbook-title[b-ms8figkm6t] {
    color: var(--text-primary);
    background: var(--bg-card);
}

:global([data-theme='dark']) .edit-label[b-ms8figkm6t] {
    color: var(--text-secondary);
}

/* Dark mode for fork elements */
:global([data-theme='dark']) .fork-stats-btn[b-ms8figkm6t] {
    border-color: var(--border-color);
    color: #8b9ef5;
}

:global([data-theme='dark']) .fork-stats-btn:hover[b-ms8figkm6t] {
    background: rgba(102, 126, 234, 0.15);
    border-color: #8b9ef5;
}

:global([data-theme='dark']) .fork-stats-btn svg[b-ms8figkm6t] {
    color: #8b9ef5;
}

:global([data-theme='dark']) .suggest-improvement-btn[b-ms8figkm6t] {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(139, 158, 245, 0.3);
    color: #8b9ef5;
}

:global([data-theme='dark']) .suggest-improvement-btn:hover[b-ms8figkm6t] {
    background: rgba(102, 126, 234, 0.2);
    border-color: #8b9ef5;
}

/* Edit Mode Styles */
.edit-field[b-ms8figkm6t] {
    margin-bottom: 1rem;
}

.edit-label[b-ms8figkm6t] {
    font-weight: 600;
    font-size: 0.875rem;
    color: #555;
    margin-bottom: 0.25rem;
    display: block;
}

.edit-meta-grid[b-ms8figkm6t] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 0.5rem;
}

[b-ms8figkm6t] .edit-field .form-control {
    border: 1px solid #ddd;
    border-radius: 0.375rem;
    transition: border-color 0.2s;
}

[b-ms8figkm6t] .edit-field .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}
/* /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/ReviewSuggestions.razor.rz.scp.css */
.suggestions-page[b-rzx0qqd8zt] {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.page-header[b-rzx0qqd8zt] {
    margin-bottom: 2rem;
}

.page-header h1[b-rzx0qqd8zt] {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary, #333);
    margin: 0 0 0.5rem;
}

.page-description[b-rzx0qqd8zt] {
    color: var(--text-secondary, #666);
    margin: 0;
}

.loading-state[b-rzx0qqd8zt],
.empty-state[b-rzx0qqd8zt] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-secondary, #666);
}

.empty-state h3[b-rzx0qqd8zt] {
    margin: 1rem 0 0.5rem;
    font-size: 1.25rem;
    color: var(--text-primary, #333);
}

.empty-state p[b-rzx0qqd8zt] {
    margin: 0;
    max-width: 400px;
}

.suggestions-list[b-rzx0qqd8zt] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.suggestion-card[b-rzx0qqd8zt] {
    background: white;
    border-radius: 12px;
    border: 1px solid #eee;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.suggestion-card:hover[b-rzx0qqd8zt] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.suggestion-card.expanded[b-rzx0qqd8zt] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.suggestion-header[b-rzx0qqd8zt] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.suggestion-header:hover[b-rzx0qqd8zt] {
    background: #f8f9fa;
}

.suggester-info[b-rzx0qqd8zt] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.suggester-avatar[b-rzx0qqd8zt] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.suggester-avatar.placeholder[b-rzx0qqd8zt] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4a9c6d 0%, #2d7a4f 100%);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.suggester-details[b-rzx0qqd8zt] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.suggester-name[b-rzx0qqd8zt] {
    font-weight: 500;
    color: var(--text-primary, #333);
}

.suggestion-time[b-rzx0qqd8zt] {
    font-size: 0.8rem;
    color: var(--text-muted, #888);
}

.recipe-info[b-rzx0qqd8zt] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
}

.recipe-label[b-rzx0qqd8zt] {
    color: var(--text-muted, #888);
    font-size: 0.9rem;
}

.recipe-link[b-rzx0qqd8zt] {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recipe-link:hover[b-rzx0qqd8zt] {
    text-decoration: underline;
}

.expand-btn[b-rzx0qqd8zt] {
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: var(--text-muted, #888);
    transition: color 0.2s ease;
}

.expand-btn:hover[b-rzx0qqd8zt] {
    color: var(--text-primary, #333);
}

.expand-btn svg[b-rzx0qqd8zt] {
    transition: transform 0.2s ease;
}

.expand-btn svg.rotated[b-rzx0qqd8zt] {
    transform: rotate(180deg);
}

.suggestion-body[b-rzx0qqd8zt] {
    padding: 0 1.25rem 1.25rem;
    border-top: 1px solid #eee;
    animation: slideDown 0.2s ease;
}

@@keyframes slideDown {
    from[b-rzx0qqd8zt] {
        opacity: 0;
        max-height: 0;
    }
    to[b-rzx0qqd8zt] {
        opacity: 1;
        max-height: 500px;
    }
}

.change-summary-section[b-rzx0qqd8zt],
.message-section[b-rzx0qqd8zt] {
    padding-top: 1rem;
}

.suggestion-body h6[b-rzx0qqd8zt] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted, #888);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 0.5rem;
}

.change-summary-text[b-rzx0qqd8zt] {
    margin: 0;
    color: var(--text-primary, #333);
    line-height: 1.5;
}

.suggester-message[b-rzx0qqd8zt] {
    margin: 0;
    color: var(--text-secondary, #666);
    font-style: italic;
    line-height: 1.5;
}

.actions-section[b-rzx0qqd8zt] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.25rem;
    margin-top: 1rem;
    border-top: 1px solid #eee;
}

.view-diff-btn[b-rzx0qqd8zt] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.75rem;
    background: none;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #666;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-diff-btn:hover[b-rzx0qqd8zt] {
    background: #f8f9fa;
    color: #333;
}

.decision-buttons[b-rzx0qqd8zt] {
    display: flex;
    gap: 0.5rem;
}

.decline-btn[b-rzx0qqd8zt],
.accept-btn[b-rzx0qqd8zt] {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.decline-btn[b-rzx0qqd8zt] {
    background: white;
    border: 1px solid #dc3545;
    color: #dc3545;
}

.decline-btn:hover:not(:disabled)[b-rzx0qqd8zt] {
    background: #dc3545;
    color: white;
}

.accept-btn[b-rzx0qqd8zt] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #4a9c6d 0%, #2d7a4f 100%);
    border: none;
    color: white;
}

.accept-btn:hover:not(:disabled)[b-rzx0qqd8zt] {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.decline-btn:disabled[b-rzx0qqd8zt],
.accept-btn:disabled[b-rzx0qqd8zt] {
    opacity: 0.6;
    cursor: not-allowed;
}

.response-section[b-rzx0qqd8zt] {
    padding-top: 1rem;
}

.response-section label[b-rzx0qqd8zt] {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted, #888);
    margin-bottom: 0.35rem;
}

.response-section textarea[b-rzx0qqd8zt] {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
    transition: border-color 0.2s ease;
}

.response-section textarea:focus[b-rzx0qqd8zt] {
    outline: none;
    border-color: #4a9c6d;
}

/* Diff Modal Styles */
.modal-backdrop[b-rzx0qqd8zt] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.modal-content.diff-modal[b-rzx0qqd8zt] {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 900px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    margin: 1rem;
}

.modal-header[b-rzx0qqd8zt] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #eee;
}

.modal-title[b-rzx0qqd8zt] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.close-btn[b-rzx0qqd8zt] {
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: #666;
    border-radius: 4px;
}

.close-btn:hover[b-rzx0qqd8zt] {
    background: #f0f0f0;
    color: #333;
}

.modal-body[b-rzx0qqd8zt] {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
}

.diff-columns[b-rzx0qqd8zt] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.diff-column h6[b-rzx0qqd8zt] {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.diff-column.original h6[b-rzx0qqd8zt] {
    color: #6c757d;
}

.diff-column.forked h6[b-rzx0qqd8zt] {
    color: #4a9c6d;
}

.recipe-snapshot[b-rzx0qqd8zt] {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
}

.field-group[b-rzx0qqd8zt] {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.field-group:last-child[b-rzx0qqd8zt] {
    border-bottom: none;
    padding-bottom: 0;
}

.field-group:first-child[b-rzx0qqd8zt] {
    padding-top: 0;
}

.field-group.changed[b-rzx0qqd8zt] {
    background: rgba(40, 167, 69, 0.1);
    margin: 0 -0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border-radius: 4px;
}

.field-label[b-rzx0qqd8zt] {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #888;
    margin-bottom: 0.25rem;
}

.field-value[b-rzx0qqd8zt] {
    color: #333;
    line-height: 1.4;
}

.ingredient-list[b-rzx0qqd8zt] {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.9rem;
}

.ingredient-list li[b-rzx0qqd8zt] {
    margin-bottom: 0.25rem;
}

.ingredient-list li.more[b-rzx0qqd8zt] {
    color: #888;
    font-style: italic;
}

/* Mobile responsive */
@@media (max-width: 768px) {
    .suggestion-header[b-rzx0qqd8zt] {
        flex-wrap: wrap;
    }

    .recipe-info[b-rzx0qqd8zt] {
        flex-basis: 100%;
        order: 3;
        padding-top: 0.5rem;
    }

    .actions-section[b-rzx0qqd8zt] {
        flex-direction: column;
        align-items: stretch;
    }

    .decision-buttons[b-rzx0qqd8zt] {
        flex-direction: column;
    }

    .diff-columns[b-rzx0qqd8zt] {
        grid-template-columns: 1fr;
    }
}

/* Dark mode */
:global([data-theme='dark']) .suggestion-card[b-rzx0qqd8zt] {
    background: var(--bg-card);
    border-color: var(--border-color);
}

:global([data-theme='dark']) .suggestion-header:hover[b-rzx0qqd8zt] {
    background: var(--dropdown-hover-bg);
}

:global([data-theme='dark']) .suggestion-body[b-rzx0qqd8zt] {
    border-color: var(--border-color);
}

:global([data-theme='dark']) .view-diff-btn[b-rzx0qqd8zt] {
    border-color: var(--border-color);
    color: var(--text-secondary);
}

:global([data-theme='dark']) .view-diff-btn:hover[b-rzx0qqd8zt] {
    background: var(--surface-elevated);
    color: var(--text-primary);
}

:global([data-theme='dark']) .decline-btn[b-rzx0qqd8zt] {
    background: transparent;
    border-color: var(--danger-color);
    color: var(--danger-color);
}

:global([data-theme='dark']) .response-section textarea[b-rzx0qqd8zt] {
    background: var(--surface-elevated);
    border-color: var(--border-color);
    color: var(--text-primary);
}

:global([data-theme='dark']) .actions-section[b-rzx0qqd8zt] {
    border-color: var(--border-color);
}

:global([data-theme='dark']) .modal-backdrop[b-rzx0qqd8zt] {
    background: var(--modal-backdrop);
}

:global([data-theme='dark']) .modal-content.diff-modal[b-rzx0qqd8zt] {
    background: var(--surface-elevated);
}

:global([data-theme='dark']) .modal-header[b-rzx0qqd8zt] {
    border-color: var(--border-color);
}

:global([data-theme='dark']) .close-btn[b-rzx0qqd8zt] {
    color: var(--text-secondary);
}

:global([data-theme='dark']) .close-btn:hover[b-rzx0qqd8zt] {
    background: var(--dropdown-hover-bg);
    color: var(--text-primary);
}

:global([data-theme='dark']) .recipe-snapshot[b-rzx0qqd8zt] {
    background: var(--bg-card);
}

:global([data-theme='dark']) .field-group[b-rzx0qqd8zt] {
    border-color: var(--border-color);
}

:global([data-theme='dark']) .field-value[b-rzx0qqd8zt] {
    color: var(--text-primary);
}
/* /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;
}

/* Dark theme overrides for search page local variables */
:global([data-theme='dark']) .chefly-search-page[b-qbf681nyw7] {
    --purple: #8b83d9;
    --purple-dark: #a59eef;
    --purple-light: #9b94e0;
    --purple-soft: #252836;
    --coral: #ff9e91;
    --coral-light: #ffb8ae;
    --coral-soft: #3a2525;
    --white: #1e2235;
    --cream: #0f1117;
    --gray-50: #151821;
    --gray-100: #1a1d27;
    --gray-200: #2d3148;
    --gray-400: #9ba8cc;
    --gray-600: #c4c9e2;
    --gray-800: #f0f4ff;
    --text-primary: #f0f4ff;
    --text-secondary: #c4c9e2;
    --text-muted: #9ba8cc;
}

/* Dark theme: override hero background-image (light gradient is hardcoded via background shorthand) */
:global([data-theme='dark']) .hero[b-qbf681nyw7] {
    background: linear-gradient(160deg, #181c2e 0%, #1e2240 100%);
}

/* Dark theme: search results and features sections */
:global([data-theme='dark']) .search-results[b-qbf681nyw7] {
    background: #0f1117;
}

:global([data-theme='dark']) .features[b-qbf681nyw7] {
    background: #1e2235;
}

:global([data-theme='dark']) .recipes[b-qbf681nyw7] {
    background: #151821;
}

/* Dark theme: search box shadow */
:global([data-theme='dark']) .search-box[b-qbf681nyw7] {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    border-color: #2d3148;
}

:global([data-theme='dark']) .search-box.focused[b-qbf681nyw7] {
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.5);
}

/* Dark theme: recipe cards */
:global([data-theme='dark'])[b-qbf681nyw7]  .search-result-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid #2d3148;
}

:global([data-theme='dark'])[b-qbf681nyw7]  .search-result-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

:global([data-theme='dark'])[b-qbf681nyw7]  .popular-recipe-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid #2d3148;
}

:global([data-theme='dark'])[b-qbf681nyw7]  .popular-recipe-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

/* Dark theme: recipe source badge */
:global([data-theme='dark'])[b-qbf681nyw7]  .search-result-card .recipe-source {
    background: #2a2f4a;
    color: #9ba8cc;
}

/* Dark theme: popular recipe image placeholder gradient */
:global([data-theme='dark'])[b-qbf681nyw7]  .popular-recipe-image {
    background: linear-gradient(135deg, #1e2235, #252836);
}

:global([data-theme='dark'])[b-qbf681nyw7]  .recipe-image {
    background: linear-gradient(135deg, #1e2235, #252836);
}

:global([data-theme='dark'])[b-qbf681nyw7]  .recipe-image.placeholder {
    background: linear-gradient(135deg, #1e2235, #252836);
}

/* Dark theme: chat filters background */
:global([data-theme='dark']) .chat-filters[b-qbf681nyw7] {
    background: linear-gradient(135deg, rgba(139, 131, 217, 0.08) 0%, rgba(155, 148, 224, 0.12) 100%);
}

/* Dark theme: footer text remains light on dark bg */
:global([data-theme='dark']) .site-footer[b-qbf681nyw7] {
    background: #0f1117;
}

/* Dark theme: CTA section */
:global([data-theme='dark']) .cta[b-qbf681nyw7] {
    background: #252836;
}

:global([data-theme='dark']) .cta h2[b-qbf681nyw7] {
    color: #f0f4ff;
}

:global([data-theme='dark']) .cta p[b-qbf681nyw7] {
    color: #c4c9e2;
}

:global([data-theme='dark']) .cta-btn[b-qbf681nyw7] {
    background: #8b83d9;
    color: #f0f4ff;
}

/* 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: var(--text-primary);
}

.hero h1 span[b-qbf681nyw7] {
    color: var(--purple);
}

.hero-subtitle[b-qbf681nyw7] {
    font-size: 1.1rem;
    color: var(--text-secondary);
    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);
    opacity: 0.6;
}

.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;
}

/* Chat-applied filters styling */
.chat-filters[b-qbf681nyw7] {
    background: linear-gradient(135deg, rgba(91, 82, 188, 0.05) 0%, rgba(113, 105, 212, 0.08) 100%);
    border-radius: 12px;
    padding: 0.75rem 1rem;
}

.chat-filters .active-filters-label[b-qbf681nyw7] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: var(--purple);
}

.chat-filters .active-filters-label svg[b-qbf681nyw7] {
    stroke: var(--purple);
}

/* Category filter chip */
.filter-chip.category-filter[b-qbf681nyw7] {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-color: #818cf8;
    color: #4338ca;
}

.filter-chip.category-filter .chip-remove[b-qbf681nyw7] {
    background: rgba(67, 56, 202, 0.15);
    color: #4338ca;
}

.filter-chip.category-filter .chip-remove:hover[b-qbf681nyw7] {
    background: #4338ca;
    color: white;
}

/* Cuisine filter chip */
.filter-chip.cuisine-filter[b-qbf681nyw7] {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #f59e0b;
    color: #b45309;
}

.filter-chip.cuisine-filter .chip-remove[b-qbf681nyw7] {
    background: rgba(180, 83, 9, 0.15);
    color: #b45309;
}

.filter-chip.cuisine-filter .chip-remove:hover[b-qbf681nyw7] {
    background: #b45309;
    color: white;
}

/* Ingredient filter chip */
.filter-chip.ingredient-filter[b-qbf681nyw7] {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-color: #10b981;
    color: #047857;
}

.filter-chip.ingredient-filter .chip-remove[b-qbf681nyw7] {
    background: rgba(4, 120, 87, 0.15);
    color: #047857;
}

.filter-chip.ingredient-filter .chip-remove:hover[b-qbf681nyw7] {
    background: #047857;
    color: white;
}

/* Time filter chip */
.filter-chip.time-filter[b-qbf681nyw7] {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-color: #3b82f6;
    color: #1d4ed8;
}

.filter-chip.time-filter .chip-remove[b-qbf681nyw7] {
    background: rgba(29, 78, 216, 0.15);
    color: #1d4ed8;
}

.filter-chip.time-filter .chip-remove:hover[b-qbf681nyw7] {
    background: #1d4ed8;
    color: white;
}

/* Health filter chip */
.filter-chip.health-filter[b-qbf681nyw7] {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border-color: #22c55e;
    color: #15803d;
}

.filter-chip.health-filter .chip-remove[b-qbf681nyw7] {
    background: rgba(21, 128, 61, 0.15);
    color: #15803d;
}

.filter-chip.health-filter .chip-remove:hover[b-qbf681nyw7] {
    background: #15803d;
    color: white;
}

/* Diet filter chip */
.filter-chip.diet-filter[b-qbf681nyw7] {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #4ade80;
    color: #166534;
}

.filter-chip.diet-filter .chip-remove[b-qbf681nyw7] {
    background: rgba(22, 101, 52, 0.15);
    color: #166534;
}

.filter-chip.diet-filter .chip-remove:hover[b-qbf681nyw7] {
    background: #166534;
    color: white;
}

/* Dark theme: filter chip overrides for hardcoded colors */
:global([data-theme='dark']) .filter-chip[b-qbf681nyw7] {
    color: #ffb8ae;
}

:global([data-theme='dark']) .filter-chip .chip-remove[b-qbf681nyw7] {
    background: rgba(255, 184, 174, 0.15);
    color: #ffb8ae;
}

:global([data-theme='dark']) .filter-chip .chip-remove:hover[b-qbf681nyw7] {
    background: #ff9e91;
    color: #0f1117;
}

:global([data-theme='dark']) .filter-chip.negative-keyword[b-qbf681nyw7] {
    background: #2a1515;
    border-color: #ef4444;
    color: #fca5a5;
}

:global([data-theme='dark']) .filter-chip.category-filter[b-qbf681nyw7] {
    background: linear-gradient(135deg, #1e2040 0%, #252850 100%);
    border-color: #818cf8;
    color: #a5b4fc;
}

:global([data-theme='dark']) .filter-chip.category-filter .chip-remove[b-qbf681nyw7] {
    background: rgba(165, 180, 252, 0.15);
    color: #a5b4fc;
}

:global([data-theme='dark']) .filter-chip.category-filter .chip-remove:hover[b-qbf681nyw7] {
    background: #818cf8;
    color: #0f1117;
}

:global([data-theme='dark']) .filter-chip.cuisine-filter[b-qbf681nyw7] {
    background: linear-gradient(135deg, #2a2510 0%, #302a15 100%);
    border-color: #f59e0b;
    color: #fde68a;
}

:global([data-theme='dark']) .filter-chip.cuisine-filter .chip-remove[b-qbf681nyw7] {
    background: rgba(253, 230, 138, 0.15);
    color: #fde68a;
}

:global([data-theme='dark']) .filter-chip.cuisine-filter .chip-remove:hover[b-qbf681nyw7] {
    background: #f59e0b;
    color: #0f1117;
}

:global([data-theme='dark']) .filter-chip.ingredient-filter[b-qbf681nyw7] {
    background: linear-gradient(135deg, #0f2a1a 0%, #133020 100%);
    border-color: #10b981;
    color: #6ee7b7;
}

:global([data-theme='dark']) .filter-chip.ingredient-filter .chip-remove[b-qbf681nyw7] {
    background: rgba(110, 231, 183, 0.15);
    color: #6ee7b7;
}

:global([data-theme='dark']) .filter-chip.ingredient-filter .chip-remove:hover[b-qbf681nyw7] {
    background: #10b981;
    color: #0f1117;
}

:global([data-theme='dark']) .filter-chip.time-filter[b-qbf681nyw7] {
    background: linear-gradient(135deg, #0f1a2a 0%, #132030 100%);
    border-color: #3b82f6;
    color: #93c5fd;
}

:global([data-theme='dark']) .filter-chip.time-filter .chip-remove[b-qbf681nyw7] {
    background: rgba(147, 197, 253, 0.15);
    color: #93c5fd;
}

:global([data-theme='dark']) .filter-chip.time-filter .chip-remove:hover[b-qbf681nyw7] {
    background: #3b82f6;
    color: #0f1117;
}

:global([data-theme='dark']) .filter-chip.health-filter[b-qbf681nyw7] {
    background: linear-gradient(135deg, #0f2a1a 0%, #133020 100%);
    border-color: #22c55e;
    color: #86efac;
}

:global([data-theme='dark']) .filter-chip.health-filter .chip-remove[b-qbf681nyw7] {
    background: rgba(134, 239, 172, 0.15);
    color: #86efac;
}

:global([data-theme='dark']) .filter-chip.health-filter .chip-remove:hover[b-qbf681nyw7] {
    background: #22c55e;
    color: #0f1117;
}

:global([data-theme='dark']) .filter-chip.diet-filter[b-qbf681nyw7] {
    background: linear-gradient(135deg, #102a15 0%, #153020 100%);
    border-color: #4ade80;
    color: #bbf7d0;
}

:global([data-theme='dark']) .filter-chip.diet-filter .chip-remove[b-qbf681nyw7] {
    background: rgba(187, 247, 208, 0.15);
    color: #bbf7d0;
}

:global([data-theme='dark']) .filter-chip.diet-filter .chip-remove:hover[b-qbf681nyw7] {
    background: #4ade80;
    color: #0f1117;
}

/* Clear all filters button */
.btn-clear-filters[b-qbf681nyw7] {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
    background: transparent;
    border: 1px dashed var(--gray-400);
    border-radius: 20px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-clear-filters:hover[b-qbf681nyw7] {
    background: var(--gray-100);
    border-color: var(--gray-600);
    color: var(--text-secondary);
}

.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.4rem 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;
}

.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-200);
    animation: slideDown 0.3s ease;
    overflow-x: hidden;
    width: 100%;
}

@@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;
    box-sizing: border-box;
    width: 100%;
}

.advanced-search-grid[b-qbf681nyw7] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1.5rem; /* Fallback for older browsers */
    gap: 1.5rem;
    box-sizing: border-box;
    width: 100%;
}

/* Tablet: 2 columns */
@media (max-width: 900px) {
    .advanced-search-panel .container[b-qbf681nyw7] {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .advanced-search-grid[b-qbf681nyw7] {
        grid-template-columns: repeat(2, 1fr);
    }
}

.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;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    background-color: var(--white);
    color: var(--text-primary);
}

.form-input[b-qbf681nyw7]::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.form-input:focus[b-qbf681nyw7] {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(91, 82, 188, 0.15);
}

.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;
}

.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: var(--white) !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: var(--white);
}

[b-qbf681nyw7] .search-result-card .recipe-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    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: var(--purple-soft);
    color: var(--purple);
    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: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    flex-wrap: wrap;
}

[b-qbf681nyw7] .search-result-card .recipe-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    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: var(--white);
    color: var(--purple);
    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: var(--purple);
    color: var(--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: var(--white);
    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: var(--text-primary);
}

[b-qbf681nyw7] .search-result-card .overlay-content p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    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: var(--text-secondary);
    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: var(--white) !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: var(--white);
}

[b-qbf681nyw7] .recipe-tag {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: var(--purple-soft);
    color: var(--purple);
    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: var(--text-primary);
    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: var(--text-muted);
    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: var(--white);
    color: var(--purple);
}

[b-qbf681nyw7] .action-btn.save:hover {
    background: var(--purple);
    color: var(--white);
}

[b-qbf681nyw7] .action-btn.save:hover svg {
    stroke: white;
}

[b-qbf681nyw7] .action-btn.search {
    background: var(--white);
    color: var(--text-secondary);
}

[b-qbf681nyw7] .action-btn.search:hover {
    background: var(--purple-soft);
    color: var(--purple);
}

[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: var(--gray-50);
    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: var(--purple-soft);
    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: var(--text-primary);
}

[b-qbf681nyw7] .feature-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    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: var(--white);
    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: var(--white);
}

[b-qbf681nyw7] .popular-recipe-tag {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: var(--purple-soft);
    color: var(--purple);
    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: var(--text-primary);
    margin: 0 0 0.35rem 0;
}

[b-qbf681nyw7] .popular-recipe-meta {
    display: flex;
    gap: 0.75rem;
    color: var(--text-muted);
    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: var(--gray-800);
    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;
}

.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;
    }

    .hint-tag[b-qbf681nyw7] {
        padding: 0.35rem 0.7rem;
        font-size: 0.8rem;
    }

    .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;
        gap: 1rem;
        width: 100%;
    }

    .advanced-search-panel[b-qbf681nyw7] {
        padding: 1.5rem 0;
        width: 100%;
        overflow-x: hidden;
    }

    .advanced-search-panel .container[b-qbf681nyw7] {
        padding: 0 1rem;
        max-width: 100%;
        width: 100%;
    }
    
    .form-group[b-qbf681nyw7] {
        width: 100%;
        max-width: 100%;
    }

    .advanced-search-actions[b-qbf681nyw7] {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .advanced-search-actions .btn-reset[b-qbf681nyw7],
    .advanced-search-actions .btn-search[b-qbf681nyw7] {
        width: 100%;
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
    }

    .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) {
    .advanced-search-panel .container[b-qbf681nyw7] {
        padding: 0 0.75rem;
    }

    .advanced-search-grid[b-qbf681nyw7] {
        gap: 0.75rem;
    }

    .form-input[b-qbf681nyw7] {
        padding: 0.65rem 0.85rem;
        font-size: 0.9rem;
    }

    .form-group label[b-qbf681nyw7] {
        font-size: 0.8rem;
    }

    .form-group small[b-qbf681nyw7] {
        font-size: 0.7rem;
    }

    .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] {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .search-btn[b-qbf681nyw7],
    .voice-btn[b-qbf681nyw7] {
        min-width: 44px;
        min-height: 44px;
    }

    .hint-tag: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 var(--purple);
    outline-offset: 2px;
}

[b-qbf681nyw7] .recipe-card-modern:focus-visible {
    outline: 3px solid var(--purple);
    outline-offset: 4px;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(91, 82, 188, 0.2);
}

/* "You may also like" divider section */
.also-like-divider[b-qbf681nyw7] {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.also-like-line[b-qbf681nyw7] {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gray-200), transparent);
    margin-bottom: 1.25rem;
}

.also-like-header[b-qbf681nyw7] {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.also-like-heading[b-qbf681nyw7] {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0;
}

/* 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));
    }
}
