@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 700px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    /*padding-top: 60px;*/ /* Header yüksekliğine göre ayarlayın */
    /*padding-bottom: 60px;*/ /* Footer yüksekliğine göre ayarlayın */
}

/* Header ve footer stilleri */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px; /* Header yüksekliği */
    background-color: orange; /* Header arka plan rengi */
    z-index: 1000;
}

footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px; /* Footer yüksekliği */
    background-color: orange; /* Footer arka plan rengi */
    z-index: 1000;
}

.wrapper {
    display: flex;
}

.main {
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    transition: all 0.35s ease-in-out;
    /*background-color: #fafbfe;*/
}

#sidebar {
    width: 70px;
    min-width: 70px;
    z-index: 1000;
    transition: all .25s ease-in-out;
    background-color: #0e2238;
    display: flex;
    flex-direction: column;
}

.sidebar-link {
    cursor: pointer;
}
    #sidebar.expand {
        width: 260px;
        min-width: 260px;
    }

.toggle-btn {
    background-color: transparent;
    cursor: pointer;
    border: 0;
    padding: 1rem 1.5rem;
}

    .toggle-btn i {
        font-size: 1.5rem;
        color: #FFF;
    }

.sidebar-logo {
    margin: auto 0;
}

    .sidebar-logo a {
        color: #FFF;
        font-size: 1.15rem;
        font-weight: 600;
    }

#sidebar:not(.expand) .sidebar-logo,
#sidebar:not(.expand) a.sidebar-link span {
    display: none;
}

.sidebar-nav {
    padding: 2rem 0;
    flex: 1 1 auto;
}

a.sidebar-link {
    padding: .625rem 1.625rem;
    color: #FFF;
    display: block;
    font-size: 0.9rem;
    white-space: nowrap;
    border-left: 3px solid transparent;
}

.sidebar-link i {
    font-size: 1.1rem;
    margin-right: .75rem;
}

a.sidebar-link:hover {
    background-color: rgba(255, 255, 255, .075);
    border-left: 3px solid #3b7ddd;
}

.sidebar-item {
    position: relative;
}

#sidebar:not(.expand) .sidebar-item .sidebar-dropdown {
    position: absolute;
    top: 0;
    left: 70px;
    background-color: #0e2238;
    padding: 0;
    min-width: 15rem;
    display: none;
}

#sidebar:not(.expand) .sidebar-item:hover .has-dropdown + .sidebar-dropdown {
    display: block;
    max-height: 15em;
    width: 100%;
    opacity: 1;
}

#sidebar.expand .sidebar-link[data-bs-toggle="collapse"]::after {
    border: solid;
    border-width: 0 .075rem .075rem 0;
    content: "";
    display: inline-block;
    padding: 2px;
    position: absolute;
    right: 1.5rem;
    top: 1.4rem;
    transform: rotate(-135deg);
    transition: all .2s ease-out;
}

#sidebar.expand .sidebar-link[data-bs-toggle="collapse"].collapsed::after {
    transform: rotate(45deg);
    transition: all .2s ease-out;
}

#settings-panel,
#task-panel {
    background-color: #0e2238; /* Arka plan rengini siyah yap */
    color: #fff; /* Yazı rengini beyaz yap */
    padding: 2rem;
    border-radius: 8px;
    width: 100%; /* Genişlik */
    max-width: 260px; /* Sidebar genişliği ile aynı */
    cursor: pointer;
}

::after,
::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

/*li {
    list-style: none;
}*/

h1 {
    font-weight: 600;
    font-size: 1.5rem;
}

.yukseklik {
    height: auto;
}

#ankettablo td.text-truncatekes {
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

.resizable {
    position: relative;
    user-select: none;
    min-width: 50px;
    overflow: hidden;
}

    .resizable::after {
        content: "";
        position: absolute;
        right: -4px;
        top: 0;
        width: 8px;
        height: 100%;
        cursor: col-resize;
        background-color: transparent;
        z-index: 10;
    }

    .resizable:hover::after {
        background-color: rgba(0, 123, 255, 0.2);
    }

.resizing {
    cursor: col-resize;
    user-select: none;
}

    .resizing * {
        cursor: col-resize !important;
    }


.link-cursor {
    cursor: pointer;
}

table.mttable-bordered td,
table.mttable-bordered th {
    border: 1px solid #3b7ddd; /* Siyah kenarlık */
}

table.mttable-bordered {
    border-collapse: collapse; /* Kenarlıkların üst üste binmesini önler */
}

/* Mobil uyumluluk için eklemeler */
@media (max-width: 767.98px) {
    .navbar-collapse {
        justify-content: flex-start;
        background-color: aliceblue; /* Menü arka plan rengi */
    }

    .navbar-nav {
        width: 100%;
    }

        .navbar-nav .nav-item {
            width: 100%;
            text-align: center;
        }

            .navbar-nav .nav-item .nav-link {
                width: 100%;
                color: #FFF; /* Menü rengi */
            }

    .navbar-brand {
        margin-left: auto;
        margin-right: auto;
        color: #FFF; /* Navbar markası rengi */
    }

    .float-end {
        float: none !important;
        text-align: center;
        margin-top: 10px;
    }

    .d-flex {
        flex-direction: column;
    }

    .navbar-toggler {
        border-color: #FFF; /* Toggler buton rengi */
    }

    .navbar-toggler-icon {
        background-color: #FFF; /* Toggler ikon rengi */
    }
}



/* Mobil uyumluluk için eklemeler */
/*@media (max-width: 767.98px) {
    .navbar-collapse {
        justify-content: flex-start;
    }

    .navbar-nav {
        width: 100%;
    }

        .navbar-nav .nav-item {
            width: 100%;
            text-align: center;
        }

            .navbar-nav .nav-item .nav-link {
                width: 100%;
            }

    .navbar-brand {
        margin-left: auto;
        margin-right: auto;
    }

    .float-end {
        float: none !important;
        text-align: center;
        margin-top: 10px;
    }

    .d-flex {
        flex-direction: column;
    }
}*/
