@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --sidebar-width: 280px;
}

body {
    /* font-family: 'Noto Sans', sans-serif;*/
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    font-size: 80%;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: var(--sidebar-width);
    z-index: 1000;
    transition: all 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
    border-right: 1px solid var(--bs-border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

    .sidebar.collapsed {
        transform: translateX(-100%);
    }

    .sidebar::-webkit-scrollbar {
        width: 6px;
    }

    .sidebar::-webkit-scrollbar-track {
        background: transparent;
    }

    .sidebar::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 3px;
    }

[data-bs-theme="dark"] .sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
}

/* Logo Area */
.logo-area {
    padding: 1.5rem 1rem;
    /* border-bottom: 1px solid var(--bs-border-color);*/
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--bs-body-color);
}

    .logo:hover {
        color: var(--bs-primary);
    }

.logo-icon {
    width: 40px;
    height: 40px;
    /*background: linear-gradient(135deg, var(--bs-primary), var(--bs-info));*/
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
   /* color: white;*/
    font-size: 1.2rem;
}

/* Navigation */
.nav-section {
    margin-bottom: 0.5rem;
}

.nav-section-header {
    display: flex;
    align-items: center;
    justify-content: between;
    padding: 0.75rem 1rem;
    margin: 0 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--bs-body-color);
    text-decoration: none;
    font-weight: 600;
}

    .nav-section-header:hover {
        background-color: var(--bs-secondary-bg);
        color: var(--bs-primary);
    }

    .nav-section-header.collapsed {
        color: var(--bs-body-color);
    }

.nav-section-title {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

    .nav-section-title i {
        width: 20px;
        margin-right: 12px;
        font-size: 1.1rem;
    }

.nav-section-arrow {
    margin-left: auto;
    transition: transform 0.2s ease;
    font-size: 0.8rem;
}

.nav-section-header:not(.collapsed) .nav-section-arrow {
    transform: rotate(180deg);
}

.nav-section-content {
    overflow: hidden;
    transition: all 0.3s ease;
}

    .nav-section-content.collapse:not(.show) {
        height: 0;
    }

.nav-item {
    margin: 0 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.6rem 1rem 0.6rem 2.8rem;
    border-radius: 8px;
    color: var(--bs-body-color);
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 2px;
    font-size: 0.9rem;
    position: relative;
}

    .nav-link::before {
        content: '';
        position: absolute;
        left: 2rem;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 4px;
        background-color: var(--bs-secondary);
        border-radius: 50%;
        transition: all 0.2s ease;
    }

    .nav-link:hover {
        background-color: var(--bs-primary-bg-subtle);
        color: var(--bs-primary);
        padding-left: 3rem;
    }

        .nav-link:hover::before {
            background-color: var(--bs-primary);
            transform: translateY(-50%) scale(1.5);
        }

    .nav-link.active {
        background-color: var(--bs-primary);
        color: white;
        padding-left: 3rem;
    }

        .nav-link.active::before {
            background-color: white;
            transform: translateY(-50%) scale(1.5);
        }

    .nav-link i {
        width: 16px;
        margin-right: 8px;
        font-size: 0.9rem;
    }

    /* Standalone Dashboard Link */
    .nav-link.standalone {
        padding: 0.5rem 1rem !important;
        /*margin: 0 0.5rem 1rem 0.5rem !important;*/
        /*font-weight: 600;*/
        font-size: 0.9rem;
    }

        .nav-link.standalone::before {
            display: none;
        }

        .nav-link.standalone i {
            width: 20px;
            margin-right: 12px;
            font-size: 1.1rem;
        }

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.3s ease;
}

    .main-content.expanded {
        margin-left: 0;
    }

