@import 'JCBooking.Client.bundle.scp.css';

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

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

.sidebar[b-pvynz95ohg] {
    background-image: linear-gradient(180deg, #193f48 0%, #5693a5 70%);
}
.sidebar .toggle-btn[b-pvynz95ohg] {
    display: none;
}

.top-row[b-pvynz95ohg] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: space-between;
    height: 3.5rem;
    display: flex;
    align-items: center;
}
[data-bs-theme=dark] .top-row[b-pvynz95ohg] {
    background-color: #343a40;
    border-bottom-color: #6c757d;
}

.top-row[b-pvynz95ohg]  a, .top-row[b-pvynz95ohg]  .btn-link {
    white-space: nowrap;
    text-decoration: none;
}

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

.top-row-actions[b-pvynz95ohg] {
    display: none;
}

@media (max-width: 767.98px) {

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

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

    .sidebar[b-pvynz95ohg] {
        width: 15rem;
        height: 100vh;
        position: sticky;
        top: 0;
        transition: all 0.3s ease;
    }
    .sidebar.collapsed[b-pvynz95ohg] {
        width: 5rem;
    }

    .sidebar .toggle-btn[b-pvynz95ohg] {
        display: block;
        position: absolute;
        right: 0.1rem;
        top: 2.7rem;
        background: #a9e8fa;
        border-radius: 50%;
        width: 1.75rem;
        height: 1.75rem;
        border: none;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
        z-index: 100;
        cursor: pointer;
        transition: transform 0.3s ease;
        padding-top: 0.2rem;
    }
    .sidebar.collapsed .toggle-btn[b-pvynz95ohg] {
        transform: rotate(180deg);
    }

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

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

#blazor-error-ui[b-pvynz95ohg] {
    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;
}
[data-bs-theme=dark] #blazor-error-ui[b-pvynz95ohg] {
    background: #ffc107;
}

#blazor-error-ui .dismiss[b-pvynz95ohg] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* _content/JCBooking.Web/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-9xloxmsbsm] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    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-9xloxmsbsm] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-9xloxmsbsm] {
    height: 3.5rem;
    background-color: rgba(255,255,255,0.7);
    color: #468191;
    display: flex;
    justify-content: space-between;
}
[data-bs-theme=dark] .top-row[b-9xloxmsbsm] {
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-9xloxmsbsm] {
    font-size: 1.1rem;
    color: #090909;
}
[data-bs-theme=dark] .navbar-brand[b-9xloxmsbsm] {
    color: #90d3e7;
}
.navbar-brand img.logo[b-9xloxmsbsm] {
    height: 2.7rem;
    background-color: white;
    padding: 0.2rem;
    border-radius: 0.3rem;
}

.bi[b-9xloxmsbsm] {
    line-height: 1rem;
    font-size: 1.3rem;
}

.nav-item[b-9xloxmsbsm] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

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

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

.nav-item[b-9xloxmsbsm]  .nav-link {
    color: #d7d7d7;
    background: none;
    border: none;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    width: 100%;
    padding-left: 0.75rem;
}

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

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

.actions-nav-item[b-9xloxmsbsm] {
    display: flex;
}

.nav-scrollable[b-9xloxmsbsm] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-9xloxmsbsm] {
    display: block;
}

.nav-label[b-9xloxmsbsm] {
    padding-left: 0.5rem;
}

@media (min-width: 768px) {
    .actions-nav-item[b-9xloxmsbsm] {
        display: none;
    }
    .navbar-toggler[b-9xloxmsbsm] {
        display: none;
    }

    .nav-scrollable[b-9xloxmsbsm] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
    .sidebar.collapsed .title[b-9xloxmsbsm] {
        display: none;
    }
    .sidebar.collapsed .nav-label[b-9xloxmsbsm] {
        display: none;
    }
}
