.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 200px;
    height: 100%;
    background: #1e1e1e;
    box-shadow: 2px 0 10px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 999;
    overflow: hidden;
    transition: width 0.3s ease;
}

/* Nyitó/záró gombok lebegve */
.nav-bar {
    position: absolute;
    top: 15px;
    right: -18px;
    background: #ffb400;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    z-index: 1000;
}
.nav-arrow {
    width: 16px;
    height: 16px;
}

.sidebarheader {
    padding: 15px 0;
    text-align: center;
}
.sidebarheader img {
    max-width: 100px;
    height: auto;
    transition: transform 0.2s ease;
}
.sidebarheader img:hover {
    transform: scale(1.05);
}

.sidebar-rows {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 8px;
}
.sidebar-row {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    color: #ddd;
    text-decoration: none;
    transition: background 0.2s ease;
}
.sidebar-row:hover {
    background: #333;
}
.sidebar-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.notif-normal, .notif-red {
    font-size: 12px;
    padding: 3px 7px;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
    margin-left: auto;
    color: white;
}
.notif-normal { background: #ffb400; }
.notif-red { background: #ff4444; }

.login-panel {
    background: #161616;
    padding: 15px;
    border-top: 1px solid #333;
}
.miniprofile {
    display: flex;
    align-items: center;
    background: #222;
    padding: 8px;
    border-radius: 8px;
}
.miniavatar {
    width: 38px;
    height: 38px;
    border-radius: 100%;
    margin-right: 20px;
}
.profilinfo {
    display: flex;
    flex-direction: column;
}
.sidebaralnev { font-weight: bold; color: #fff; }
.sidebarrendfokozat { font-size: 12px; color: #bbb; }

.logout-text {
    margin-top: 10px;
    background: gray;
    border: none;
    padding: 8px;
    border-radius: 6px;
    color: black;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}
.logout-text:hover {
    background: darkgray;
}

.copyrightdiv {
    padding: 8px;
    text-align: center;
    font-size: 11px;
    color: #666;
}
