/* /Components/Account/Pages/Login.razor.rz.scp.css */
.login-title[b-dt5vwwk4t5] {
    margin: 0 0 1rem;
    font-size: 1.6rem;
    font-weight: 600;
}

.login-error[b-dt5vwwk4t5] {
    margin-bottom: 1rem;
    padding: 0.55rem 0.75rem;
    border: 1.5px solid #d0453a;
    border-radius: 0.35rem;
    background: #fdecea;
    color: #8a1f17;
    font-size: 0.9rem;
}

.login[b-dt5vwwk4t5]  .login-form {
    display: flex;
    flex-direction: column;
}

.login[b-dt5vwwk4t5]  .login-form label {
    margin: 0.75rem 0 0.3rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #66726b;
}

.login[b-dt5vwwk4t5]  .login-form label:first-of-type {
    margin-top: 0;
}

.login[b-dt5vwwk4t5]  .login-form .form-control {
    padding: 0.6rem 0.75rem;
    border: 1.5px solid #16231d;
    border-radius: 0.35rem;
    font-size: 1rem;
}

.login[b-dt5vwwk4t5]  .login-form .form-control:focus {
    border-color: #16231d;
    box-shadow: 0 0 0 3px rgba(247, 210, 62, 0.6);
}

.login[b-dt5vwwk4t5]  .login-field-error {
    margin-top: 0.25rem;
    color: #b3261e;
    font-size: 0.82rem;
}

.login[b-dt5vwwk4t5]  .login-form .login-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: #16231d;
    cursor: pointer;
}

.login[b-dt5vwwk4t5]  .login-form .login-remember .form-check-input {
    margin: 0;
    border-color: #16231d;
}

.login-submit[b-dt5vwwk4t5] {
    margin-top: 1.25rem;
    padding: 0.7rem 1rem;
    border: 1.5px solid #16231d;
    border-radius: 0.35rem;
    background: #f7d23e;
    color: #16231d;
    font-size: 1.05rem;
    font-weight: 600;
    box-shadow: 0 3px 0 #16231d;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}

.login-submit:hover[b-dt5vwwk4t5] {
    background: #ffdf5c;
}

.login-submit:active[b-dt5vwwk4t5] {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #16231d;
}

.login-submit:focus-visible[b-dt5vwwk4t5] {
    outline: 3px solid #16231d;
    outline-offset: 3px;
}

.login-note[b-dt5vwwk4t5] {
    margin: 1.25rem 0 0;
    color: #66726b;
    font-size: 0.82rem;
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    .login-submit[b-dt5vwwk4t5] {
        transition: none;
    }
}
/* /Components/Layout/AuthLayout.razor.rz.scp.css */
/* Той самий градієнт, що й у бокової панелі, жовтий — як головна дія на робочому столі */
.auth-page[b-ird1iu9iyt] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    background-image: linear-gradient(160deg, rgb(5, 39, 103) 0%, #3a0647 75%);
    font-family: Bahnschrift, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.auth-card[b-ird1iu9iyt] {
    width: 100%;
    max-width: 24rem;
    padding: 2rem 2rem 1.75rem;
    border: 1.5px solid #16231d;
    border-radius: 0.5rem 1.5rem 1.5rem 0.5rem;
    background: #fff;
    color: #16231d;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.35), 0 20px 50px rgba(0, 0, 0, 0.35);
}

.auth-brand[b-ird1iu9iyt] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.auth-logo[b-ird1iu9iyt] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1.5px solid #16231d;
    border-radius: 0.35rem 0.9rem 0.9rem 0.35rem;
    background: #f7d23e;
    font-size: 1.35rem;
}

.auth-brand b[b-ird1iu9iyt] {
    display: block;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.1;
}

.auth-brand span[b-ird1iu9iyt] {
    color: #66726b;
    font-size: 0.85rem;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-gw3iqu6j41] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-gw3iqu6j41] {
    flex: 1;
}

