/* User profile styles */
.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.user-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.user-avatar-sm {
    width: 30px;
    height: 30px;
}

.user-avatar-lg {
    width: 100px;
    height: 100px;
}

.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.user-dropdown:hover .user-dropdown-content {
    display: block;
    animation: fadeIn 0.3s;
}

.user-dropdown-header {
    padding: 15px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.user-dropdown-header .user-name {
    font-weight: 600;
    margin-top: 8px;
    color: #333;
}

.user-dropdown-header .user-email {
    font-size: 12px;
    color: #666;
}

.user-dropdown-item {
    padding: 12px 15px;
    color: #333;
    display: block;
    text-decoration: none;
    transition: background-color 0.2s;
}

.user-dropdown-item:hover {
    background-color: #f5f5f5;
    color: #01d28e;
}

.user-dropdown-divider {
    height: 1px;
    background-color: #eee;
    margin: 0;
}

.user-dropdown-item i {
    margin-right: 10px;
    color: #01d28e;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* User profile page styles */
.profile-header {
    background-color: #f8f9fa;
    padding: 30px 0;
    border-radius: 10px;
    margin-bottom: 30px;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.profile-info h2 {
    margin-bottom: 5px;
    color: #333;
}

.profile-info p {
    color: #666;
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
    color: #01d28e;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.profile-tabs {
    margin-top: 30px;
}

.profile-tab-content {
    padding: 20px;
    background-color: #fff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.profile-nav-tabs .nav-link {
    color: #666;
    font-weight: 500;
}

.profile-nav-tabs .nav-link.active {
    color: #01d28e;
    font-weight: 600;
}
