/* Custom styles for the application */

/* Online Users Badges */
.online-users-badges {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    z-index: 10;
}

.online-users-badges .badge-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.online-users-badges .badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    position: relative;
}

.online-users-badges .badge i {
    margin-right: 3px;
    font-size: 14px;
}

.online-users-badges .badge span {
    font-size: 12px;
}

.online-users-badges .teacher-badge {
    background-color: #ff7043;
}

.online-users-badges .student-badge {
    background-color: #42a5f5;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .online-users-badges {
        left: 10px;
    }

    .online-users-badges .badge {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
}

/* Online Users List Styles */
.online-users-list {
    margin-top: 10px;
}

.online-users-list .menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    color: #fff;
    background-color: #34495e;
    border-radius: 5px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.online-users-list .menu-item:hover {
    background-color: #2c3e50;
}

.online-users-list .submenu {
    padding: 0;
    margin-bottom: 15px;
    max-height: 300px;
    overflow-y: auto;
}

.online-user-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    margin-bottom: 5px;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.online-user-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.online-user-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
    margin-bottom: 5px;
    color: #ecf0f1;
}

.online-user-details {
    font-size: 0.85rem;
    color: #bdc3c7;
}

.online-user-details div {
    margin-bottom: 3px;
}

.online-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #2ecc71;
    border-radius: 50%;
    margin-left: 5px;
}

.academic-year {
    font-weight: bold;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 8px 15px;
    border-radius: 5px;
    display: inline-block;
}
