/* /Components/Layout/GuestLayout.razor.rz.scp.css */
/* No @rendermode/interactivity of its own needed here (unlike NavMenu) -- nothing in this layout
   is interactive, it's just a static header wrapping whatever page renders inside it. */
.guest-page[b-llt2i2c5u5] {
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    display: flex;
    flex-direction: column;
}

.guest-header[b-llt2i2c5u5] {
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border);
}

/* 560px was fine for the RSVP form alone, but the potluck list (a multi-column table) needed more
   room than that -- the fixed narrow width made the whole page look pinned to mobile size even on
   a full desktop window. Grows with the viewport up to 720px rather than staying fixed. */
.guest-content[b-llt2i2c5u5] {
    flex: 1;
    padding: 1.5rem;
    max-width: min(720px, 94vw);
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-1ueheutui9] {
    display: flex;
    min-height: 100vh;
    font-family: system-ui, -apple-system, Segoe UI, sans-serif;
    background: var(--bg);
    color: var(--text);
}

main[b-1ueheutui9] {
    flex-grow: 1;
    padding: 1.5rem 2rem;
    background: var(--bg);
    color: var(--text);
}

/* Room for NavMenu's fixed hamburger button below its own off-canvas breakpoint -- kept in sync
   with the max-width in NavMenu.razor.css. */
@media (max-width: 768px) {
    main[b-1ueheutui9] {
        padding-top: 4rem;
    }
}

#blazor-error-ui[b-1ueheutui9] {
    background: var(--danger-bg);
    color: var(--danger-text);
    border-top: 1px solid var(--danger-border);
    bottom: 0;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.4);
    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-1ueheutui9] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
        color: var(--danger-text);
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.sidebar[b-9ficuyact4] {
    width: 220px;
    flex-shrink: 0;
    background: #0b0d12;
    color: var(--text);
    padding: 1.25rem 1rem;
    border-right: 1px solid var(--border);
}

.sidebar .brand[b-9ficuyact4] {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.sidebar .nav-links[b-9ficuyact4] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* ::deep is required here: these <a> tags come from the <NavLink> child component's own render
   output, not literal markup in this file, so Blazor's CSS isolation won't scope into them
   without it -- without ::deep this rule silently never matched anything, and the links fell
   back to the browser's default (visited-purple) link color regardless of theme. */
.sidebar .nav-links[b-9ficuyact4]  a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.5rem 0.6rem;
    border-radius: 6px;
}

.sidebar .nav-links[b-9ficuyact4]  a:hover {
    background: var(--surface-raised);
    color: var(--text);
}

.sidebar .nav-links[b-9ficuyact4]  a.active {
    background: rgba(227, 168, 59, 0.16);
    color: var(--accent-hover);
    font-weight: 600;
}

/* The logout <form>/<button> are plain markup in this file, not a child component's render
   output, so (unlike the <NavLink>-produced <a> tags above) they don't need ::deep. Styled to
   look like the same nav links rather than an obviously different form control. */
.nav-link-button[b-9ficuyact4] {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.5rem 0.6rem;
    border-radius: 6px;
    font: inherit;
    cursor: pointer;
}

.nav-link-button:hover[b-9ficuyact4] {
    background: var(--surface-raised);
    color: var(--text);
}

.hamburger[b-9ficuyact4] {
    display: none;
}

.nav-backdrop[b-9ficuyact4] {
    display: none;
}

/* Below this width the sidebar becomes an off-canvas drawer toggled by the hamburger button,
   instead of always-visible flex column -- desktop layout above this breakpoint is unchanged. */
@media (max-width: 768px) {
    .hamburger[b-9ficuyact4] {
        display: block;
        position: fixed;
        top: 0.75rem;
        left: 0.75rem;
        z-index: 1100;
        width: 2.25rem;
        height: 2.25rem;
        background: var(--surface);
        color: var(--text);
        border: 1px solid var(--border);
        border-radius: 6px;
        font-size: 1.1rem;
        cursor: pointer;
    }

    .sidebar[b-9ficuyact4] {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 240px;
        padding-top: 3.5rem;
        transform: translateX(-100%);
        transition: transform 0.2s ease;
        z-index: 1050;
    }

    .sidebar.open[b-9ficuyact4] {
        transform: translateX(0);
    }

    .nav-backdrop[b-9ficuyact4] {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;
    }
}
