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

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

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

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

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

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

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

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

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

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

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

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

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

    .top-row[b-uij2bigshr], article[b-uij2bigshr] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-m25w9npzkt] {
    background-color: rgba(255, 255, 255, 0.1);
}

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

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

.bi[b-m25w9npzkt] {
    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-m25w9npzkt] {
    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-m25w9npzkt] {
    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-m25w9npzkt] {
    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-m25w9npzkt] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

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

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

    .nav-item[b-m25w9npzkt]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

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

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

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

    .collapse[b-m25w9npzkt] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-m25w9npzkt] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Account.razor.rz.scp.css */
.qr-box[b-o1dqegldue] {
    max-width: 220px;
    border: 1px solid #e4e7ee;
    border-radius: 8px;
    padding: 0.5rem;
    background: #fff;
}

.qr-box[b-o1dqegldue]  svg {
    width: 100%;
    height: auto;
    display: block;
}
/* /Pages/FirstLogin.razor.rz.scp.css */
.login-page[b-en6ub9lccw] {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    padding-top: calc(1.5rem + env(safe-area-inset-top));
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
    background: #f4f5f7;
}

.login-card[b-en6ub9lccw] {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-card h1[b-en6ub9lccw] {
    margin: 0;
    font-size: 1.4rem;
    color: #1b1f27;
    text-align: center;
}

.login-card form[b-en6ub9lccw] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hint[b-en6ub9lccw] {
    margin: 0;
    font-size: 0.9rem;
    color: #444b58;
}

.hint.small[b-en6ub9lccw] {
    font-size: 0.8rem;
    color: #6b7280;
}

.field[b-en6ub9lccw] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: #444b58;
}

.field input[b-en6ub9lccw] {
    height: 44px;
    padding: 0 0.75rem;
    border: 1px solid #d7dbe2;
    border-radius: 8px;
    font-size: 1rem;
}

.field input:focus-visible[b-en6ub9lccw] {
    outline: 2px solid #3b6cf0;
    outline-offset: 1px;
}

.qr-box[b-en6ub9lccw] {
    max-width: 220px;
    align-self: center;
    border: 1px solid #e4e7ee;
    border-radius: 8px;
    padding: 0.5rem;
    background: #fff;
}

.qr-box[b-en6ub9lccw]  svg {
    width: 100%;
    height: auto;
    display: block;
}

.error[b-en6ub9lccw] {
    color: #d3352c;
    font-size: 0.85rem;
    margin: 0;
}

.submit-btn[b-en6ub9lccw] {
    height: 46px;
    border: none;
    border-radius: 8px;
    background: #3b6cf0;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.submit-btn:hover:not(:disabled)[b-en6ub9lccw],
.submit-btn:focus-visible[b-en6ub9lccw] {
    background: #2f58cc;
}

.submit-btn:disabled[b-en6ub9lccw] {
    opacity: 0.6;
    cursor: default;
}

.back-btn[b-en6ub9lccw] {
    height: 42px;
    border: 1px solid #d7dbe2;
    border-radius: 8px;
    background: #fff;
    color: #444b58;
    font-size: 0.95rem;
    cursor: pointer;
}

.back-btn:hover:not(:disabled)[b-en6ub9lccw],
.back-btn:focus-visible[b-en6ub9lccw] {
    background: #eef0f4;
}
/* /Pages/Home.razor.rz.scp.css */
.home[b-dh9gi096ym] {
    max-width: 44rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 1.5rem;
}

.home h1[b-dh9gi096ym] {
    margin: 0;
    font-size: 1.6rem;
    color: #1b1f27;
}

.home h2[b-dh9gi096ym] {
    margin: 0.75rem 0 0;
    font-size: 1rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Prominente Hauptaktion — groß genug für den Daumen */
.hero-btn[b-dh9gi096ym] {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-height: 4.5rem;
    padding: 0.9rem 1.1rem;
    border-radius: 12px;
    background: #3b6cf0;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(59, 108, 240, 0.35);
}

.hero-btn:hover[b-dh9gi096ym],
.hero-btn:focus-visible[b-dh9gi096ym] {
    background: #2f58cc;
    color: #fff;
}

.hero-btn:active[b-dh9gi096ym] {
    transform: scale(0.98);
}

.hero-icon[b-dh9gi096ym] {
    font-size: 1.8rem;
    line-height: 1;
}

.hero-btn strong[b-dh9gi096ym] {
    display: block;
    font-size: 1.05rem;
}

.hero-btn small[b-dh9gi096ym] {
    display: block;
    opacity: 0.85;
    font-size: 0.82rem;
}

/* Kachel-Raster: passt sich automatisch der Bildschirmbreite an */
.tile-grid[b-dh9gi096ym] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
    gap: 0.75rem;
}

.tile[b-dh9gi096ym] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 6.25rem; /* großzügige Touch-Fläche */
    padding: 0.9rem 0.6rem;
    background: #fff;
    border: 1px solid #e4e7ee;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    color: #1b1f27;
    text-align: center;
    text-decoration: none;
}

