﻿.sidebar {
    width: var(--SideBar_Width);
    top: var(--TopBar_Height);
    bottom: 0;
    left: 0;
    overflow-y: auto;
    position: fixed;
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--TopBar_Height));
    transition: width 0.3s ease;
}

.main-content {
    margin-left: var(--SideBar_Width);
    margin-top: var(--TopBar_Height);
    overflow-y: auto;
    height: calc(100vh - var(--TopBar_Height));
    transition: margin-left 0.3s ease;
}

.nav-link:not(.icon-only) span {
    transition: display 0.2s ease;
}

.nav-link.clicked {
    color: var(--Rewista-firstColor) !important;
}

.sidebar-item {
    padding: 5px;
    color: white;
}

    .sidebar-item a {
        text-decoration: none;
        color: white;
        display: block;
    }

        .sidebar-item a:hover {
            background-color: #444;
        }

.nav-item {
    margin-top: 1px;
    color: red !important;
}

.nav-link {
    width: 100%;
}

.collapsed-hover {
    width: 100%;
}

    .collapsed-hover:hover {
        border-top-left-radius: 0px !important;
        border-bottom-left-radius: 0px !important;
        padding-left: 0px !important;
        border-left: none !important;
        background-color: transparent !important;
        transform: scale(1.2);
        transition: transform 0.3s;
        border-bottom: 2px solid var(--Rewista-thirdColor) !important;
    }

.hover-effect:hover {
    border-left: 4px solid var(--Rewista-secondColor);
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 8px;
    color: white;
    cursor: pointer;
}

.topbar {
    border-bottom: 1px solid;
    border-color: var(--Rewista-firstColor) !important;
    border-image: none !important;
}

.btn-parent.active.focus, .btn-parent.active:focus, .btn-parent.focus { 
    outline: 0 !important;
    border: none !important;
    outline: none !important;
}

.collapse-icon {
    display: inline-block;
    transition: transform 0.3s !important;
    transform: rotate(0deg);
}

.btn-link {
    color: white;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    padding: 0;
}

.submenu {
    margin-top: 5px;
}

.navbar-button {
    transition: color .5s ease !important;
}

    .navbar-button i {
        transition: color .5s ease !important;
    }

    .navbar-button:hover i {
        color: var(--Rewista-firstColor) !important;
    }



/*FLyout*/
.dxbl-flyout .user-information-flyout .dxbl-arrow {
    visibility: hidden !important;
}

.user-information-flyout {
    background-color: #212529 !important;
    border: 1px solid var(--Rewista-darkColor) !important;
    border-radius: 0px 0px 10px 10px !important;
    color: #ffffff !important;
    padding: 16px !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4) !important;
    transition: all 0.3s ease-in-out !important;
}

.user-information-flyout-header {
    border-bottom: 1px solid var(--Rewista-thirdColor) !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    padding-bottom: 8px !important;
    margin-bottom: 16px !important;
    color: #ffffff !important;
}

.user-information-flyout-footer {
    border-top: 1px solid var(--Rewista-thirdColor) !important;
    padding-top: 10px !important;
    margin-top: 16px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    color: #ffffff !important;
}

.rewista-indicator {
    --dx-color-primary: var(--Rewista-firstColor) !important;
}

.user-information-flyout * {
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out !important;
}
.footer-button-group {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 5px !important;

}

.logout-button {
    background-color: transparent !important;
    border: 1px solid var(--Rewista-firstColor) !important;
    color: white !important;
    font-weight: 300 !important;
    min-width:100px;
    height:40px;
    font-size: 0.90rem !important;
    padding: 6px 14px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    text-align:center;
    transition: all 0.2s ease-in-out !important;
}

    .logout-button:hover {
        background-color: var(--Rewista-firstColor) !important;
        color: #fff !important;
    }

.settings-button {
    background-color: transparent !important;
    border: 1px solid var(--Rewista-thirdColor) !important;
    color: var(--Rewista-thirdColor) !important;
    font-weight: 300 !important;
    font-size: 0.9rem !important;
    padding: 6px 14px !important;
    height: 40px;
    text-align: center;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
}

    .settings-button:hover {
        background-color: var(--Rewista-thirdColor) !important;
        color: #fff !important;
    }

/*FLyout - end*/