.sidebar[b-gw3iqu6j41] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-gw3iqu6j41] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-gw3iqu6j41]  a, .top-row[b-gw3iqu6j41]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-gw3iqu6j41]  a:hover, .top-row[b-gw3iqu6j41]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-gw3iqu6j41]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-gw3iqu6j41] {
        justify-content: space-between;
    }

    .top-row[b-gw3iqu6j41]  a, .top-row[b-gw3iqu6j41]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-gw3iqu6j41] {
        flex-direction: row;
    }

    .sidebar[b-gw3iqu6j41] {
        width: 300px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-gw3iqu6j41] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-gw3iqu6j41]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-gw3iqu6j41], article[b-gw3iqu6j41] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-gw3iqu6j41] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    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-gw3iqu6j41] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-fwihwju0mk] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-fwihwju0mk] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-fwihwju0mk] {
    min-height: 4rem;
    background-color: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Логотип — як на сторінці входу: жовта плашка + назва */
.brand[b-fwihwju0mk] {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #fff;
    text-decoration: none;
    font-family: Bahnschrift, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.brand-logo[b-fwihwju0mk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.3rem 0.8rem 0.8rem 0.3rem;
    background: #f7d23e;
    color: #16231d;
    font-size: 1.15rem;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}

.brand-text b[b-fwihwju0mk] {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: 0.01em;
}

.brand-text small[b-fwihwju0mk] {
    display: block;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.75rem;
}

.brand:hover[b-fwihwju0mk] {
    color: #fff;
}

.brand:hover .brand-logo[b-fwihwju0mk] {
    background: #ffdf5c;
}

/* Іконки в плашках/кнопках — без розмірів і відступів .bi нижче */
.brand-logo .bi[b-fwihwju0mk], .nav-group-icon .bi[b-fwihwju0mk], .nav-user-btn .bi[b-fwihwju0mk] {
    width: auto;
    height: auto;
    margin: 0;
    top: 0;
}

.bi[b-fwihwju0mk] {
    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-fwihwju0mk] {
    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-fwihwju0mk] {
    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-fwihwju0mk] {
    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");
}

.bi-lock-nav-menu[b-fwihwju0mk] {
    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 d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-fwihwju0mk] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-fwihwju0mk] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-fwihwju0mk] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-fwihwju0mk] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

.ni[b-fwihwju0mk] {
    width: 1.1rem;
    height: auto;
    margin-right: 0.7rem;
    top: 0;
    font-size: 1rem;
    line-height: 1;
    opacity: 0.85;
    background: none;
}

.nav-item[b-fwihwju0mk] {
    font-size: 0.88rem;
    padding-bottom: 0.15rem;
}

    .nav-item:first-of-type[b-fwihwju0mk] {
        padding-top: 0.6rem;
    }

    .nav-item[b-fwihwju0mk]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 8px;
        height: 2.4rem;
        display: flex;
        align-items: center;
        line-height: 1;
        width: 100%;
        transition: background-color .15s, color .15s;
    }

.nav-item[b-fwihwju0mk]  a.active {
    background-color: rgba(255,255,255,0.18);
    color: white;
    box-shadow: inset 3px 0 0 #f2d04c;
    font-weight: 600;
}

.nav-item[b-fwihwju0mk]  a.active .ni {
    opacity: 1;
    color: #f2d04c;
}

.nav-item[b-fwihwju0mk]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-group[b-fwihwju0mk] {
    margin: 0.25rem 0.5rem 0;
    border-radius: 10px;
}

.nav-group.open[b-fwihwju0mk] {
    background: rgba(0,0,0,0.18);
}

.nav-group-head[b-fwihwju0mk] {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.6rem 0.75rem;
    background: none;
    border: none;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.92rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background-color .15s;
}

.nav-group-head:hover[b-fwihwju0mk] {
    background-color: rgba(255,255,255,0.08);
}

.nav-group-title[b-fwihwju0mk] {
    flex: 1;
}

.nav-group-icon[b-fwihwju0mk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 1.85rem;
    height: 1.85rem;
    margin-right: 0.65rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    transition: background-color .15s, color .15s;
}

.nav-group.open .nav-group-icon[b-fwihwju0mk] {
    background: #f7d23e;
    color: #16231d;
}

.nav-chevron[b-fwihwju0mk] {
    font-size: 0.7rem;
    opacity: 0.6;
    transition: transform .2s;
}

.nav-group.open .nav-chevron[b-fwihwju0mk] {
    transform: rotate(180deg);
}

.nav-group-body[b-fwihwju0mk] {
    padding: 0 0 0.4rem 0.35rem;
}

/* Картка користувача внизу */
.nav-user[b-fwihwju0mk] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 1rem 0.75rem 1.25rem;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
}

.nav-user form[b-fwihwju0mk] {
    margin: 0;
}

.nav-user-main[b-fwihwju0mk] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    min-width: 0;
    padding: 0.2rem;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
}

.nav-user-main:hover[b-fwihwju0mk] {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.nav-user-avatar[b-fwihwju0mk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #f7d23e, #f0a93b);
    color: #16231d;
    font-weight: 700;
}

.nav-user-text[b-fwihwju0mk] {
    min-width: 0;
    line-height: 1.15;
}

.nav-user-text b[b-fwihwju0mk] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.92rem;
    font-weight: 600;
}

.nav-user-text small[b-fwihwju0mk] {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.75rem;
}

.nav-user-btn[b-fwihwju0mk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: background-color .15s, color .15s;
}

