/* Styles pour la page de profil */
.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 160px 2rem 2rem 2rem; /* Ajusté à 160px pour navbar 140px + marge */
}

.profile-header {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

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

.profile-info {
    flex-grow: 1;
}

.profile-info h1 {
    margin: 0 0 0.5rem 0;
}

.profile-info .role {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

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

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-content {
    display: grid;
    gap: 2rem;
}

.profile-section {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.profile-section h2 {
    margin-top: 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.list-item {
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.list-item:last-child {
    border-bottom: none;
}

.item-title {
    margin: 0;
}

.item-meta {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.manuscript-stats-banner {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
}

.manuscript-stats-banner .stat-value {
    font-size: 1.75rem;
}


@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .stats {
        justify-content: center;
    }

    .profile-actions {
        margin-top: 1.5rem;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

}
