body { 
    margin: 0; 
    font-family: Arial, sans-serif; 
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

.container { 
    display: flex; 
    min-height: 100vh; 
}

.sidebar {
    width: 200px;
    background: #1E90FF; /* Sidebar mavi */
    color: #fff;
    padding: 0;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.footer {
    background: #f5f5f5;                       /* kirli beyaz */
    color: #333;
    text-align: center;
    padding: 10px 20px;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.05); /* üstten hafif gölge */
    border-top: 2px solid rgb(255,140,0) ; 
    /* üst turuncu çizgi, zorla uygula */
}


.sidebar-logo .logo {
    background-color: #f5f5f5; /* kirli beyaz */
    max-width: 100%;
    width: 100px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.header { 
    background: #f5f5f5; /* kirli beyaz */
    color: #333;          /* yazı rengi */
    padding: 10px 20px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* alt gölge */
    border-bottom: 2px solid rgb(255,140,0);/*turuncu*/
}



.header-top {
    display: flex;
    justify-content: space-between; /* Logo sol, username sağ */
    align-items: center;
}

.header-right .username {
    font-weight: bold;
}

.header-top .logo {
    width: 100px;  
    height: auto;  
}

.main {
    flex: 1;
    padding: 20px;
    margin-top: 40px; /* Menü ile içerik arası boşluk */
}

.footer {
    background: #f5f5f5; /* kirli beyaz */
    color: #333;          /* yazı rengi */
    text-align: center;
    padding: 10px;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1); /* üstten gölge / derinlik */
    border-top: 2px solid #ff0000; /* üst kırmızı çizgi */
}


.menu {
    flex: 1;
}

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu li { margin-bottom: 10px; }

.menu a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 5px 10px;
}

.menu a:hover { background: #555; }

@media (max-width: 768px) {
    .container { 
        flex-direction: column; 
    }
    .sidebar { 
        width: 100%; 
    }
}

/*
 * Bu stil, sadece login sayfası gibi özel durumlarda
 * içeriği ekranın tam ortasına yerleştirmek için kullanılır.
 */
.x-main {
    display: flex;
    justify-content: center; /* Yatayda ortalar */
    align-items: center;    /* Dikeyde ortalar */
    min-height: 100vh;      /* En az ekran yüksekliği kadar yer kaplar */
    width: 100%;            /* Genişliği 100% yapar */
}

.user-info {
    display: flex;
    align-items: center;
    /*gap: 8px;  ikonlar arasında ve yazı ile ikon arasında boşluk */
}

.user-icon {
    width: 24px;
    height: 24px;
    background-color: #f9c74f; /* sarı ikon */
    border-radius: 50%;
    flex-shrink: 0;
}