.nav-user-btn:hover[b-fwihwju0mk] {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.nav-scrollable[b-fwihwju0mk] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-fwihwju0mk] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-fwihwju0mk] {
        display: none;
    }

    .nav-scrollable[b-fwihwju0mk] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 4rem);
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-iqz6ncy9mr],
.components-reconnect-repeated-attempt-visible[b-iqz6ncy9mr],
.components-reconnect-failed-visible[b-iqz6ncy9mr],
.components-pause-visible[b-iqz6ncy9mr],
.components-resume-failed-visible[b-iqz6ncy9mr],
.components-rejoining-animation[b-iqz6ncy9mr] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-iqz6ncy9mr],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-iqz6ncy9mr],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-iqz6ncy9mr],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-iqz6ncy9mr],
#components-reconnect-modal.components-reconnect-retrying[b-iqz6ncy9mr],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-iqz6ncy9mr],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-iqz6ncy9mr],
#components-reconnect-modal.components-reconnect-failed[b-iqz6ncy9mr],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-iqz6ncy9mr] {
    display: block;
}


#components-reconnect-modal[b-iqz6ncy9mr] {
    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-iqz6ncy9mr 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-iqz6ncy9mr 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-iqz6ncy9mr 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-iqz6ncy9mr]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-iqz6ncy9mr 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-iqz6ncy9mr {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-iqz6ncy9mr {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-iqz6ncy9mr {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-iqz6ncy9mr] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-iqz6ncy9mr] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-iqz6ncy9mr] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-iqz6ncy9mr] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-iqz6ncy9mr] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-iqz6ncy9mr] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-iqz6ncy9mr] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-iqz6ncy9mr 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-iqz6ncy9mr] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-iqz6ncy9mr {
    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/Home.razor.rz.scp.css */
/* Робочий стіл: розділи як полиці, посилання як цінники.
   Жовтий — лише для головної дії полиці. */
.desk[b-h5l7o9dnpl] {
    --ink: #16231d;
    --muted: #66726b;
    --paper: #f4f5f0;
    --line: #d9dcd3;
    --signal: #f7d23e;
    --signal-hover: #ffdf5c;

    max-width: 64rem;
    padding: 0.5rem 0 3rem;
    color: var(--ink);
    font-family: Bahnschrift, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.desk-head h1[b-h5l7o9dnpl] {
    margin: 0;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.desk-head p[b-h5l7o9dnpl] {
    margin: 0.25rem 0 2rem;
    color: var(--muted);
    font-size: 1.05rem;
    text-transform: capitalize;
}

.shelf[b-h5l7o9dnpl] {
    display: grid;
    grid-template-columns: 11rem 1fr;
    gap: 0.5rem 1.5rem;
    padding: 1.25rem 0;
    border-top: 2px solid var(--ink);
}

.shelf h2[b-h5l7o9dnpl] {
    margin: 0.35rem 0 0;
    font-size: 1.15rem;
    font-weight: 600;
}

.tags[b-h5l7o9dnpl] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr));
    gap: 0.75rem;
}

