/* /Components/Account/Pages/Login.razor.rz.scp.css */
/* Page-scoped style for the small remember-me row — keeps the checkbox + label
   aligned without pulling in shared CSS. */
.remember-me[b-92takjeaag] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.6);
}

.remember-me input[type="checkbox"][b-92takjeaag] {
    cursor: pointer;
}
/* /Components/Account/Pages/LoginWith2fa.razor.rz.scp.css */
.remember-machine[b-eo9lttigh4] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.6);
}
/* /Components/Account/Pages/LoginWithEmailCode.razor.rz.scp.css */
.remember-machine[b-c5dw2olqa9] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.6);
}

.resend-form[b-c5dw2olqa9] {
    margin: 0;
    display: flex;
    justify-content: center;
}
/* /Components/Account/Pages/Manage/EnableEmailMfa.razor.rz.scp.css */
.resend-form[b-0wo8h85hah] {
    margin: 0;
}
/* /Components/Account/Pages/Manage/ExternalLogins.razor.rz.scp.css */
.inline-form[b-ok0zsmla6x] {
    display: inline-block;
    margin: 0;
}
/* /Components/Account/Pages/Manage/Passkeys.razor.rz.scp.css */
/* PasskeySubmit is a custom element that needs a button-like surface to
   trigger the WebAuthn flow. Style it to match a MudButton.Filled.Primary
   so the "Add passkey" CTA fits with the rest of the page. */
