/* Profile Specific Styles */
.profile-header {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cover-photo-container {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.cover-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cover-photo-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.cover-photo-container:hover .cover-photo-overlay {
    opacity: 1;
}

.profile-info {
    background: white;
    padding: 20px 0;
    margin-top: -80px;
}

.profile-picture-container {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto;
}

.profile-picture {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 5px solid white;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.profile-picture-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.profile-picture-container:hover .profile-picture-overlay {
    opacity: 1;
}

.profile-name {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.profile-username {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.profile-bio {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.profile-stats {
    font-size: 0.9rem;
}

/* About Section */
.about-item {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.about-item:last-child {
    border-bottom: none;
}

/* Relationships */
.relationships-list {
    max-height: 300px;
    overflow-y: auto;
}

.relationship-item {
    padding: 8px 0;
}

.relationship-item:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

/* User avatars */
.user-avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.user-avatar-md {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.user-avatar-lg {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.online-indicator {
    position: relative;
}

.online-indicator::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    background: #28a745;
    border: 2px solid white;
    border-radius: 50%;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-info {
        margin-top: -60px;
    }
    
    .profile-picture-container {
        width: 120px;
        height: 120px;
    }
    
    .profile-name {
        font-size: 1.5rem;
    }
    
    .cover-photo-container {
        height: 200px;
    }
}