/* Profile Picture Styles */

.profile-picture-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border-bottom: 2px solid var(--bg-tertiary);
}

.profile-picture-display {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--surface-color);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.profile-picture-display img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-picture-display i {
    font-size: 2rem;
    color: var(--text-secondary);
}

.upload-picture-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.upload-picture-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.upload-picture-btn i {
    font-size: 0.875rem;
}

/* Profile Avatar in Header */
.profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-color);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--border-light);
}

.profile-avatar i {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Upload Progress */
.upload-progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
}

.upload-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Remove Picture Button */
.remove-picture-btn {
    background: var(--danger-color);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.remove-picture-btn:hover {
    background: var(--danger-hover);
}

.remove-picture-btn i {
    font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-picture-display {
        width: 70px;
        height: 70px;
    }
    
    .profile-picture-display i {
        font-size: 1.75rem;
    }
    
    .upload-picture-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}