.passkey-submit-btn[b-ajc2frl79l] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background-color: var(--mud-palette-primary, #2e7d32);
    color: var(--mud-palette-primary-text, #fff);
    border: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background-color 150ms;
}

.passkey-submit-btn:hover[b-ajc2frl79l] {
    background-color: var(--mud-palette-primary-darken, #1b5e20);
}

.inline-form[b-ajc2frl79l] {
    display: inline-block;
    margin: 0;
}
/* /Components/Account/Pages/Manage/TwoFactorAuthentication.razor.rz.scp.css */
/* Inline form wrapping the "Forget this browser" submit so it sits flush with
   the other action buttons in the row. */
.inline-form[b-y1pl2eb9sy] {
    display: inline-block;
    margin: 0;
}
/* /Components/Account/Shared/ShowRecoveryCodes.razor.rz.scp.css */
.recovery-codes-grid[b-g2itr5b5zs] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.5rem;
}

.recovery-code[b-g2itr5b5zs] {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.875rem;
    background: #F5F5F5;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    color: #1A1A1A;
    text-align: center;
    letter-spacing: 0.05em;
    user-select: all;
}
/* /Components/Brand/Logo.razor.rz.scp.css */
/* Lockup variants render as HTML so wordmark + tagline use page-loaded Inter.
   --brand-logo-h drives overall scale; mark + text sizes derive from it. */
.brand-logo[b-z4p3r9fzsh] {
    --brand-logo-h: 56px;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.brand-logo--mark[b-z4p3r9fzsh] {
    display: inline-block;
}

.brand-logo__mark[b-z4p3r9fzsh] {
    height: var(--brand-logo-h);
    width: auto;
    flex-shrink: 0;
}

.brand-logo__divider[b-z4p3r9fzsh] {
    width: 1px;
    height: calc(var(--brand-logo-h) * 0.78);
    background: var(--brand-divider);
    margin: 0 calc(var(--brand-logo-h) * 0.22);
    flex-shrink: 0;
}

.brand-logo__col[b-z4p3r9fzsh] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: calc(var(--brand-logo-h) * 0.18);
    gap: calc(var(--brand-logo-h) * 0.12);
    min-width: 0;
}

.brand-logo--horizontal .brand-logo__col[b-z4p3r9fzsh] {
    margin-left: 0;
}

.brand-logo__word[b-z4p3r9fzsh] {
    font-weight: 700;
    font-size: calc(var(--brand-logo-h) * 0.62);
    letter-spacing: -0.04em;
    white-space: nowrap;
    line-height: 1;
}
.brand-logo__word-1[b-z4p3r9fzsh] { color: var(--brand-word-1); }
.brand-logo__word-2[b-z4p3r9fzsh] { color: var(--brand-word-2); }

.brand-logo__tag[b-z4p3r9fzsh] {
    display: flex;
    align-items: center;
    gap: calc(var(--brand-logo-h) * 0.06);
    color: var(--brand-tag-text);
}

.brand-logo__tag-text[b-z4p3r9fzsh] {
    font-weight: 500;
    font-size: calc(var(--brand-logo-h) * 0.13);
    letter-spacing: 0.236em;
    text-transform: uppercase;
    white-space: nowrap;
}

.brand-logo__tag-dot[b-z4p3r9fzsh] {
    width: calc(var(--brand-logo-h) * 0.075);
    height: calc(var(--brand-logo-h) * 0.075);
    border-radius: 50%;
    flex-shrink: 0;
}
.brand-logo__tag-dot--l[b-z4p3r9fzsh] { background: var(--brand-tag-dot-l); }
.brand-logo__tag-dot--r[b-z4p3r9fzsh] { background: var(--brand-tag-dot-r); }

.brand-logo__tag-line[b-z4p3r9fzsh] {
    width: calc(var(--brand-logo-h) * 0.32);
    height: 1.2px;
    flex-shrink: 0;
}
.brand-logo__tag-line--l[b-z4p3r9fzsh] { background: var(--brand-tag-line-l); }
.brand-logo__tag-line--r[b-z4p3r9fzsh] { background: var(--brand-tag-line-r); }

/* Stacked: mark above wordmark + centered tagline. */
.brand-logo--stacked[b-z4p3r9fzsh] {
    flex-direction: column;
    align-items: center;
    gap: calc(var(--brand-logo-h) * 0.18);
}
.brand-logo--stacked .brand-logo__mark[b-z4p3r9fzsh] {
    height: calc(var(--brand-logo-h) * 1.4);
}
.brand-logo--stacked .brand-logo__col[b-z4p3r9fzsh] {
    margin-left: 0;
    align-items: center;
    gap: calc(var(--brand-logo-h) * 0.16);
}
.brand-logo--stacked .brand-logo__word[b-z4p3r9fzsh] {
    font-size: calc(var(--brand-logo-h) * 0.78);
}

/* Compact (tight nav): hide tagline, only word beside mark. */
.brand-logo--compact .brand-logo__tag[b-z4p3r9fzsh] {
    display: none;
}
.brand-logo--compact .brand-logo__word[b-z4p3r9fzsh] {
    font-size: calc(var(--brand-logo-h) * 0.7);
}
/* /Components/Layout/AuthLayout.razor.rz.scp.css */
.auth-layout[b-2lycdr3wht] {
    display: flex;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* Left hero panel */
.auth-hero[b-2lycdr3wht] {
    display: none;
    width: 50%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.auth-hero-overlay[b-2lycdr3wht] {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 30%, #388E3C 60%, #4CAF50 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.auth-hero-content[b-2lycdr3wht] {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 420px;
}

.auth-hero-icon[b-2lycdr3wht] {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    backdrop-filter: blur(10px);
}

[b-2lycdr3wht] .auth-hero-icon .mud-icon-root {
    color: #FFFFFF;
    font-size: 2.5rem;
}

.auth-hero-title[b-2lycdr3wht] {
    color: #FFFFFF;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
}

.auth-hero-subtitle[b-2lycdr3wht] {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.auth-hero-features[b-2lycdr3wht] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    margin: 0 auto;
    max-width: 280px;
}

.auth-hero-feature[b-2lycdr3wht] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

[b-2lycdr3wht] .auth-hero-feature .mud-icon-root {
    color: #C8E6C9;
    font-size: 1.25rem;
}

/* Decorative leaves */
.auth-hero-leaf[b-2lycdr3wht] {
    position: absolute;
    pointer-events: none;
}

.leaf-1[b-2lycdr3wht] {
    width: 300px;
    height: 300px;
    top: -80px;
    right: -60px;
}

.leaf-2[b-2lycdr3wht] {
    width: 250px;
    height: 250px;
    bottom: -50px;
    left: -40px;
}

.leaf-3[b-2lycdr3wht] {
    width: 200px;
    height: 200px;
    bottom: 20%;
    right: -30px;
}

/* Right form panel */
.auth-form-panel[b-2lycdr3wht] {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: #FFFFFF;
    padding: 2rem 1.5rem;
    overflow-y: auto;
}

.auth-form-container[b-2lycdr3wht] {
    width: 100%;
    max-width: 440px;
    margin: auto 0;
    padding: 1rem 0;
}

/* Desktop: show hero panel */
@media (min-width: 960px) {
    .auth-hero[b-2lycdr3wht] {
        display: block;
    }

    .auth-form-panel[b-2lycdr3wht] {
        width: 50%;
        padding: 3rem;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-0xqrzlno8m],
.components-reconnect-repeated-attempt-visible[b-0xqrzlno8m],
.components-reconnect-failed-visible[b-0xqrzlno8m],
.components-pause-visible[b-0xqrzlno8m],
.components-resume-failed-visible[b-0xqrzlno8m],
.components-rejoining-animation[b-0xqrzlno8m] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-0xqrzlno8m],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-0xqrzlno8m],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-0xqrzlno8m],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-0xqrzlno8m],
#components-reconnect-modal.components-reconnect-retrying[b-0xqrzlno8m],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-0xqrzlno8m],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-0xqrzlno8m],
#components-reconnect-modal.components-reconnect-failed[b-0xqrzlno8m],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-0xqrzlno8m] {
    display: block;
}