/* Top Navbar */
.top-navbar {
    position: fixed;
    top: 0;
    left: var(--sidebar-width);
    right: 0;
    background-color: var(--bs-body-bg);
    border-bottom: 1px solid var(--bs-border-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    transition: left 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

[data-bs-theme="dark"] .top-navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.main-content.expanded .top-navbar {
    left: 0;
}

/* Content Area */
.content-area {
    flex: 1;
    padding: 0.3rem;
    margin-top: 80px; /* Navbar yüksekliği için boşluk */
}

/* Footer */
.footer {
    background-color: var(--bs-secondary-bg);
    border-top: 1px solid var(--bs-border-color);
    padding: 0.5rem;
    margin-top: auto;
}

/* Theme Toggle and Fullscreen Toggle */
.theme-toggle, .fullscreen-toggle {
    background: none;
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    padding: 0.5rem;
    color: var(--bs-body-color);
    transition: all 0.2s ease;
}

    .theme-toggle:hover, .fullscreen-toggle:hover {
        background-color: var(--bs-secondary-bg);
        color: var(--bs-primary);
    }

/* Fullscreen mode adjustments */
.fullscreen-mode .sidebar {
    z-index: 2000;
}

.fullscreen-mode .top-navbar {
    z-index: 1999;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

        .sidebar.show {
            transform: translateX(0);
        }

    .main-content {
        margin-left: 0;
    }

    .top-navbar {
        left: 0;
        padding: 1rem;
    }

    .content-area {
        padding: 1rem;
        margin-top: 70px; /* Mobilde daha az margin */
    }

    .footer {
        padding: 1rem;
    }
}

/* Badge */
.nav-badge {
    margin-left: auto;
    font-size: 0.7rem;
}

.avatar-xxs {
    height: 1.5rem;
    width: 1.5rem;
}

.avatar-xs {
    height: 2rem;
    width: 2rem;
}

.avatar-sm {
    height: 3rem;
    width: 3rem;
}

.avatar-md {
    height: 4.5rem;
    width: 4.5rem;
}

.avatar-lg {
    height: 6rem;
    width: 6rem;
}

.avatar-xl {
    height: 7.5rem;
    width: 7.5rem;
}

.avatar-title {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #4b38b3;
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-weight: 500;
    height: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
}

.avatar-group {
    padding-left: 12px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.avatar-group .avatar-group-item {
    margin-left: -12px;
    border: 2px solid var(--vz-secondary-bg);
    border-radius: 50%;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

.avatar-group .avatar-group-item:hover {
    position: relative;
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    z-index: 1;
}

.pfs-1 {
    font-size: calc(1.328125rem + .9375vw) !important
}

.pfs-2 {
    font-size: calc(1.2875rem + .45vw) !important
}

.pfs-3 {
    font-size: calc(1.2671875rem + .20625vw) !important
}

.pfs-4 {
    font-size: 1.21875rem !important
}

.pfs-5 {
    font-size: 1.015625rem !important
}

.pfs-6 {
    font-size: .8125rem !important
}
.fs-1a {
    font-size: 4rem !important
}
.fs-4 {
    font-size: 1.4rem !important
}
.pfs-10 {
    font-size: 10px !important
}

.pfs-11 {
    font-size: 11px !important
}

.pfs-12 {
    font-size: 12px !important
}

.pfs-13 {
    font-size: 13px !important
}

.pfs-14 {
    font-size: 14px !important
}

.pfs-15 {
    font-size: 15px !important
}

.pfs-16 {
    font-size: 16px !important
}

.pfs-17 {
    font-size: 17px !important
}

.pfs-18 {
    font-size: 18px !important
}

.pfs-19 {
    font-size: 19px !important
}

.pfs-20 {
    font-size: 20px !important
}

.pfs-21 {
    font-size: 21px !important
}

.pfs-22 {
    font-size: 22px !important
}

.pfs-23 {
    font-size: 23px !important
}

.pfs-24 {
    font-size: 24px !important
}

.pfs-36 {
    font-size: 36px !important
}

.pfs-48 {
    font-size: 48px !important
}

.table-nowrap th,
.table-nowrap td {
    white-space: nowrap;
}

.border-dashed {
    border-style: dashed !important;
}

.border-top-dashed {
    border-top-style: dashed !important;
}

.border-bottom-dashed {
    border-bottom-style: dashed !important;
}

.border-end-dashed {
    border-right-style: dashed !important;
}

.border-start-dashed {
    border-left-style: dashed !important;
}