.tag[b-h5l7o9dnpl] {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.15rem;
    min-height: 4.25rem;
    padding: 0.7rem 1rem 0.7rem 2.35rem;
    border: 1.5px solid var(--ink);
    border-radius: 0.35rem 1.1rem 1.1rem 0.35rem;
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

/* отвір для шнурка */
.tag[b-h5l7o9dnpl]::before {
    content: "";
    position: absolute;
    left: 0.8rem;
    top: 50%;
    width: 0.7rem;
    height: 0.7rem;
    margin-top: -0.35rem;
    border: 1.5px solid var(--ink);
    border-radius: 50%;
    background: var(--paper);
}

.tag b[b-h5l7o9dnpl] {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.2;
}

.tag span[b-h5l7o9dnpl] {
    color: var(--muted);
    font-size: 0.85rem;
}

.tag:hover[b-h5l7o9dnpl] {
    transform: translateY(-2px);
    box-shadow: 0 3px 0 var(--ink);
    color: var(--ink);
}

.tag:focus-visible[b-h5l7o9dnpl] {
    outline: 3px solid var(--ink);
    outline-offset: 3px;
}

.tag.tag-key[b-h5l7o9dnpl] {
    background: var(--signal);
}

.tag.tag-key:hover[b-h5l7o9dnpl] {
    background: var(--signal-hover);
}

.tag.tag-key span[b-h5l7o9dnpl] {
    color: #4d4a2a;
}

@media (max-width: 720px) {
    .shelf[b-h5l7o9dnpl] {
        grid-template-columns: 1fr;
    }

    .shelf h2[b-h5l7o9dnpl] {
        margin-top: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tag[b-h5l7o9dnpl] {
        transition: none;
    }

    .tag:hover[b-h5l7o9dnpl] {
        transform: none;
    }
}

/* Віджети «Сьогодні»: погода, курс, пальне, затори */
.widgets[b-h5l7o9dnpl] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.widget[b-h5l7o9dnpl] {
    padding: 0.9rem 1rem;
    border: 1.5px solid var(--ink);
    border-radius: 0.35rem 1.1rem 1.1rem 0.35rem;
    background: #fff;
}

.widget h3[b-h5l7o9dnpl] {
    margin: 0 0 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

.w-main[b-h5l7o9dnpl] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 2.2rem;
    line-height: 1;
}

.w-icon[b-h5l7o9dnpl] {
    font-size: 2rem;
}

.w-sub[b-h5l7o9dnpl], .w-empty[b-h5l7o9dnpl] {
    margin: 0.4rem 0 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.w-days[b-h5l7o9dnpl], .w-rows[b-h5l7o9dnpl] {
    margin: 0.5rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.9rem;
}

.w-days li[b-h5l7o9dnpl], .w-rows li[b-h5l7o9dnpl] {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.18rem 0;
    border-top: 1px dashed var(--line);
}

.w-days li:first-child[b-h5l7o9dnpl], .w-rows li:first-child[b-h5l7o9dnpl] {
    border-top: none;
}

.w-link[b-h5l7o9dnpl] {
    display: inline-block;
    margin-top: 0.6rem;
    padding: 0.4rem 0.8rem;
    border: 1.5px solid var(--ink);
    border-radius: 0.35rem;
    background: var(--signal);
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
}

.w-link:hover[b-h5l7o9dnpl] {
    background: var(--signal-hover);
    color: var(--ink);
}
/* /Components/Pages/HomeReminders.razor.rz.scp.css */
/* Стилі як у віджетів Home.razor.css (scoped CSS не діє на вкладені компоненти) */
.widget[b-ns2k7pgh17] {
    padding: 0.9rem 1rem;
    border: 1.5px solid var(--ink);
    border-radius: 0.35rem 1.1rem 1.1rem 0.35rem;
    background: #fff;
}

.widget h3[b-ns2k7pgh17] {
    margin: 0 0 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

.w-sub[b-ns2k7pgh17], .w-empty[b-ns2k7pgh17] {
    margin: 0.4rem 0 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.w-rows[b-ns2k7pgh17] {
    margin: 0.5rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.9rem;
}

.w-rows li[b-ns2k7pgh17] {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.18rem 0;
    border-top: 1px dashed var(--line);
}

.w-rows li:first-child[b-ns2k7pgh17] {
    border-top: none;
}

.rem-actions[b-ns2k7pgh17] {
    display: inline-flex;
    gap: 0.4rem;
    white-space: nowrap;
}

.rem-done[b-ns2k7pgh17] {
    text-decoration: line-through;
    opacity: 0.5;
}

.rem-overdue[b-ns2k7pgh17] {
    color: #b42318;
}

.rem-today[b-ns2k7pgh17] {
    background: #fff8d6;
}

.rem-form[b-ns2k7pgh17] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
    margin-top: 0.6rem;
}

.rem-form input[type="text"][b-ns2k7pgh17] {
    grid-column: 1 / -1;
}
/* /Components/Pages/HomeSystem.razor.rz.scp.css */
/* Стилі як у віджетів Home.razor.css (scoped CSS не діє на вкладені компоненти) */
.widget[b-n21hsnfnwl] {
    padding: 0.9rem 1rem;
    border: 1.5px solid var(--ink);
    border-radius: 0.35rem 1.1rem 1.1rem 0.35rem;
    background: #fff;
}

.widget h3[b-n21hsnfnwl] {
    margin: 0 0 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

.w-sub[b-n21hsnfnwl], .w-empty[b-n21hsnfnwl] {
    margin: 0.4rem 0 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.w-rows[b-n21hsnfnwl] {
    margin: 0.5rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.9rem;
}

.sys-row[b-n21hsnfnwl] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.15rem 0.5rem;
    padding: 0.3rem 0;
    border-top: 1px dashed var(--line);
}

.sys-row:first-child[b-n21hsnfnwl] {
    border-top: none;
}

.sys-row b[b-n21hsnfnwl] {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.bar[b-n21hsnfnwl] {
    flex-basis: 100%;
    height: 0.4rem;
    border: 1px solid var(--ink);
    border-radius: 0.2rem;
    background: var(--paper);
    overflow: hidden;
}

.bar span[b-n21hsnfnwl] {
    display: block;
    height: 100%;
    transition: width 0.4s ease;
}

.bar .ok[b-n21hsnfnwl] { background: #4f9a6a; }
.bar .warn[b-n21hsnfnwl] { background: var(--signal); }
.bar .bad[b-n21hsnfnwl] { background: #d0453a; }

@media (prefers-reduced-motion: reduce) {
    .bar span[b-n21hsnfnwl] { transition: none; }
}