.tile:hover[b-dh9gi096ym],
.tile:focus-visible[b-dh9gi096ym] {
    border-color: #3b6cf0;
    color: #1b1f27;
    box-shadow: 0 4px 14px rgba(59, 108, 240, 0.18);
}

.tile:active[b-dh9gi096ym] {
    transform: scale(0.97);
}

.tile-icon[b-dh9gi096ym] {
    font-size: 1.9rem;
    line-height: 1;
}

.tile-title[b-dh9gi096ym] {
    font-weight: 600;
    font-size: 0.95rem;
}

.tile-sub[b-dh9gi096ym] {
    font-size: 0.78rem;
    color: #6b7280;
    margin-top: -0.25rem;
}

/* Sehr schmale Handys: zwei Spalten erzwingen, damit die Kacheln nicht zu groß werden */
@media (max-width: 380px) {
    .tile-grid[b-dh9gi096ym] {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* /Pages/LoginMath.razor.rz.scp.css */
.login-page[b-xzh6utidbu] {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    padding-top: calc(1.5rem + env(safe-area-inset-top));
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
    background: #f4f5f7;
}

.login-card[b-xzh6utidbu] {
    width: 100%;
    max-width: 360px;
    background: #fff;
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-card h1[b-xzh6utidbu] {
    margin: 0;
    font-size: 1.4rem;
    color: #1b1f27;
    text-align: center;
}

.version-line[b-xzh6utidbu] {
    text-align: center;
    font-size: 0.8rem;
    color: #8a90a0;
    margin-top: -0.5rem;
}

.mode-switch[b-xzh6utidbu] {
    display: flex;
    gap: 0.5rem;
}

.mode-switch button[b-xzh6utidbu] {
    flex: 1;
    height: 40px;
    border: 1px solid #d7dbe2;
    background: #fff;
    color: #3b6cf0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

.mode-switch button.active[b-xzh6utidbu] {
    background: #3b6cf0;
    border-color: #3b6cf0;
    color: #fff;
}

.mode-switch button:not(.active):hover[b-xzh6utidbu],
.mode-switch button:not(.active):focus-visible[b-xzh6utidbu] {
    background: #eef0f4;
}

.login-card form[b-xzh6utidbu] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.field[b-xzh6utidbu] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: #444b58;
}

.field input[b-xzh6utidbu] {
    height: 44px; /* touch-freundlich */
    padding: 0 0.75rem;
    border: 1px solid #d7dbe2;
    border-radius: 8px;
    font-size: 1rem;
}

.field input:focus-visible[b-xzh6utidbu] {
    outline: 2px solid #3b6cf0;
    outline-offset: 1px;
}

.captcha-row[b-xzh6utidbu] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.captcha-box[b-xzh6utidbu] {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    line-height: 0;
}

.captcha-box[b-xzh6utidbu]  svg {
    width: 100%;
    height: auto;
    display: block;
}

.captcha-refresh[b-xzh6utidbu] {
    width: 44px;
    height: 44px;
    border: 1px solid #d7dbe2;
    background: #fff;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
}

.captcha-refresh:hover[b-xzh6utidbu],
.captcha-refresh:focus-visible[b-xzh6utidbu] {
    background: #eef0f4;
}

.captcha-refresh:disabled[b-xzh6utidbu] {
    opacity: 0.6;
    cursor: default;
}

.error[b-xzh6utidbu] {
    color: #d3352c;
    font-size: 0.85rem;
    margin: 0;
}

.hint[b-xzh6utidbu] {
    margin: 0;
    font-size: 0.9rem;
    color: #444b58;
}

.back-btn[b-xzh6utidbu] {
    height: 42px;
    border: 1px solid #d7dbe2;
    border-radius: 8px;
    background: #fff;
    color: #444b58;
    font-size: 0.95rem;
    cursor: pointer;
}

.back-btn:hover:not(:disabled)[b-xzh6utidbu],
.back-btn:focus-visible[b-xzh6utidbu] {
    background: #eef0f4;
}

.submit-btn[b-xzh6utidbu] {
    height: 46px;
    border: none;
    border-radius: 8px;
    background: #3b6cf0;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.submit-btn:hover:not(:disabled)[b-xzh6utidbu],
.submit-btn:focus-visible[b-xzh6utidbu] {
    background: #2f58cc;
}

.submit-btn:disabled[b-xzh6utidbu] {
    opacity: 0.6;
    cursor: default;
}

@media (min-width: 480px) {
    .login-card[b-xzh6utidbu] {
        padding: 2.25rem 2rem;
    }
}
