/* SIDEBAR ALANI */
.sidebar {
    position: fixed;
    top: 60px; /* logo alanı yüksekliği kadar boşluk */
    left: 0;
    width: 250px;
    height: calc(100vh - 60px);
    background: #fff;
    border-right: 1px solid #ccc;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

/* ÜST VE ALT MENÜLER */
.top-menu,
.bottom-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* KARE BUTONLAR */
.square-btn {
    width: 100%;
	height:100px;
    /*aspect-ratio: 1 / 1;*/ /* kare */
    background: #FFF;
    color: #006165;
	font-weight:bold;
    border: none;
    border-radius: 10px;
    font-size: var(--font-size);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
	border:2px solid #006165;
}

.square-btn i {
    font-size: 32px;
    margin: 0 0 15px 0;
}

.square-btn.active {
	color:#FFF;
    background: #006165;
}

.square-btn.logout
{
    background: #FFF;
    border: 2px solid #2E2D2C;
    color: #2E2D2C;
}


/* BADGE (KIRMIZI NOKTA) */
.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 12px;
    height: 12px;
    background: #e53935;
    border-radius: 50%;
}

/* SCROLL ORTA ALAN */
.scroll-area {
    flex: 1;
    overflow-y: auto;
    margin: 15px 0;
    padding-right: 4px;
}

.scroll-area::-webkit-scrollbar {
    width: 6px;
}
.scroll-area::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

/* ORTA MENÜLER */
.menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
	font-size: var(--font-size);
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #333;
}

.menu-item i {
	font-size: var(--font-size-md);
    width: 20px;
    text-align: center;
    color: #333;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 10px;
    }

    .square-btn {
        width: 100px;
        height: 100px;
        aspect-ratio: unset;
    }

    .scroll-area {
        width: 100%;
        order: 3;
        flex: 1 1 100%;
        overflow-x: auto;
        display: flex;
        padding: 10px 0;
        margin: 10px 0;
    }

    .menu-item {
        border: none;
        flex: 0 0 auto;
        padding: 0 12px;
    }
}