@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';

/* _content/AdminPanel/Shared/MainLayout.razor.rz.scp.css */
.page[b-ub435jmuk9] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-ub435jmuk9] {
    flex: 1;
}

.sidebar[b-ub435jmuk9] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}


/* استایل فوتر */
.footer[b-ub435jmuk9] {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 40px 0;
    margin-top: 50px;
}

.footer-section[b-ub435jmuk9] {
    border-right: 1px solid #34495e;
    padding: 0 20px;
    color: black;
}

.footer-section:last-child[b-ub435jmuk9] {
    border-right: none;
}


.top-row[b-ub435jmuk9] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-ub435jmuk9]  a, .top-row .btn-link[b-ub435jmuk9] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-ub435jmuk9] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-ub435jmuk9] {
        display: none;
    }

    .top-row.auth[b-ub435jmuk9] {
        justify-content: space-between;
    }

    .top-row a[b-ub435jmuk9], .top-row .btn-link[b-ub435jmuk9] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-ub435jmuk9] {
        flex-direction: row;
    }

    .sidebar[b-ub435jmuk9] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-ub435jmuk9] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-ub435jmuk9], article[b-ub435jmuk9] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* _content/AdminPanel/Shared/NavMenu.razor.rz.scp.css */
/* استایل‌های پایه برای نوار ناوبری */
.top-row[b-e12dgy5jeb] {
    background-color: #333;
    padding: 10px 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand[b-e12dgy5jeb] {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.navbar-toggler[b-e12dgy5jeb] {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0.5rem;
}

.navbar-toggler-icon[b-e12dgy5jeb] {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* استایل‌های منو */
.nav-scrollable[b-e12dgy5jeb] {
    overflow-y: auto;
}

.nav-item[b-e12dgy5jeb] {
    padding: 10px 0;
}

.nav-link[b-e12dgy5jeb] {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
}

    .nav-link:hover[b-e12dgy5jeb] {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .nav-link .oi[b-e12dgy5jeb] {
        margin-right: 10px;
    }

/* استایل‌های برای حالت موبایل */
@media (max-width: 768px) {
    .navbar-toggler[b-e12dgy5jeb] {
        display: block;
    }

    .nav-scrollable[b-e12dgy5jeb] {
        display: none;
        background-color: #333;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 10px 0;
    }

      
}

/* استایل‌های برای حالت دسکتاپ */
@media (min-width: 769px) {
    .navbar-toggler[b-e12dgy5jeb] {
        display: block;
    }

    .nav-scrollable[b-e12dgy5jeb] {
        display: block;
        position: static;
        width: auto;
        padding: 0;
    }

    .nav-item[b-e12dgy5jeb] {
        display: inline-block;
    }

    .nav-link[b-e12dgy5jeb] {
        padding: 0.5rem 1rem;
    }
}
