/* _content/MyMealPlan/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-z1kbbhrnht] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-z1kbbhrnht] {
    flex: 1;
}

.sidebar[b-z1kbbhrnht] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-z1kbbhrnht] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-z1kbbhrnht]  a, .top-row[b-z1kbbhrnht]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-z1kbbhrnht]  a:hover, .top-row[b-z1kbbhrnht]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-z1kbbhrnht]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-z1kbbhrnht] {
        justify-content: space-between;
    }

    .top-row[b-z1kbbhrnht]  a, .top-row[b-z1kbbhrnht]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-z1kbbhrnht] {
        flex-direction: row;
    }

    .sidebar[b-z1kbbhrnht] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-z1kbbhrnht] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-z1kbbhrnht]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-z1kbbhrnht], article[b-z1kbbhrnht] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-z1kbbhrnht] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    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-z1kbbhrnht] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/MyMealPlan/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-2fxdrrnag9] {
    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-2fxdrrnag9] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-2fxdrrnag9] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-2fxdrrnag9] {
    font-size: 1.1rem;
}

.bi[b-2fxdrrnag9] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-2fxdrrnag9] {
    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-nav-menu[b-2fxdrrnag9] {
    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-nav-menu[b-2fxdrrnag9] {
    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-2fxdrrnag9] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-2fxdrrnag9] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-2fxdrrnag9] {
        padding-bottom: 1rem;
    }

    .nav-item[b-2fxdrrnag9]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-2fxdrrnag9]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-2fxdrrnag9]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-2fxdrrnag9] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-2fxdrrnag9] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-2fxdrrnag9] {
        display: none;
    }

    .nav-scrollable[b-2fxdrrnag9] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* _content/MyMealPlan/Components/Pages/Home.razor.rz.scp.css */
/* ── Hero greeting ──────────────────────────────────────── */
.home-hero[b-rqed2of8o8] {
    padding: 2.5rem 0 2.75rem;
}

.home-hero--guest[b-rqed2of8o8] {
    padding-top: 4rem;
    text-align: center;
}

.home-greeting-time[b-rqed2of8o8] {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
}

.home-greeting-name[b-rqed2of8o8] {
    margin: 0.25rem 0 0.6rem;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--mud-palette-text-primary);
}

.home-greeting-sub[b-rqed2of8o8] {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--mud-palette-text-secondary);
    line-height: 1.5;
}

/* ── Navigation tiles ───────────────────────────────────── */
.home-tiles[b-rqed2of8o8] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-tile[b-rqed2of8o8] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 16px;
    background: var(--mud-palette-surface);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 2px 10px rgba(0,0,0,0.04);
    transition: transform 0.14s ease, box-shadow 0.14s ease;
    -webkit-tap-highlight-color: transparent;
}

.home-tile:active[b-rqed2of8o8] {
    transform: scale(0.985);
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

/* Icon container */
.home-tile__icon[b-rqed2of8o8] {
    width: 50px;
    height: 50px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.home-tile__icon--meals[b-rqed2of8o8] {
    background: rgba(176, 122, 114, 0.1);
    color: #B07A72;
}

.home-tile__icon--plan[b-rqed2of8o8] {
    background: rgba(138, 158, 140, 0.1);
    color: #8A9E8C;
}

.home-tile__icon--grocery[b-rqed2of8o8] {
    background: rgba(200, 144, 58, 0.1);
    color: #C8903A;
}

/* Text block */
.home-tile__text[b-rqed2of8o8] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.home-tile__title[b-rqed2of8o8] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
    line-height: 1.3;
}

.home-tile__sub[b-rqed2of8o8] {
    font-size: 0.8125rem;
    color: var(--mud-palette-text-secondary);
    line-height: 1.4;
}

/* Chevron */
.home-tile__chevron[b-rqed2of8o8] {
    color: var(--mud-palette-action-default);
    opacity: 0.35;
    flex-shrink: 0;
}

/* ── Guest CTA ──────────────────────────────────────────── */
.home-guest-action[b-rqed2of8o8] {
    padding: 0 1rem;
    max-width: 320px;
    margin: 0 auto;
}
/* _content/MyMealPlan/Components/Pages/Meals/MealList.razor.rz.scp.css */
/* ── Toolbar ────────────────────────────────────────────── */
.meals-toolbar[b-d2z8o4egt6] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
}

.meals-search-field[b-d2z8o4egt6] {
    flex: 1;
}

.meals-add-btn[b-d2z8o4egt6] {
    color: var(--mud-palette-primary) !important;
}

/* ── Filter panel ───────────────────────────────────────── */
.meals-filter-panel[b-d2z8o4egt6] {
    background: var(--mud-palette-surface);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.meals-filter-row[b-d2z8o4egt6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.meals-tag-row[b-d2z8o4egt6] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* ── Count label ────────────────────────────────────────── */
.meals-count[b-d2z8o4egt6] {
    margin: 0 0 12px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
}

/* ── Meal card ──────────────────────────────────────────── */
.meal-card[b-d2z8o4egt6] {
    cursor: pointer;
    transition: transform 0.14s ease, box-shadow 0.14s ease;
    -webkit-tap-highlight-color: transparent;
}

.meal-card:active[b-d2z8o4egt6] {
    transform: scale(0.985);
}

.meal-card-content[b-d2z8o4egt6] {
    padding: 16px !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Header: title + description + favorite */
.meal-card-header[b-d2z8o4egt6] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.meal-card-title-area[b-d2z8o4egt6] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.meal-card-name[b-d2z8o4egt6] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
    line-height: 1.3;
    display: block;
    /* Prevent long names from overflowing */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.meal-card-desc[b-d2z8o4egt6] {
    font-size: 0.8125rem;
    color: var(--mud-palette-text-secondary);
    line-height: 1.45;
    display: block;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Meta row: time, servings */
.meal-card-meta[b-d2z8o4egt6] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.meal-meta-item[b-d2z8o4egt6] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--mud-palette-text-secondary);
    font-weight: 500;
}

.meal-meta-icon[b-d2z8o4egt6] {
    font-size: 0.9rem !important;
    width: 0.9rem !important;
    height: 0.9rem !important;
    opacity: 0.7;
}

/* Tags */
.meal-card-tags[b-d2z8o4egt6] {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.meal-tag-pill[b-d2z8o4egt6] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.meal-tag-overflow[b-d2z8o4egt6] {
    background-color: var(--mud-palette-lines-default) !important;
    color: var(--mud-palette-text-secondary) !important;
}

/* ── Empty state ────────────────────────────────────────── */
.meals-empty[b-d2z8o4egt6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 1rem;
    gap: 8px;
}

.meals-empty-icon[b-d2z8o4egt6] {
    font-size: 3rem !important;
    width: 3rem !important;
    height: 3rem !important;
    color: var(--mud-palette-action-disabled);
    margin-bottom: 8px;
}

.meals-empty-title[b-d2z8o4egt6] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.meals-empty-sub[b-d2z8o4egt6] {
    margin: 0;
    font-size: 0.9rem;
    color: var(--mud-palette-text-secondary);
    max-width: 260px;
    line-height: 1.5;
}
