/* /Shared/MainLayout.razor.rz.scp.css */
/* App layout around the design system's header and footer (those come from wwwroot/zavanto/bundle.css). */

.page[b-1rj0ytuclz] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main[b-1rj0ytuclz] {
    flex: 1 1 auto;
    width: 100%;
    padding: var(--space-7) 0 56px;
}

/* The theme button shows where it switches to: a moon in light theme, a sun in dark theme. */
.theme-toggle span[b-1rj0ytuclz] {
    display: flex;
}

.theme-toggle .theme-icon-sun[b-1rj0ytuclz],
.theme-toggle[data-current="dark"] .theme-icon-moon[b-1rj0ytuclz] {
    display: none;
}

.theme-toggle[data-current="dark"] .theme-icon-sun[b-1rj0ytuclz] {
    display: flex;
}

.theme-toggle:hover[b-1rj0ytuclz] {
    color: var(--on-chrome);
    background: var(--chrome-active);
}

@media (max-width: 420px) {
    .site-main[b-1rj0ytuclz] {
        padding-top: var(--space-6);
    }
}

/* Language link: globe and the other language's name, last in the menu before the theme button. */
.zv-nav a.zv-lang[b-1rj0ytuclz] {
    gap: 6px;
    padding: 0 var(--space-3);
}

.zv-lang[b-1rj0ytuclz]  .icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}
