/* _content/GmdDogCatTrainerWeb/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-p2ylo1q8lt] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-p2ylo1q8lt] {
    flex: 1;
}

.content[b-p2ylo1q8lt] {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 1.25rem 1rem 3rem;
}

@media (min-width: 768px) {
    .content[b-p2ylo1q8lt] {
        padding: 1.5rem 2rem 3rem;
    }
}

#blazor-error-ui[b-p2ylo1q8lt] {
    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-p2ylo1q8lt] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/GmdDogCatTrainerWeb/Components/Layout/NavMenu.razor.rz.scp.css */
.app-bar[b-hfoyg1rf5i] {
    background-color: color-mix(in srgb, var(--surface) 82%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text);
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--border);
}

.app-bar-inner[b-hfoyg1rf5i] {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    min-height: 3.5rem;
}

.app-brand[b-hfoyg1rf5i] {
    text-decoration: none;
    white-space: nowrap;
    padding: 0.5rem 0;
    margin-right: auto;
    display: inline-flex;
    align-items: center;
}

/* Mobile (< 768px): pure-CSS checkbox hamburger with a slide-down panel. */
.navbar-toggler[b-hfoyg1rf5i] {
    appearance: none;
    cursor: pointer;
    width: 3rem;
    height: 2.75rem;
    margin: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%237a848a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.5rem var(--surface-2);
}

.navbar-toggler:checked[b-hfoyg1rf5i] {
    background-color: var(--surface);
}

.app-nav[b-hfoyg1rf5i] {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    gap: 0.125rem;
    padding-bottom: 0.75rem;
}

.navbar-toggler:checked ~ .app-nav[b-hfoyg1rf5i] {
    display: flex;
}

.app-nav[b-hfoyg1rf5i]  .nav-link {
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    position: relative;
}

.app-nav[b-hfoyg1rf5i]  a.active {
    color: var(--brand);
    font-weight: 600;
}

.app-nav[b-hfoyg1rf5i]  .nav-link:hover {
    background-color: var(--surface-2);
    color: var(--text);
}

.nav-user[b-hfoyg1rf5i] {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 44px;
    padding: 0.5rem 0.75rem;
    white-space: nowrap;
}

.nav-avatar[b-hfoyg1rf5i] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: var(--brand-contrast);
    font-weight: 700;
    font-size: 0.85rem;
}

/* Desktop (≥ 768px): inline links, no hamburger. */
@media (min-width: 768px) {
    .navbar-toggler[b-hfoyg1rf5i] {
        display: none;
    }

    .app-nav[b-hfoyg1rf5i] {
        display: flex;
        flex-direction: row;
        align-items: center;
        flex-basis: auto;
        gap: 0.25rem;
        padding-bottom: 0;
    }

    .app-nav[b-hfoyg1rf5i]  .nav-link,
    .nav-user[b-hfoyg1rf5i] {
        min-height: 0;
    }

    /* Active-link underline indicator. */
    .app-nav[b-hfoyg1rf5i]  a.active::after {
        content: "";
        position: absolute;
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.15rem;
        height: 2px;
        border-radius: 2px;
        background-color: var(--brand);
    }
}