#components-reconnect-modal[b-0xqrzlno8m] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-0xqrzlno8m 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-0xqrzlno8m 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-0xqrzlno8m 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-0xqrzlno8m]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-0xqrzlno8m 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-0xqrzlno8m {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-0xqrzlno8m {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-0xqrzlno8m {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-0xqrzlno8m] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-0xqrzlno8m] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-0xqrzlno8m] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-0xqrzlno8m] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-0xqrzlno8m] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-0xqrzlno8m] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-0xqrzlno8m] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-0xqrzlno8m 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-0xqrzlno8m] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-0xqrzlno8m {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/DietPlans/DietBuilder.razor.rz.scp.css */
/* ===== Page layout: content + right panel ===== */
.diet-builder-layout[b-12b7j9weu6] {
    display: flex;
    gap: 0;
    position: relative;
}

.diet-builder-content[b-12b7j9weu6] {
    flex: 1;
    min-width: 0;
    transition: margin-right 0.3s ease;
}

.diet-builder-content--panel-open[b-12b7j9weu6] {
    margin-right: 330px;
}

/* ===== Meal Library Panel (right side) ===== */
.meal-panel[b-12b7j9weu6] {
    position: fixed;
    top: var(--mud-appbar-height);
    right: 0;
    bottom: 0;
    width: 320px;
    background: var(--mud-palette-surface);
    border-left: 1px solid var(--mud-palette-lines-default);
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.08);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.meal-panel--open[b-12b7j9weu6] {
    transform: translateX(0);
}

.meal-panel__header[b-12b7j9weu6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    flex-shrink: 0;
}

.meal-panel__search[b-12b7j9weu6] {
    padding: 8px 12px;
    flex-shrink: 0;
}

.meal-panel__list[b-12b7j9weu6] {
    flex: 1;
    overflow-y: auto;
    padding: 0 12px 12px;
}

/* ===== Schedule Grid ===== */
.schedule-grid[b-12b7j9weu6] {
    display: grid;
    grid-template-columns: 56px repeat(7, 1fr);
    min-width: 900px;
}

/* Corner cell (top-left) */
.schedule-corner[b-12b7j9weu6] {
    grid-column: 1;
    grid-row: 1;
    border-right: 1px solid var(--mud-palette-lines-default);
    border-bottom: 2px solid var(--mud-palette-lines-default);
    background: var(--mud-palette-surface);
    position: sticky;
    top: 0;
    z-index: 3;
}

/* Day header cells (top row) */
.schedule-day-header[b-12b7j9weu6] {
    background: var(--mud-palette-surface);
    border-bottom: 2px solid var(--mud-palette-lines-default);
    border-left: 1px solid var(--mud-palette-lines-default);
    padding: 6px 4px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 2;
}

/* Time label cells (left column) */
.schedule-time-label[b-12b7j9weu6] {
    grid-column: 1;
    padding: 0 6px 0 4px;
    text-align: right;
    border-right: 1px solid var(--mud-palette-lines-default);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.schedule-time-label--hour[b-12b7j9weu6] {
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.schedule-time-label--half[b-12b7j9weu6] {
    border-bottom: 1px dashed var(--mud-palette-divider);
}

/* Time-slot drop zone cells */
.schedule-cell[b-12b7j9weu6] {
    border-left: 1px solid var(--mud-palette-lines-default);
    min-height: 28px;
    position: relative;
    transition: background-color 0.1s;
}

.schedule-cell--hour[b-12b7j9weu6] {
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.schedule-cell--half[b-12b7j9weu6] {
    border-bottom: 1px dashed var(--mud-palette-divider);
}

/* When dragging — all eligible cells get a faint tint */
.schedule-cell--droppable[b-12b7j9weu6] {
    background: rgba(76, 175, 80, 0.03);
}

/* The specific cell being hovered during drag */
.schedule-cell--drag-hover[b-12b7j9weu6] {
    background: rgba(76, 175, 80, 0.12) !important;
    outline: 2px dashed var(--mud-palette-primary);
    outline-offset: -2px;
}

/* Meal cards placed in the grid */
.schedule-meal[b-12b7j9weu6] {
    position: relative;
    z-index: 1;
    padding: 1px 2px;
    cursor: grab;
}

.schedule-meal:active[b-12b7j9weu6] {
    cursor: grabbing;
}

/* The specific meal being dragged — faded out in its original position */
.schedule-meal--dragging[b-12b7j9weu6] {
    opacity: 0.3;
    pointer-events: none;
}

/* ===== Nutrition Tools Panel ===== */
.nutrition-panel__tabs[b-12b7j9weu6] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

.nutrition-panel__tabs[b-12b7j9weu6]  .mud-tabs-panels {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.nutrition-panel__tabs[b-12b7j9weu6]  .mud-tab-panel {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0 !important;
}

.nutrition-tabs[b-12b7j9weu6]  .mud-tab {
    min-width: 0 !important;
    font-size: 0.75rem;
    padding: 6px 12px;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
    .meal-panel[b-12b7j9weu6] {
        width: 280px;
    }
    .diet-builder-content--panel-open[b-12b7j9weu6] {
        margin-right: 290px;
    }
}

@media (max-width: 600px) {
    .meal-panel[b-12b7j9weu6] {
        width: 100%;
    }
    .diet-builder-content--panel-open[b-12b7j9weu6] {
        margin-right: 0;
    }
}
