/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-in461q4kss] {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

main[b-in461q4kss] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

article[b-in461q4kss] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar[b-in461q4kss] {
    /*background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);*/
    background-color: rgb(117 75 171);
}

.top-row[b-in461q4kss] {
    background-color: var(--header-bg-color);
    border-bottom: 1px solid var(--header-border-color);
    justify-content: flex-end;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 20;
}

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

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

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

@media (max-width: 768px) {
    .top-row[b-in461q4kss] {
        height: 0;
        border-bottom: none;
        overflow: visible;
        background-color: transparent;
    }

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

    .profile-menu-container[b-in461q4kss] {
        position: absolute !important;
        top: 6.5px;
        right: 70px;
        z-index: 1050;
    }
}

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

    .sidebar[b-in461q4kss] {
        height: 100vh;
        position: sticky;
        top: 0;
        align-self: flex-start;
    }

    .top-row[b-in461q4kss] {
        position: sticky;
        top: 0;
    }

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

}
/* /Layout/NavMenu.razor.rz.scp.css */
.nav-container[b-v3p2k1dae9] {
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease;
    width: 100%;
    position: relative;
}

.top-row[b-v3p2k1dae9] {
    height: var(--header-height);
    display: flex;
    align-items: center;
    background-color: var(--header-bg-color);
    flex-shrink: 0;
}

.container-fluid[b-v3p2k1dae9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 1rem;
}

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

.navbar-toggler[b-v3p2k1dae9] {
    background-color: rgb(117 75 171);
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
}

.navbar-toggler-icon[b-v3p2k1dae9] {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: 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, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.navbar-toggler.open .navbar-toggler-icon[b-v3p2k1dae9] {
    background-image: 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, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M7 7l16 16M7 23L23 7'/%3e%3c/svg%3e");
}

.nav-scrollable[b-v3p2k1dae9] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.nav-item[b-v3p2k1dae9] {
    font-size: 0.9rem;
}

.nav-item[b-v3p2k1dae9]  a {
    color: #d7d7d7;
    height: 55px;
    display: flex;
    align-items: center;
    line-height: 55px;
    white-space: nowrap;
    overflow: hidden;
    padding: 0 1rem;
}

.nav-item[b-v3p2k1dae9]  a.active {
    background-color: rgba(208, 127, 255, 0.5);
    color: white;
}

.nav-item[b-v3p2k1dae9]  a:hover {
    background-color: rgba(208, 127, 255, 0.3);
    color: white;
}

.side-icon[b-v3p2k1dae9] {
    margin-right: 1rem;
}

/* トグルボタン・フッター関連 */
.nav-backdrop[b-v3p2k1dae9] {
    display: none;
}

.nav-footer[b-v3p2k1dae9] {
    display: none;
}

.toggle-btn[b-v3p2k1dae9] {
    width: 100%;
    height: 50px;
    background: transparent;
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    overflow: hidden;
    white-space: nowrap;
}

.nav-container:not(.collapsed-desktop) .toggle-btn[b-v3p2k1dae9] {
    justify-content: flex-start;
}

.toggle-btn:hover[b-v3p2k1dae9] {
    background-color: rgba(255, 255, 255, 0.1);
}

.toggle-icon[b-v3p2k1dae9] {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-size: cover;
    flex-shrink: 0;
}

.expand-icon[b-v3p2k1dae9] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23FFF' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M3.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L9.293 8 3.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3Cpath fill-rule='evenodd' d='M7.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L13.293 8 7.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.collapse-icon[b-v3p2k1dae9] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23FFF' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8.354 1.646a.5.5 0 0 1 0 .708L2.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3Cpath fill-rule='evenodd' d='M12.354 1.646a.5.5 0 0 1 0 .708L6.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
}

.toggle-text[b-v3p2k1dae9] {
    margin-left: 10px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .nav-backdrop[b-v3p2k1dae9] {
        display: block;
        position: fixed;
        top: var(--header-height);
        bottom: 0;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        transition: opacity 0.2s ease;
        opacity: 1;
        pointer-events: auto;
    }

    .nav-backdrop.backdrop-hidden[b-v3p2k1dae9] {
        opacity: 0;
        pointer-events: none;
    }

    .nav-scrollable[b-v3p2k1dae9] {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: rgb(117 75 171);
        z-index: 1050;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        transition: clip-path 0.2s ease-out, opacity 0.2s ease-out;
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }

    .nav-scrollable.collapse[b-v3p2k1dae9] {
        display: block !important;
        clip-path: inset(0 0 100% 0);
        opacity: 0;
        pointer-events: none;
    }
}

@media (min-width: 769px) {
    .nav-container[b-v3p2k1dae9] {
        width: 200px;
        height: 100vh;
    }

    .nav-container.collapsed-desktop[b-v3p2k1dae9] {
        width: 65px;
    }

    .navbar-toggler[b-v3p2k1dae9] {
        display: none;
    }

    .collapse[b-v3p2k1dae9] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-v3p2k1dae9] {
        /* Allow sidebar to scroll for tall menus */
        height: auto;
    }

    .nav-footer[b-v3p2k1dae9] {
        display: flex;
        flex-shrink: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    /* Collapsed desktop overrides */
    .nav-container.collapsed-desktop .logo-text[b-v3p2k1dae9],
    .nav-container.collapsed-desktop .nav-text[b-v3p2k1dae9] {
        display: none !important;
    }

    .nav-container.collapsed-desktop .logo-mark[b-v3p2k1dae9] {
        margin-right: 0 !important;
    }

    .nav-container.collapsed-desktop .navbar-brand[b-v3p2k1dae9] {
        justify-content: center !important;
        margin: 0 auto !important;
    }

    .nav-container.collapsed-desktop .container-fluid[b-v3p2k1dae9] {
        justify-content: center !important;
        padding: 0 !important;
    }

    .nav-container.collapsed-desktop .side-icon[b-v3p2k1dae9] {
        margin-right: 0 !important;
    }

    .nav-container.collapsed-desktop .nav-item[b-v3p2k1dae9]  a {
        padding: 0 !important;
        justify-content: center !important;
    }

    .nav-container.collapsed-desktop .toggle-btn[b-v3p2k1dae9] {
        padding: 0 !important;
        justify-content: center !important;
    }
}
